Downloaded the new CSTM trunk, and tried to build it on Cygwin with ifort. The first problem I encountered looked like:
The space in the compiler path name was screwing things up,...
mod_strings.f90(85) : Error: This name does not have a type, and must have an explicit type. [IA32]
character (len=80) :: my_fc = ""/cygdrive/c/Program Files/Intel/Compiler/Fortran/10.1.014/Ia32/Bin/ifort""
...
which I fixed by commenting out line 130 in /Compilers/Cygwin-ifort.mk
Since "which ifort" points to the correct binary, I dont think this is needed. (This would probably be better done by either specifying the path in the .bashrc file or using the cygpath utility).# FC := "$(shell which ${FC})"
Anyway, another apparent path problem has me stumped:
and so on. I think this is all happening in ./Build, so shouldn't the paths be ./esmf_roms.o ? I can't figure out where this is being specified, or if it is my fault.ifort /align /G7 /MD /Ox Build/esmf_roms.o Build/master.o Build/ocean_control.o Build/ocean_coupler.o Bu
ild/propagator.o Build/roms_export.o Build/roms_import.o -o oceanS.exe Build/libNLM.a Build/libANA.a Bu
ild/libUTIL.a Build/libMODS.a "$(cygpath --windows /usr/local/lib/libnetcdf.a)" "c:\cygwin\lib\gcc\i686-
pc-mingw32\3.4.4\libgcc.a" /link /stack:67108864
Intel(R) Visual Fortran Compiler for applications running on IA-32, Version 10.1 Build 20080112 Packa
ge ID: w_fc_p_10.1.014
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
ifort: command line warning #10161: unrecognized source type 'Build/esmf_roms.o'; object file assumed
ifort: command line warning #10161: unrecognized source type 'Build/master.o'; object file assumed
...
I also have problems with build.bash, but that is the subject of a different rant.
[/rant]