Skip to content

Planetary atmosphere code

License

Unknown, LGPL-2.1 licenses found

Licenses found

Unknown
LICENSE
LGPL-2.1
COPYING
Notifications You must be signed in to change notification settings

SylvainPlessis/Planet_INC

 
 

Repository files navigation

Planet_INC

Planet_INC is a planetary code for atmospheric calculations using Antioch for the kinetics chemical computations and GRINS for the solving part. It requires also Eigen and GSL for some technical features.

Dependencies

Planet_INC requires Antioch, GRINS, Eigen, GSL, and the GRINS dependencies.

The required dependencies are, in the order of building:

./configure --with-clanguage=C++ --with-shared-libraries \
            --with-mpi-dir=$MPI_DIR \
            --with-mumps=true --download-mumps=1 \
            --with-metis=true --download-metis=1 \
            --with-parmetis=true --download-parmetis=1 \
            --with-blacs=true --download-blacs=1 \
            --with-scalapack=true --download-scalapack=1 \
            --with-superlu-dist=true --download-superlu-dist=1 \
            --with-x11=0 \
            --with-x=0 \
            --with-blas-lapack=true --download-blas-lapack \
            --with-errorchecking=1 \
            --with-debugging=1 \
            --with-clib-autodetect=0 \
            --prefix=/the/right/path
../libmesh/configure --prefix=/where/to/install/libmesh \
                     --enable-everything --with-metis=PETSc

GSL, Antioch, and Eigen, can be built independently. Note that Antioch is also a dependency of GRINS.

Installation and running

Download the code in a convenient place:

$ cd /convenient/place/
$ mkdir src
$ cd src
$ git clone https://Planet-INC/Planet-INC .

Then compile and install the code in another folder:

$ mkdir ../built-dir
$ cd ../built-dir
$ ../src/configure --prefix=/where/the/executable/should/be
$ make
$ make test (optional)
$ make install (might require root provilege)

To run the executable, the advised command is:

$ mpiexec -p NUMBER_OF_CORES planet INPUT_FILE -ksp_type preonly -pc_type lu -pc_factor_mat_solver_package superlu-dist

The options -ksp_type, -pc_type, and -pc_factor_mat_solver_package are PETSc options. See PETSc documentation for details and other desired options.

About

Planetary atmosphere code

Resources

License

Unknown, LGPL-2.1 licenses found

Licenses found

Unknown
LICENSE
LGPL-2.1
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 36.2%
  • C++ 32.5%
  • Perl 31.1%
  • Other 0.2%