FAST in a 64-bit computer

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Ana.Carrillo
Posts: 16
Joined: Thu Jan 13, 2011 2:53 am
Organization: self
Location: Spain

FAST in a 64-bit computer

Postby Ana.Carrillo » Mon Jan 24, 2011 4:21 am

Would it be possible to use FAST in a 64-bit computer?

Stefano.Cottafavi
Posts: 46
Joined: Wed Jul 09, 2008 2:26 pm
Organization: Ampyx Power
Location: NL
Location: The Hague, NL
Contact:

Re: FAST in a 64-bit computer

Postby Stefano.Cottafavi » Mon Jan 24, 2011 4:49 am

Hi,
do you mean 64bit OS ?
A very fast answer is yes. Then depends on what you mean with with "use FAST"...

Cheers,
Stefano
Stefano Cottafavi
Project Engineer Mechatronics

Ampyx Power
The Hague, NL

Marshall.Buhl
Posts: 437
Joined: Fri Oct 21, 2005 10:22 am
Organization: NREL/NWTC
Location: Boulder, CO
Location: Boulder, CO
Contact:

Re: FAST in a 64-bit computer

Postby Marshall.Buhl » Mon Jan 24, 2011 9:52 am

You can run 32-bit FAST on a 64-bit computer running a 64-bit OS. There is no reason to compile a 64-bit version of FAST--it doesn't use much memory. Certainly no more than the 2 GB allowed on 32-bit Windows.
Mr. Marshall L. Buhl Jr.
NWTC-3811
National Renewable Energy Laboratory
Golden, CO 80401 USA
Marshall.Buhl@nrel.gov
Voice: +1 (303) 384-6914
Cell: +1 (303) 915-6623
Fax: +1 (303) 384-7079

Ana.Carrillo
Posts: 16
Joined: Thu Jan 13, 2011 2:53 am
Organization: self
Location: Spain

Re: FAST in a 64-bit computer

Postby Ana.Carrillo » Wed Jan 26, 2011 4:01 am

Thanks for your answers,
I've got a 64-bit computer running a 64-bit OS, but works with Windows 7; is there any problem?

Marshall.Buhl
Posts: 437
Joined: Fri Oct 21, 2005 10:22 am
Organization: NREL/NWTC
Location: Boulder, CO
Location: Boulder, CO
Contact:

Re: FAST in a 64-bit computer

Postby Marshall.Buhl » Wed Jan 26, 2011 10:09 am

No problem whatsoever.
Mr. Marshall L. Buhl Jr.
NWTC-3811
National Renewable Energy Laboratory
Golden, CO 80401 USA
Marshall.Buhl@nrel.gov
Voice: +1 (303) 384-6914
Cell: +1 (303) 915-6623
Fax: +1 (303) 384-7079

Tasos.Pouliezos
Posts: 5
Joined: Sun May 08, 2011 12:29 am
Organization: Technical University of Crete
Location: Greece

Re: FAST in a 64-bit computer

Postby Tasos.Pouliezos » Mon May 09, 2011 10:31 am

Hi all. I am new to this forum so please forgive any errors.
I recently succeeded in building a FAST_Sfunc.mexw64 file in 64 bit Windows 7 OS running 64 bit MATLAB R2009a wind Visual Studio 2005 and Intel Parallel Studio XE 2011 Fortran.
The code compiled with no errors (after a week of trying) but produces a fatal internal (possibly segmentation) error when run. Have tried various remedies posted in Mathwork's site but with no success.
Any ideas or similar experiences?
I think this is quite useful, since 64 bit systems are spreading.

P.S. The system does not allow me to upload the file or relevant ".m" files. I could upload with different extension if needed.
Prof. A. Pouliezos
Director, Industrial Control Systems Lab.
Dept. of Production @ Management Engr.
Technical University of Crete
Greece

Ana.Carrillo
Posts: 16
Joined: Thu Jan 13, 2011 2:53 am
Organization: self
Location: Spain

Re: FAST in a 64-bit computer

Postby Ana.Carrillo » Mon May 16, 2011 8:06 am

Good afternoon,
I,m working with FAST and the controllers are introduced by Simulink. When I run my .mdl model a error occurs:

S-Function 'FAST_SFunc' does not exist

The S-Function 'FAST_SFunc' comes from the OpenLoop.mdl model which you get it by downloading the FAST code in NREL Web.
Does anybody know what that means? How I can solve it?

Thank you

Jason.Jonkman
Posts: 4952
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST in a 64-bit computer

Postby Jason.Jonkman » Mon May 16, 2011 10:22 am

Dear Ana,

Have you added the folder where the file FAST_SFunc.mexw32 is stored to the MATLAB path? As explained in the FAST User's Guide, you can do this by choosing "Set Path..." from the File menu, clicking "Add Folder...", selecting the folder, and pressing Save and Close.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Tasos.Pouliezos
Posts: 5
Joined: Sun May 08, 2011 12:29 am
Organization: Technical University of Crete
Location: Greece

Re: FAST in a 64-bit computer

Postby Tasos.Pouliezos » Mon May 16, 2011 11:18 am

If you are working in a 64 bit environment (both OS AND Matlab) Matlab is looking for a mexw64 file. So even if the 32 bit version is there MATLAB needs the 64 bit one.
Prof. A. Pouliezos
Director, Industrial Control Systems Lab.
Dept. of Production @ Management Engr.
Technical University of Crete
Greece

Ana.Carrillo
Posts: 16
Joined: Thu Jan 13, 2011 2:53 am
Organization: self
Location: Spain

Re: FAST in a 64-bit computer

Postby Ana.Carrillo » Tue May 17, 2011 1:52 am

Hi Jason, Tasos

Thanks for answering so quicly.
I tried to add the folder where the file FAST_SFunc.mexw32 is stored to the MATLAB path two months ago. I got the following error message:

"Matlab cannot save changes to the path.
The path file, pathdef.m, might be read-only or might be in a directory for which you do not have write access.
You can save pathdef.m to a different location.
In order for Matlab to use that pathdef.m in future sessions, you need to save it in your MATLAB startup directory (the directory from which you start MATLAB)"

I did it, but I got the same error message again. Hence, I think (I'm working in a 64 bit environment) that MATLAB needs a 64 bit version of FAST_SFunc.mexw32 as Tasos said.
And now, the question is: how I can get this version?

Best regards

Tasos.Pouliezos
Posts: 5
Joined: Sun May 08, 2011 12:29 am
Organization: Technical University of Crete
Location: Greece

Re: FAST in a 64-bit computer

Postby Tasos.Pouliezos » Tue May 17, 2011 4:37 am

OK.
The quick answer is there isn't a working mexw64. If you read my previous post, you'll see that I'm stuck.
The quick solution is to install the 32 bit version of MATLAB (keeping the 64 bit OS) and you should be allright until a mexw64 is produced.
Prof. A. Pouliezos
Director, Industrial Control Systems Lab.
Dept. of Production @ Management Engr.
Technical University of Crete
Greece

Ana.Carrillo
Posts: 16
Joined: Thu Jan 13, 2011 2:53 am
Organization: self
Location: Spain

Re: FAST in a 64-bit computer

Postby Ana.Carrillo » Tue May 17, 2011 6:09 am

Thanks Tasos, I'll try it.

I have found in this forum a topic related to the FAST_SFunc.mexw32 working in a 64 bit computer and a 64 bit OS.
Maybe the link can help you. I haven't had time for a paused reading yet.

viewtopic.php?t=227

Best regards

Tasos.Pouliezos
Posts: 5
Joined: Sun May 08, 2011 12:29 am
Organization: Technical University of Crete
Location: Greece

Re: FAST in a 64-bit computer

Postby Tasos.Pouliezos » Tue May 17, 2011 6:35 am

I have seen this post. There is nothing useful regarding mexw64 there unfortunately.
Prof. A. Pouliezos
Director, Industrial Control Systems Lab.
Dept. of Production @ Management Engr.
Technical University of Crete
Greece

Jason.Jonkman
Posts: 4952
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST in a 64-bit computer

Postby Jason.Jonkman » Tue May 17, 2011 9:55 am

Dear Ana and Tasos,

Just to clarify, you can install a 32-bit version of MATLAB on a 64-bit machine and still use the *.mexw32 file. If you've installed a 64-bit version of MATLAB, then you'll have to recompile the S-Function in 64 bit to create a *.mexw64 file. While I know several people who have successfully done this, I don't have experience myself. I suggest you start with the files in the "Simulink\Source" folder of the FAST archive.

I hope that helps.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Tasos.Pouliezos
Posts: 5
Joined: Sun May 08, 2011 12:29 am
Organization: Technical University of Crete
Location: Greece

Re: FAST in a 64-bit computer

Postby Tasos.Pouliezos » Tue May 17, 2011 10:30 am

As I said, I have succesfully compiled a mexw64 file but does not run. Do you know of a version that runs?
Prof. A. Pouliezos
Director, Industrial Control Systems Lab.
Dept. of Production @ Management Engr.
Technical University of Crete
Greece


Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: Google [Bot] and 1 guest