Compiling FASTv7.02

Hello everyone,
I want to compile the FASTv7.02 by the VS2008
I use the FASTv7.02,inflowindv1.02.00c,AD_v13.00.02a,NWTC_LIB_V1.07.00b,In the VS2008WTKNI%BKI~@K~08L$UNP46Q.jpg![HU]Z(0U97D]QF~K4U]DD5X.jpg|169x528
when I debug it have 32 errors ,for example


it also aborted with the Error: This name does not have a type, and must have an explicit type. [GETCWD]

I really don’t know how to compile the FAST ,the FASTCompilingInstructions introduce the FASTv7.01.

Hope everybody can help me !
Best Regard
Ruiliang.Wang

Hi, Ruilang.

  • You have too many of the Sys*.f90 files in the NWTC Library. You must pick one of those files for your project. For IVF projects, keep SysIVF.f90, but remove all the other Sys*.f90 files from your project (i.e., remove SysMatlab.f90, SysGnuLinux.f90, SysGunWin.f90, SysIFL.f90, SysIVF_Labview.f90).
  • You must have just one of the precision modules (DoubPrec.f90 or SingPrec.f90), so remove DoubPrec.f90 from your project, too.
  • You should not have a makefile as a file in your Visual Studio project.

Dear Bonnie,
Thank you for your replay in time.
I have done what you say. But when i run the FAST_Prog.f90,some errors happened about the file HydroCalc.f90,I think.For EXAMPLE:
1>------ 已启动生成: 项目: FAST, 配置: Debug Win32 ------
1>Compiling with Intel(R) Fortran Compiler 10.1.021 [IA-32]…
1>HydroCalc.f90
1>F:\DLL\FAST\Source\HydroCalc.f90(905) : Error: The type of the actual argument differs from the type of the dummy argument. [0.0]
1>F:\DLL\FAST\Source\HydroCalc.f90(2351) : Error: Error in opening the compiled module file. Check INCLUDE paths. [WAVES]
1>F:\DLL\FAST\Source\HydroCalc.f90(3468) : Error: Error in opening the compiled module file. Check INCLUDE paths. [WAVES]
1>F:\DLL\FAST\Source\HydroCalc.f90(2421) : Error: This name does not have a type, and must have an explicit type. [WAVETIME]
1>F:\DLL\FAST\Source\HydroCalc.f90(2421) : Error: A substring must be of type CHARACTER. [WAVETIME]
1>F:\DLL\FAST\Source\HydroCalc.f90(2421) : Error: This name does not have a type, and must have an explicit type. [NSTEPWAVE]
1>F:\DLL\FAST\Source\HydroCalc.f90(2421) : Error: There is no matching specific function for this generic function reference. [INTERPSTP]
1>F:\DLL\FAST\Source\HydroCalc.f90(2430) : Error: This name does not have a type, and must have an explicit type. [RHOXG]
1>F:\DLL\FAST\Source\HydroCalc.f90(2565) : Error: This name does not have a type, and must have an explicit type. [NWAVEKIN0]
1>F:\DLL\FAST\Source\HydroCalc.f90(2572) : Error: This name does not have a type, and must have an explicit type. [WAVEVELOCITY]
1>F:\DLL\FAST\Source\HydroCalc.f90(2579) : Error: This name does not have a type, and must have an explicit type. [WAVEKINZI0]
1>F:\DLL\FAST\Source\HydroCalc.f90(2605) : Error: This name does not have a type, and must have an explicit type. [WTRDENS]
1>F:\DLL\FAST\Source\HydroCalc.f90(2605) : Error: This name does not have a type, and must have an explicit type. [DZNODES]
1>F:\DLL\FAST\Source\HydroCalc.f90(2737) : Error: This name does not have a type, and must have an explicit type. [DIRROOT]
1>F:\DLL\FAST\Source\HydroCalc.f90(3594) : Error: This name does not have a type, and must have an explicit type. [WAVEELEV]
1>F:\DLL\FAST\Source\HydroCalc.f90(3594) : Error: An array-valued argument is required in this context. [ALLOCATED]
1>F:\DLL\FAST\Source\HydroCalc.f90(3740) : Error: This name does not have a type, and must have an explicit type. [PIOVR4]
1>F:\DLL\FAST\Source\HydroCalc.f90(3740) : Error: This name does not have a type, and must have an explicit type. [GRAVITY]
1>F:\DLL\FAST\Source\HydroCalc.f90(4593) : Error: This name does not have a type, and must have an explicit type. [WAVEMOD]
1>F:\DLL\FAST\Source\HydroCalc.f90(4593) : Error: In a CASE statement, the case-expr must be of type INTEGER, CHARACTER, or LOGICAL. [WAVEMOD]
1>F:\DLL\FAST\Source\HydroCalc.f90(4595) : Error: The case-value must be of the same type as the case-expr. [0]
1>F:\DLL\FAST\Source\HydroCalc.f90(4611) : Error: The case-value must be of the same type as the case-expr. [1]
1>F:\DLL\FAST\Source\HydroCalc.f90(4611) : Error: The case-value must be of the same type as the case-expr. [2]
1>F:\DLL\FAST\Source\HydroCalc.f90(4611) : Error: The case-value must be of the same type as the case-expr. [3]
1>F:\DLL\FAST\Source\HydroCalc.f90(4621) : Error: This name does not have a type, and must have an explicit type. [WAVEDIR]
1>F:\DLL\FAST\Source\HydroCalc.f90(4633) : Error: There is no matching specific function for this generic function reference. [INTERPSTP]
1>F:\DLL\FAST\Source\HydroCalc.f90(4641) : Error: This name does not have a type, and must have an explicit type. [NSTEPWAVE2]
1>F:\DLL\FAST\Source\HydroCalc.f90(4641) : Error: The highest data type rank permitted is INTEGER(KIND=8). [NSTEPWAVE2]
1>F:\DLL\FAST\Source\HydroCalc.f90(4661) : Error: This name does not have a type, and must have an explicit type. [WAVEDOMEGA]
1>F:\DLL\FAST\Source\HydroCalc.f90(4668) : Error: This name does not have a type, and must have an explicit type. [WAVEELEVC0]
1>(4865) : Severe: Too many errors, exiting
1>compilation aborted for F:\DLL\FAST\Source\HydroCalc.f90 (code 1)

I think the file HydroCalc.f90 have some errors.
I don’t know how to do with it

BEST REGARD

Ruiliang.Wang

Hello,everyone

I have succeed compiling the FAST7.02. the errors above is missing when I follow what you say.
Thank you very much!

yours

Ruiliang.Wang