hi dear all
by compiling with ./coaswt command i faced with following error:
cd /opt/user/COAWST_795/project/ROMS_only/test6/Build; /opt/gfortransoft/mpich2_share/bin/mpif90 -c -frepack-arrays -g -fbounds-check bc_2d.f90
bc_2d.f90:127.21:
USE mod_scalars
1
Fatal Error: Can't open module file 'mod_scalars.mod' for reading at (1): No such file or directory
make: *** [/opt/user/COAWST_795/project/ROMS_only/test6/Build/bc_2d.o] Error 1
many thanks for any reply
cheers
compile error
Re: compile error
well, this is difficult to answer with the limited amount of information provided. Can you try to compilie one of the default standard test case that are distributed in the Projects folder? If you are just compiling a roms application, it should be the same as any other roms application.
Re: compile error
Check your Build directory. Does it have a MakeDepend? Is there anything in it? It tells ROMS what order to compile things, which seems to be broken.