I was found the problem about the compiler in ROMS.
I was trying to compile ROMS on my Linux computer. At first I used compiler (gfortran) and it had an error message " This module file was not generated by any release of this compiler".
I will show you about my code to compiler:
Code: Select all
ROMS/Bin/cpp_clean /home/roms/main/roms/projects/gulfthailand/Build/esmf_roms.f90
cd /home/roms/main/roms/projects/gulfthailand/Build; /home/roms/main/mpich2/mpich2-install/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/usr/local/mct/include esmf_roms.f90
cd /home/roms/main/roms/projects/gulfthailand/Build; /home/roms/main/mpich2/mpich2-install/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/usr/local/mct/include master.f90
/home/roms/main/mpich2/mpich2-install/bin/mpif90 -frepack-arrays -O3 -ffast-math -I/usr/local/mct/include /home/roms/main/roms/projects/gulfthailand/Build/roms_import.o /home/roms/main/roms/projects/gulfthailand/Build/propagator.o /home/roms/main/roms/projects/gulfthailand/Build/master.o /home/roms/main/roms/projects/gulfthailand/Build/roms_export.o /home/roms/main/roms/projects/gulfthailand/Build/ocean_coupler.o /home/roms/main/roms/projects/gulfthailand/Build/esmf_roms.o /home/roms/main/roms/projects/gulfthailand/Build/ocean_control.o -o /home/roms/main/roms/projects/gulfthailand/oceanM /home/roms/main/roms/projects/gulfthailand/Build/libUTIL.a /home/roms/main/roms/projects/gulfthailand/Build/libNLM.a /home/roms/main/roms/projects/gulfthailand/Build/libNLM_bio.a /home/roms/main/roms/projects/gulfthailand/Build/libNLM_sed.a /home/roms/main/roms/projects/gulfthailand/Build/libANA.a /home/roms/main/roms/projects/gulfthailand/Build/libUTIL.a /home/roms/main/roms/projects/gulfthailand/Build/libMODS.a -L/usr/local/bin/netcdf.v4.1.3/lib -lnetcdff -lnetcdf -L/usr/local/mct/lib -lmct -lmpeu
/usr/bin/ld: cannot find -lmct
/usr/bin/ld: cannot find -lmpeu
collect2: error: ld returned 1 exit status
make: *** [/home/roms/main/roms/projects/gulfthailand/oceanM] Error 1