In your .bashrc or .tcshrc or other rc file add a line:
module use -a /discover/swdev/gmao_SIteam/modulefiles-SLES15
module use -a /nobackup/gmao_SIteam/modulefiles
On the GMAO desktops, the SI Team modulefiles should automatically be
part of running module avail but if not, they are in:
module use -a /ford1/share/gmao_SIteam/modulefiles
On the PRISM GPU system
ml use -a /home/mathomp4/modulefiles
ml mepo
Also do this in any interactive window you have. This allows you to get module files needed to correctly checkout and build the model.
Now load the GEOSenv module:
module load GEOSenv
which obtains the latest git, CMake, etc. modules needed to build.
mepo clone git@github.com:GEOS-ESM/GEOSAQcGAN.git
If you notice your clone is taking a while, we recommend running:
mepo config set clone.partial blobless
This is a one-time command that tells mepo to use blobless clones for all future clones. Blobless clones are much faster than the default clone method, especially for repositories with a large history like MAPL.
Skip this and see instructions below
On tcsh:
source env@/g5_modules
or on bash:
source env@/g5_modules.sh
CMake generates the Makefiles needed to build the model.
./cmake_it
This will install to a directory parallel to your build directory. If you prefer to install elsewhere change the install path in cmake_it to:
-DCMAKE_INSTALL_PREFIX=<path>
and CMake will install there.
To build with debugging flags add:
-DCMAKE_BUILD_TYPE=Debug
to the cmake line.
We currently do not allow in-source builds of GEOSgcm. So we must make a directory:
cd build
The advantages of this is that you can build both a Debug and Release version with the same clone if desired.
make -j6 install
source ./cmake_it_prism
make -j6 install
cd ../install/bin
./run_setup.py
Then follow instructions on the screen.
Please check out our contributing guidelines.
All files are currently licensed under the Apache-2.0 license, see LICENSE.
Previously, the code was licensed under the NASA Open Source Agreement, Version 1.3.