Obtaining and compiling ROMS

Obtaining and compiling ROMS#

Obtaining ROMS#

Begin by cloning this repository to a suitable location with

git clone https://github.com/CWorthy-ocean/ucla-roms.git

You will need to set the ROMS_ROOT environment variable to the location of your clone:

cd ucla-roms
export ROMS_ROOT=$(pwd)

As with any environment variables described on the previous page, ROMS_ROOT needs to be set every time you wish to use ROMS, and it may be convenient to set its value in a location such as a shell startup file (e.g. ~/.bashrc)

Compiling internal dependencies#

The ROMS repository includes an additional directory of tools that should be compiled the first time ROMS is installed:

cd $ROMS_ROOT/Tools-Roms/
make

More on these tools later.