Coder Social home page Coder Social logo

workspace's Introduction

Build Status

workspace

This Makefile comes from adcroft's workspace, modified for my (Kate's) needs. I also stashed the Makefile.esmg file from MOM6's testing directory here.

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/workspace.git workspace

Installation

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

make clone

or if you are inside GFDL's firewall you can

make clone_dev

Compilation

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

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

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/ocean.stats.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

Clone source code:

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

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/ocean.stats.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/ocean.stats.intel

Compile with openMP: make BUILD_DIR=MOM6-examples/build-OPENMP MAKEMODE="OPENMP=1 NETCDF=3" MOM6-examples/build-OPENMP/intel/ice_ocean_SIS2/repro/MOM6

workspace's People

Contributors

adcroft avatar kshedstrom avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.