Thanks to visit codestin.com
Credit goes to github.com

Skip to content

marieaudep/workspace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

workspace

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).

Usage

To obtain Makefile:

git clone [email protected]:adcroft-gfdl/workspace.git workspace

Installation

To checkout out code and tools (from within the workspace directory):

make checkout

Compilation

To compile all executables (from within the workspace directory):

make gnu
make intel
make pgi

To compile a specific executable (from within the workspace directory):

make MOM6-examples/build/gnu/ocean_only/repro/MOM6

Running (on batch nodes)

From within the workspace directory. To run all experiments with gnu, intel or pgi executables:

make gnu -j
make intel -j
make pgi -j

To 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 -j

To run a single experiment:

make MOM6-examples/ocean_only/global_ALE/z/timestats.intel

Check status of experiments (from within MOM6-examples):

git status

Working on the GFDL workstations

Obtain the Makefile:

git clone [email protected]:adcroft-gfdl/workspace.git workspace

Checkout source code:

make CVS='cvs -d /home/fms/cvs' SITE=linux checkout

Compile:

make SITE=linux FC=mpif77 CC=mpicc LD=mpif77 MPIRUN=mpirun MOM6-examples/build/intel/ocean_only/repro/MOM6

Run (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.intel

Compile 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

About

My MOM6 Makefile that does pretty much everything I need

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Makefile 100.0%