Hi,
I would like to report that FAST 7 compiles just fine on Mac with the GNU FORTRAN compiler (gfortran).
I’ve compiled FAST 7.02.00d with AeroDyn 13.00.02a, InflowWind 1.02.00c and NWTCLibrary 1.07.02a; in particular the last NWTCLibrary is the one that correctly handle line overwriting when messages are printed to screen.
I’ll be glad to share more details if needed.
Happy simulations
Ste
Thanks for the feedback, Stefano.
Hello Stefano,
Can you please help me with compiling s function on mac? I’m using FAST_v7.02.00d-bjj, NWTC_Lib_v2.05.02a-bjj,NWTC_Lib_v1.07.02a-mlb
and I’m trying to use the "make s function’ matlab code within fast with gfortran and matlab.
It generates precision.mod, syssubs.mod, but after i commented IFPORT in NWTC sysmatlab.f90, it doesn’t produce nwtc_library.mod and fails.
Can you please help me?
Thanks!
surya.
I assume you are using only NWTC Library v1.07.02 (not v2.05.02 as well).
What error message are you getting?
yes please, if you share more details I can try to compile it in my environment and see the outcome…
cheers,
stef
Thank Bonnie & Stefano for your replies. I’m sorry, I did not check the “Notify me when a reply is posted” so the delay. To answer Bonnie Jonkman’s question, yes I’m using only one version of NWTC library (1.07.02).
I must say, I have absolutely no idea of fortran coding. What I have tried to do is modify the makefile in the “build_structure” to point to MATLAB on mac.
The build_structure is obtained from kom.aau.dk/~anb/fast/fastinstall.html .
Then, I’ve commented “USE IFPORT” wherever it was pointed and now used the “make_FAST_SFUNC.m” . In this m file, I’ve commented the “%FortranOptionsFile = ‘intelf12msvs2010shellopts.bat’;” and tried to run.
It builds “precision.mod” and “subsys.mod” and fails with the following error:
Error using mex
/Users/teja/Documents/Source/build_structure/inflow/Source/HAWCWind.f90:13:12:
USE NWTC_Library
1
Fatal Error: Can’t open module file ‘nwtc_library.mod’ for reading at (1): No such file or directory
compilation terminated.
I’ve uploaded the make file and “make_FAST_SFUNC.m”. I might be doing something grossly wrong… Please bear with me. Thanks!
make_FAST_SFunc.txt (6.16 KB)
Makefile.txt (3.25 KB)