Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Sun Sep 15, 2019 2:34 pm




Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Author Message
 Post subject: Compiling ROMS error
PostPosted: Tue Sep 11, 2018 12:58 pm 
Offline

Joined: Wed Aug 01, 2018 4:04 pm
Posts: 5
Location: University of Ghana
I have been able to compile the upwelling test case and i had an executable called oceanM
But when i try to run it on a single processor i get the following error. And im also wondering why i am not getting the oceanS executable file.
Here is the error message i got

Model Input Parameters: ROMS/TOMS version 3.7
Tuesday - September 11, 2018 - 12:39:05 PM
--------------------------------------------------------------------------------

INP_PAR - Unable to open ROMS/TOMS input script file.
In distributed-memory applications, the input
script file is processed in parallel. The Unix
routine GETARG is used to get script file name.
For example, in MPI applications make sure that
command line is something like:

mpirun -np 4 ocean ocean.in

and not

mpirun -np 4 ocean < ocean.in

Found Error: 02 Line: 111 Source: ROMS/Drivers/nl_ocean.h

Elapsed CPU time (seconds):


Analytical header files used:

Found Error: 02 Line: 350 Source: ROMS/Utility/close_io.F

ROMS/TOMS - Input error ............. exit_flag: 2


ERROR: Abnormal termination: NetCDF INPUT.
REASON: No error


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling ROMS error
PostPosted: Tue Sep 11, 2018 1:04 pm 
Offline

Joined: Wed Dec 31, 2003 6:16 pm
Posts: 792
Location: USGS, USA
if you set
export USE_MPI=on # distributed-memory parallelism
export USE_MPIF90= # compile with mpif90 script
export USE_OpenMP= # shared-memory parallelism
or
export USE_MPI=on # distributed-memory parallelism
export USE_MPIF90=on # compile with mpif90 script
export USE_OpenMP= # shared-memory parallelism
then you will get an oceanM


this will give you an oceanO
export USE_MPI= # distributed-memory parallelism
export USE_MPIF90= # compile with mpif90 script
export USE_OpenMP=on # shared-memory parallelism


if you do this:
export USE_MPI= # distributed-memory parallelism
export USE_MPIF90= # compile with mpif90 script
export USE_OpenMP= # shared-memory parallelism
you will get an oceanS.


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling ROMS error
PostPosted: Thu Sep 13, 2018 11:01 am 
Offline

Joined: Wed Aug 01, 2018 4:04 pm
Posts: 5
Location: University of Ghana
Thank you very much. Problem solved


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group