kuangdai / AxiSEM3D

MIT License
1 stars 0 forks source link

This version has been deprecated. Please use the new version of AxiSEM3D.

#

#

#

#

#

#

AxiSEM3D - A Quickstart Guide

I look ugly to you? I am a Markdown file. If you do not have a Markdown reader, read me on github, or paste me here.

Report issues to kuangdal@earth.ox.ac.uk.

Show-off videos on Youtube:

1 Get AxiSEM3D

git clone https://github.com/kuangdai/AxiSEM3D
export CURRENT_WORK_DIR=$PWD

2 Installing dependencies

AxiSEM3D has been built upon a few modern numerical packages for its performance and sustainability, as listed below (newer versions are acceptable):

name version build-from-source instructions
MPI --- Common implementations such as open-mpi or mpich2.
Boost 1.60 Simply download and unzip to your path of treasures. No need to build or install.
Eigen3 3.3-rc1 Simply download and unzip to your path of treasures. No need to build or install.
FFTW 3.3 Install both double-precision (without --enable-float) and single-precision (with --enable-float) versions to the same path. See here.
METIS 5.1 Download and install following Install.txt. Skip step 3 in Install.txt to use the 32-bit build.
NetCDF 4.4 Follow instructions here. To avoid compatibility issues, AxiSEM3D does not directly use HDF5, the major dependency of NetCDF4.

Don't panic! All these popular packages may be handily installed with free package management software, such as Conda. Here we introduce the wizard axisem3d_depends.sh.

3 Building AxiSEM3D

4 The MESHER

In the above examples, we use the mesh file AxiSEM_prem_ani_one_crust_50.e (anisotropic PREM model with one crustal layer at a 50 s period), located at SOLVER/template/input.

To generate an AxiSEM3D mesh like this, you will need the salvus_mesher_lite, a python-based command-line tool to generate AxiSEM/AxiSEM3D meshes (credit to van Driel Martin, Lion Krischer and others from the Salvus group at ETH Zurich).