Hello,
right. I did some searching on the forum and discovered this post [url]Problem compiling FAST with gfortran on Windows - #2 by Bonnie.Jonkman].
I changed
“CHARACTER(LEN(InputFile)) :: Arg”
for
“CHARACTER(1024) :: Arg”.
In the “NWTC_IO.f90” file in the NWTC library folder.
This took me further into the compile and I now get this output: -
C:\FAST\Compiling>mingw32-make
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/NWTC_library_V1/Source/SingPrec.f90 -o Obj_win32/
SingPrec.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/NWTC_library_V1/Source/SysGnuWin.f90 -o Obj_win32
/SysGnuWin.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/NWTC_library_V1/Source/NWTC_IO.f90 -o Obj_win32/N
WTC_IO.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/NWTC_library_V1/Source/NWTC_Num.f90 -o Obj_win32/
NWTC_Num.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/NWTC_library_V1/Source/ModMesh.f90 -o Obj_win32/M
odMesh.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/NWTC_library_V1/Source/NWTC_Aero.f90 -o Obj_win32
/NWTC_Aero.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/NWTC_library_V1/Source/NWTC_Library.f90 -o Obj_wi
n32/NWTC_Library.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/dependencies/InflowWind/SharedInflowDefs.f90 -o Obj_win32/SharedInflowDef
s.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/dependencies/InflowWind/HHWind.f90 -o Obj_win32/HHWind.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/dependencies/InflowWind/FFWind.f90 -o Obj_win32/FFWind.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/dependencies/InflowWind/HAWCWind.f90 -o Obj_win32/HAWCWind.obj -J Obj_win
32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/dependencies/InflowWind/FDWind.f90 -o Obj_win32/FDWind.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/dependencies/InflowWind/CTWind.f90 -o Obj_win32/CTWind.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/dependencies/InflowWind/UserWind.f90 -o Obj_win32/UserWind.obj -J Obj_win
32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/dependencies/InflowWind/InflowWindMod.f90 -o Obj_win32/InflowWindMod.obj
-J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/AD_archive_compiling/Source/SharedTypes.f90 -o Ob
j_win32/SharedTypes.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/AD_archive_compiling/Source/AeroMods.f90 -o Obj_w
in32/AeroMods.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/AD_archive_compiling/Source/GenSubs.f90 -o Obj_wi
n32/GenSubs.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/AD_archive_compiling/Source/AeroSubs.f90 -o Obj_w
in32/AeroSubs.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/Users/Phillip.harris/Downloads/FAST/AD_archive_compiling/Source/AeroDyn.f90 -o Obj_wi
n32/AeroDyn.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/FFTMod.f90 -o Obj_win32/FFTMod.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/HydroCalc.f90 -o Obj_win32/HydroCalc.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I Obj_win32 -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-le
ngth-none -c C:/FAST/Source/fftpack.f -o Obj_win32/fftpack.obj -J Obj_win32
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/FAST_Mods.f90 -o Obj_win32/FAST_Mods.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/Noise.f90 -o Obj_win32/Noise.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/FAST_IO.f90 -o Obj_win32/FAST_IO.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/FAST.f90 -o Obj_win32/FAST.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/FAST_Lin.f90 -o Obj_win32/FAST_Lin.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/FAST2ADAMS.f90 -o Obj_win32/FAST2ADAMS.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/PitchCntrl_ACH.f90 -o Obj_win32/PitchCntrl_ACH.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/UserSubs.f90 -o Obj_win32/UserSubs.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/UserVSCont_KP.f90 -o Obj_win32/UserVSCont_KP.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/AeroCalc.f90 -o Obj_win32/AeroCalc.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/SetVersion.f90 -o Obj_win32/SetVersion.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -I -O2 -m32 -fbacktrace -finit-local-zero -fno-automatic -ffree-line-length-none
-c C:/FAST/Source/FAST_Prog.f90 -o Obj_win32/FAST_Prog.obj -J Obj_win32
Warning: Nonexistent include directory “-O2”
gfortran -O2 -m32 -fbacktrace -I Obj_win32 -o ./FAST_gwin32.exe
Obj_win32/SingPrec.obj Obj_win32/SysGnuWin.obj Obj_win32/NWTC_IO.obj Obj_win32/NWTC_Num
.obj Obj_win32/ModMesh.obj Obj_win32/NWTC_Aero.obj Obj_win32/NWTC_Library.obj Obj_win32
/SharedInflowDefs.obj Obj_win32/HHWind.obj Obj_win32/FFWind.obj Obj_win32/HAWCWind.obj
Obj_win32/FDWind.obj Obj_win32/CTWind.obj Obj_win32/UserWind.obj Obj_win32/InflowWindMod
.obj Obj_win32/SharedTypes.obj Obj_win32/AeroMods.obj Obj_win32/GenSubs.obj Obj_win32/A
eroSubs.obj Obj_win32/AeroDyn.obj Obj_win32/FFTMod.obj Obj_win32/HydroCalc.obj Obj_win3
2/fftpack.obj Obj_win32/FAST_Mods.obj Obj_win32/Noise.obj Obj_win32/FAST_IO.obj Obj_win
32/FAST.obj Obj_win32/FAST_Lin.obj Obj_win32/FAST2ADAMS.obj Obj_win32/PitchCntrl_ACH.obj
Obj_win32/UserSubs.obj Obj_win32/UserVSCont_KP.obj Obj_win32/AeroCalc.obj Obj_win32/Se
tVersion.obj Obj_win32/FAST_Prog.obj
I believe that the ‘-02’ fault is something I may need to talk to the mingw creators about.
However as I understand it the compile has created new files. However I cannot see these new files. When viewing the files in windows explorer the ‘last modified’ data is the same as it was. Is this correct?
I don’t think I have a complete grasp of how this compile has worked.
Any explanation offered would be greatly received.
Phillip