Code Monkey home page Code Monkey logo

gomo's Introduction

GOMO

Generalized Operator Modelling of the Ocean (GOMO) is a three-dimensional ocean model based on OpenArray which is a simple operator library for the decoupling of ocean modelling and parallel computing.

The fundamental equations and algorithms of GOMO are derived from POM2k (Blumberg and Mellor, 1987). The details of the continuous governing equations, the corresponding operator expression form and the descriptions of all the variables used in GOMO are listed in the ./docs folder.

GOMO is composed of 42 Fortran files (.F90), a header file (.h), and a single namelist file (.txt). Pre-processing processing package written in Matlab is located in ./pre. You can use the package to produce the input file for the ideal test--seamount. The default input file seamount65_49_21.nc is located at the directory ./bin/data.

For more details, please refer to the paper (https://www.geosci-model-dev-discuss.net/gmd-2019-28/) and the simple user mannual of OpenArray located at ./docs.

Requirments

  • PnetCDF (version 1.7.0 or higher).
  • OpenArray.

Compile

If the installation of OpenArray is done, it is fairly easy to compile GOMO, the basic steps are as follows:

(a) Download GOMO from GitHub:

  wget https://github.com/hxmhuang/GOMO/archive/master.zip  
  unzip master.zip

(b) Set paths to PnetCDF and OpenArray, if PnetCDF and OpenArray are installed in the default directory, ${HOME}/install.

  export OPENARRAY_DIR=${HOME}/install 
  export PNETCDF_DIR=${HOME}/install 

(c) Make. Please use the same compilers to build GOMO, PnetCDF and OpenArray.
For GNU compiler and mpich or openmpi, then:

  ./configure MPICC=mpicc MPICXX=mpicxx MPIF77=mpif77 MPIF90=mpif90
  make  

For intel compiler, then:

  ./configure MPICC=mpiicc MPICXX=mpiicpc MPIF77=mpiifort MPIF90=mpiifort
  make  

Run GOMO

After compiling, the executable file ./bin/GOMO will be generated. Within the directory ./bin where GOMO and config.txt files exist, run the ideal case:

  ./GOMO   

or

  mpirun -np N ./GOMO   

gomo's People

Contributors

xinghuang2050 avatar siofive avatar wangdong1991 avatar wy0917 avatar hxmhuang avatar

Stargazers

 avatar  avatar Haopeng Huang avatar YiChao Ding avatar Luo Siyuan avatar Steven K. Baum avatar anriqing avatar  avatar 好风 avatar  avatar Yanqiang Wang avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

gomo's Issues

GOMO still depended on automake

When installing GOMO on Ubuntu, automake is still needed.

GOMO needs automake

Please remove the dependency of GOMO on automake, thanks.
The version of GOMO for test is commit 6e0e5cc

make error

I used openmpi-3.0.4 to compile OpenArray and GOMO on Ubuntu 18.04.3, OpenArray was installed successfully, while installation of GOMO failed at the last step with the following errro:

A make error

Note: I used the latest version of GOMO (commit 74b4c81)

configure error

When I typed ./configure and compile GOMO, it reported a configure error: cannot run /bin/bash ./config.sub.

By the way, this error exists on multiple Linux versions (CentOS, Opensuse, Debian, et al.).

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.