Intel fortran compiler for cmake

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

Moderators: Bonnie.Jonkman, Jason.Jonkman

Posts: 1
Joined: Fri Nov 09, 2018 2:21 pm
Organization: The Pennsylvania State University
Location: US - Pennsylvania

Intel fortran compiler for cmake

Postby Auriane.Bottai » Fri Nov 09, 2018 4:15 pm

Dear Dr. Jonkman,

I'm a student at Pennstate, and I don't have much experience with cmake, I'll try my best to explain the issue I'm running into.
I have been trying to compile OpenFAST on the cluster of my department (Linux RedHat). All the libraries and compilers meet the requirements for compiling OpenFAST except gfortran but the cluster has a newer version of ifortran, (v12 and v18 actually).
First, we (the system Administrator of my department is helping me to set up the software) found out that the cmake could not find the intel fortran compiler because it was not in usr/bin/ so we forced it to search at the right location using:

cmake -DCMAKE_Fortran_COMPILER=/usr/local/intel/fc/18/compilers_and_libraries_2018.3.222/linux/bin/intel64/ifort ../

or more simply:

cmake -DCMAKE_Fortran_COMPILER=ifort ../

this worked fine except the cmake does not read the version of the compiler: the log file indicates that the variable which should contain the version of the fortran compiler is empty.
How and where is the version of the compiler read in the cmake ?

Thank you in advance for your time.

Best regards,

Auriane Bottai

Posts: 4750
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO

Re: Intel fortran compiler for cmake

Postby Jason.Jonkman » Fri Nov 09, 2018 4:42 pm

Dear Auriane,

I'm only really familiar with Building OpenFAST on Windows with Visual Studio.

For specific questions on using CMake to install and build OpenFAST on Linux, I suggest posting your question on the OpenFAST issues page, where the OpenFAST development community can support you: Not everyone in the OpenFAST development community checks this forum regularly.

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

Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest