Installing FAST 8 in Linux

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

Moderators: Bonnie.Jonkman, Jason.Jonkman

Mostafa.Haggag
Posts: 34
Joined: Tue Jun 26, 2018 7:50 am
Organization: self
Location: Egypt

Installing FAST 8 in Linux

Postby Mostafa.Haggag » Tue Jun 26, 2018 9:27 am

Hello everybody,
I hope everyone is doing well.
I am pretty new to FAST and I am trying to installing it on Ubuntu. I am having some problems. I have read the pdf called:"compiling FAST v8.15.00a-bjj" and I was following the steps that wore mentioned. I downloaded the FAST and the map ++ package from the FAST website. i have opened the map ++ folder and searched for the makefile in the src folder as instructed exactly. The problem was that in the terminal when I was trying to run the makefile by entering the command "make" in the terminal, i keep getting this error

Code: Select all

DOwnloads/map++/src$ make
fatal: bad revision 'HEAD'
gcc -m64 -g -shared -llapacke -o libmap-1.20.10.so  lmder.o dpmpar.o lmpar.o qrsolv.o enorm.o enorm_u.o qrfac.o simplest.o bstrlib.o bstraux.o freedata.o mapinit.o maperror.o lineroutines.o numeric.o outputstream.o mapapi.o lmroutines.o jacobian.o residual.o  -lm -llapacke

If you have any guide on how to install FAST in ubunutu , i would be very thankful for your help
i could not identify the exact problem. I have been googling for some time and I was not able to find the problem, so I returned to the experts forums so that i might find some solution for my problem
thank you very much
haggag

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

Re: Installing FAST 8 in Linux

Postby Jason.Jonkman » Tue Jun 26, 2018 10:05 am

Dear Mostafa,

Is there a reason you are using FAST v8.15 rather than the newest version of FAST--OpenFAST v1.0.0? OpenFAST provides better documentation and compiling scripts for Linux than earlier versions of FAST.

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

Mostafa.Haggag
Posts: 34
Joined: Tue Jun 26, 2018 7:50 am
Organization: self
Location: Egypt

Re: Installing FAST 8 in Linux

Postby Mostafa.Haggag » Tue Jun 26, 2018 10:12 am

Dear Jason,
I want to use the 5 MW NREL turbine. I have no reason why I choose fast 8 expect that my supervisor did not what exactly the difference between fast8 and open fast so he prefered that i stick with fast 8.
do you have any idea how can i fix this error ? I have been trying the whole day to fix it but it is not working.
i hope things get better soon
thank you so much

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

Re: Installing FAST 8 in Linux

Postby Jason.Jonkman » Tue Jun 26, 2018 12:06 pm

Dear Mostafa,

In general, OpenFAST was established with FAST v8 as its starting point. All future FAST development is happening within OpenFAST. The main differences are summarized here: https://nwtc.nrel.gov/OpenFAST. In general, I would recommend upgrading to OpenFAST unless you have a specific reason to use an older version.

I have no experience with the makefile or with compiling on Linux, so, I can't answer your question. (Perhaps someone else on this forum can help?) But again, switching to OpenFAST and using the documentation and compiling scripts provided should help.

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

Jerome.Feldhaus
Posts: 1
Joined: Mon Mar 04, 2019 2:18 am
Organization: WindGuard Certification GmbH
Location: Germany

Re: Installing FAST 8 in Linux

Postby Jerome.Feldhaus » Fri Mar 08, 2019 6:33 am

Hello!

I saw that some people had same problem as me compiling Fast v8 on Ubuntu (16.04 x64). I got it working now and wanted to share it in case somebody else has similar problems.
I had three problems which in my case could be solved as follows:

1.) Compiling Map++:
Problem:
fatal: Not a git repository (or any of the parent directories): .git
Solution:
Just ignore it or remove all parts regarding Git from makefile:
    -DGITVERSION=\"$(GIT_VERSION)\"
    GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always)

2.) Compiling Fast:
Problem:
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
Solution:
According to answer from Heartinpiece in https://askubuntu.com/questions/251978/ ... -directory
I added this to the end of the ~/.bashrc :
    LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/lib32:$LIBRARY_PATH
    export LIBRARY_PATH


3.) Compiling Fast:
Problem:
../bin/libmap-1.20.10.so: error adding symbols: Wrong file format
collect2: error: ld returned 1 exit status
makefile:739: die Regel für Ziel „../bin/FAST_glin32“ failed
make: *** [../bin/FAST_glin32] Error 1
Solution:
Comment line 15 and uncomment line 16:
    # 32-bit or 64-bit?
    #BITS = 32
    BITS = 64

The third problem may also appear when compiling the controller.

Best regards,
Jerome


Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest