compile error

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
redhat007

compile error

#1 Unread post by redhat007 »

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

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: compile error

#2 Unread post by jcwarner »

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.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: compile error

#3 Unread post by kate »

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.

Post Reply