Git Product home page Git Product logo

mpas-decaf-flowvis's Introduction

mpas-decaf-flowvis

Dependencies

Decaf

  • C++ 11
  • MPI-3
  • Boost 1.59 or higher
  • Networkx 2.0
  • CMake 3.0 or higher

MPAS-O

  • NetCDF
  • Parallel NetCDF
  • PIO

Flowvis

Steps to build and run test case

Clone repository and submodules (MPAS and Decaf )

git clone https://github.com/mukundraj/mpas-decaf-flowvis.git
cd mpas-decaf-flowvis
git submodule update --init
git submodule update --remote

Download MPAS-O + Decaf test directory

mkdir testcases
cd testcases
wget https://sandbox.zenodo.org/record/239092/files/MPAS-O_V6.0_QU240_decaf_flowvis.tar.gz
tar -xvzf MPAS-O_V6.0_QU240_decaf_flowvis.tar.gz

testdir=path/to/MPAS-O_V6.0_QU240_decaf_flowvis
homedir=path/to/mpas-decaf-flowvis/home/directory

Build Decaf

cd $homedir/decaf
mkdir build install
cd build
ccmake .. -DCMAKE_INSTALL_PREFIX:PATH=../install -Dtransport_cci=off -DVTK_DIR=/path/to/vtk/install -Dlibnabo_DIR=/path/to/libnabo/install make -j 8
make install

  • Copy executable from mpas_vis directories to testdir

cp $homedir/decaf/build/examples/mpas_vis/flow_main $testdir

Build MPAS

  • Set environment variables

export DECAF_FOLDER=$homedir/decaf
export BOOST_INSTALL_DIR=/path/to/boost/install/directory
export NETCDF=path/to/NETCDF/install/directory
export PNETCDF=path/to/PNETCDF/install/directory
export PIO=path/to/PIO/install/directory

cd $homedir/MPAS-Model
make clean gfortran CORE=ocean

  • Copy MPAS executable to testdir

cp $homedir/MPAS-Model/ocean_model $testdir

Run test case

cd $testdir
python generate_script.py
./mpas_decaf_flowvis.sh

mpas-decaf-flowvis's People

Contributors

mukundraj avatar

Watchers

 avatar

Forkers

hguo

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.