# Unable to compile FAST in Intel Fortran Compiler

**URL:** <https://forums.nlr.gov/t/unable-to-compile-fast-in-intel-fortran-compiler/1079>\
**Category:** Computer-Aided Engineering Software Tools\
**Created:** [February 24, 2015, 7:32pm UTC](https://forums.nlr.gov/t/unable-to-compile-fast-in-intel-fortran-compiler/1079 "2015-02-24T19:32:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tuhin.Roy](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@Tuhin.Roy](https://forums.nlr.gov/u/Tuhin.Roy)\
**Post date:** [February 24, 2015, 7:32pm UTC](https://forums.nlr.gov/t/unable-to-compile-fast-in-intel-fortran-compiler/1079/1 "2015-02-24T19:32:01Z")

</div>

Hello all,

I have the intel fortran compiler 10.1.024 & I want to compile the FAST using that compiler. I am getting error messages & I attached the screen shot herewith.

Thanks in advance

-Tuhin

 ![Error_Intel_Fortran_Compiler.png](https://europe1.discourse-cdn.com/nrel/original/1X/6c93e58e961f597c076c02f744987fba3934aca6.png)

---

<div class="post-metadata">

**Author:** ![Bonnie.Jonkman](https://dub1.discourse-cdn.com/nrel/user_avatar/forums.nlr.gov/bonnie.jonkman/32/3230_2.png) [@Bonnie.Jonkman](https://forums.nlr.gov/u/Bonnie.Jonkman)\
**Post date:** [February 25, 2015, 4:40pm UTC](https://forums.nlr.gov/t/unable-to-compile-fast-in-intel-fortran-compiler/1079/2 "2015-02-25T16:40:54Z")

</div>

When posting error messages from the compiler, please post the first error message(s). The ones at the end are usually just a result of the first file not compiling, so they don’t provide too much useful information.

That said, I’m guessing the first error comes in SysIVF.f90 and says something about the gamma function. You’re using a fairly old version of the Intel compiler, and it doesn’t support the f08 gamma() function. If you can’t use a newer compiler, you’ll have to replace the calls to gamma() in NWTC\_gammaR4(), NWTC\_gammaR8(), and NWTC\_gammaR16() in SysIVF.f90 with something else. If you aren’t going to use HydroDyn’s multi-directional waves or the IceDyn module, you could just return 1.0 so it compiles. Otherwise, you’ll have to come up with a gamma() function.

---

<div class="post-metadata">

**Author:** ![Tuhin.Roy](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@Tuhin.Roy](https://forums.nlr.gov/u/Tuhin.Roy)\
**Post date:** [February 26, 2015, 11:27am UTC](https://forums.nlr.gov/t/unable-to-compile-fast-in-intel-fortran-compiler/1079/3 "2015-02-26T11:27:17Z")

</div>

Bonnie,

Thanks a lot. The Intel Fortran compiler that I had was the 2008 version, so it was not supporting the Gamma() call. But FAST is working perfectly well in 2010 version compiler. Thanks once again for such a useful comments.

Regards,  
Tuhin.

---

<div class="post-metadata">

**Author:** ![Yao.Tian](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yao.Tian](https://forums.nlr.gov/u/Yao.Tian)\
**Post date:** [June 26, 2023, 4:14am UTC](https://forums.nlr.gov/t/unable-to-compile-fast-in-intel-fortran-compiler/1079/4 "2023-06-26T04:14:57Z")

</div>

Dear everyone,

When I compiled OPENFAST (version 3.5.0) with visual studio 2019, I was prompted that the path to FAST\_SUBS might not be correct, but I’m sure it exists. I searched for the relevant information, but could not find the answer, how to solve this?

Any reply will be appreciated

 ![微信图片_20230626121437](https://europe1.discourse-cdn.com/nrel/original/2X/0/075bd05990000327d890294aa974c584a54826c0.png)

---

<div class="post-metadata">

**Author:** ![Jason.Jonkman](https://dub1.discourse-cdn.com/nrel/user_avatar/forums.nlr.gov/jason.jonkman/32/3086_2.png) [@Jason.Jonkman](https://forums.nlr.gov/u/Jason.Jonkman)\
**Post date:** [June 26, 2023, 5:20pm UTC](https://forums.nlr.gov/t/unable-to-compile-fast-in-intel-fortran-compiler/1079/5 "2023-06-26T17:20:17Z")

</div>

Dear @Yao.Tian,

A couple comments:

- When receiving compiling errors in Visual Studio, I would suggest looking at the Output window rather than the error list. Usually the first error reported in the Output window is the most informative.
- I would suggest posting OpenFAST compiling-related questions on the OpenFAST github site: [Issues · OpenFAST/openfast · GitHub](https://github.com/OpenFAST/openfast/issues), where it is likely to receive more attention from the OpenFAST development team. This forum is better suited for OpenFAST usage-related questions

Best regards,

---

<div class="post-metadata">

**Author:** ![Yao.Tian](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yao.Tian](https://forums.nlr.gov/u/Yao.Tian)\
**Post date:** [June 27, 2023, 2:49am UTC](https://forums.nlr.gov/t/unable-to-compile-fast-in-intel-fortran-compiler/1079/6 "2023-06-27T02:49:37Z")

</div>

Dear @Jason.Jonkman

Thank you very much for your suggestions. I will try to solve my problem.

Best regards.
