Problems encountered while installing ROMS

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
yxli
Posts: 10
Joined: Mon Mar 13, 2023 3:38 pm
Location: lanzhou university

Problems encountered while installing ROMS

#1 Unread post by yxli »

When I run ./build_roms.sh, I get the 'romsS' file instead of 'romsM'. What's the difference between the two? Does it make a difference to the results?

User avatar
wilkin
Posts: 875
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Problems encountered while installing ROMS

#2 Unread post by wilkin »

romsS is a S for "serial" meaning you intend to run on a single processor.

romsM is a M for "multiple" or "MPI" meaning you will run on multiple cores by setting nNtileI and NtileJ in roms.in greater than 1. Their product is the number of concurrent (parallel) cores to run on with MPI.

Whether or not you compile for mulitple cores is controlled in build_roms.sh script

Code: Select all

# Other user defined environmental variables. See the ROMS makefile for
# details on other options the user might want to set here. Be sure to
# leave the switches meant to be off set to an empty string or commented
# out. Any string value (including off) will evaluate to TRUE in
# conditional if-statements.

 export           USE_MPI=on            # distributed-memory parallelism
 export        USE_MPIF90=on            # compile with mpif90 script
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Post Reply