This Makefile is not part of MOM6, it is not supported, I do not recommend that anyone use it, and I will not respond to pleas for help regards this Makefile. --The Managment.
This repository provides a "Makefile" that does pretty much everything I need to be able to regards MOM6 (install, build, test).
git clone [email protected]:adcroft-gfdl/workspace.git workspaceTo checkout out code and tools (from within the workspace directory):
make checkoutTo compile all executables (from within the workspace directory):
make gnu
make intel
make pgiTo compile a specific executable (from within the workspace directory):
make MOM6-examples/build/gnu/ocean_only/repro/MOM6From within the workspace directory. To run all experiments with gnu, intel or pgi executables:
make gnu -j
make intel -j
make pgi -jTo run sub-sets of experiments:
make COMPILER=gnu solo -j
make COMPILER=gnu solo ale -j
make COMPILER=gnu sis sis2 -j
make COMPILER=gnu am2_sis am2_sis2 -jTo run a single experiment:
make MOM6-examples/ocean_only/global_ALE/z/timestats.intelCheck status of experiments (from within MOM6-examples):
git statusObtain the Makefile:
git clone [email protected]:adcroft-gfdl/workspace.git workspaceCheckout source code:
make CVS='cvs -d /home/fms/cvs' SITE=linux checkoutCompile:
make SITE=linux FC=mpif77 CC=mpicc LD=mpif77 MPIRUN=mpirun MOM6-examples/build/intel/ocean_only/repro/MOM6Run (requires the sourcing an "env"):
source MOM6-examples/build/intel/env
make MPIRUN=mpirun MOM6-examples/ocean_only/CVmix_SCM_tests/wind_only/EPBL/timestats.intelCompile and run in one step:
source MOM6-examples/build/intel/env
make SITE=linux FC=mpif77 CC=mpicc LD=mpif77 MPIRUN=mpirun MOM6-examples/ocean_only/CVmix_SCM_tests/wind_only/EPBL/timestats.intel