All Projects → slcs-jsc → mptrac

slcs-jsc / mptrac

Licence: GPL-3.0 license
Massive-Parallel Trajectory Calculations (MPTRAC) is a Lagrangian particle dispersion model for the analysis of atmospheric transport processes in the troposphere and stratosphere.

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to mptrac

gribr
GRIB interface for R using ECMWF ecCodes
Stars: ✭ 18 (-5.26%)
Mutual labels:  climate, meteorology, atmospheric-modelling, atmospheric-science
gis4wrf
QGIS toolkit 🧰 for pre- and post-processing 🔨, visualizing 🔍, and running simulations 💻 in the Weather Research and Forecasting (WRF) model 🌀
Stars: ✭ 137 (+621.05%)
Mutual labels:  meteorology, atmospheric-modelling, atmospheric-science
WRF-Install-Script
Install WRF with required libraries
Stars: ✭ 43 (+126.32%)
Mutual labels:  meteorology, atmospheric-modelling, atmospheric-science
stilt
Stochastic Time-Inverted Lagrangian Transport model
Stars: ✭ 29 (+52.63%)
Mutual labels:  atmospheric-science, climate-science
climate
The R climate package: an interface for downloading in-situ meteorological (and hydrological) dataset
Stars: ✭ 51 (+168.42%)
Mutual labels:  climate, meteorology
pcmdi metrics
Self contained packages to run PCMDI Metrics
Stars: ✭ 44 (+131.58%)
Mutual labels:  climate, climate-science
online-python-training
Repo for materials associated with the Online Python Training (OPT) project
Stars: ✭ 49 (+157.89%)
Mutual labels:  meteorology, atmospheric-science
cfdm
A Python reference implementation of the CF data model
Stars: ✭ 24 (+26.32%)
Mutual labels:  climate, atmospheric-science
hockeystick
Download and Visualize Essential Global Heating Data in R
Stars: ✭ 42 (+121.05%)
Mutual labels:  climate, climate-science
python-resources-for-earth-sciences
A Curated List of Python Resources for Earth Sciences
Stars: ✭ 159 (+736.84%)
Mutual labels:  meteorology, climate-science
MiMA
Model of an idealized Moist Atmosphere: Intermediate-complexity General Circulation Model with full radiation
Stars: ✭ 28 (+47.37%)
Mutual labels:  atmospheric-modelling, atmospheric-science
open-earth-compiler
development repository for the open earth compiler
Stars: ✭ 50 (+163.16%)
Mutual labels:  climate, high-performance-computing
SBTi-finance-tool
This toolkit helps companies and financial institutions to assess the temperature alignment of current targets, commitments, and investment and lending portfolios, and to use this information to develop targets for official validation by the SBTi. See the wiki for a change log.
Stars: ✭ 39 (+105.26%)
Mutual labels:  climate-science
tuya-local
Local support for Tuya devices in Home Assistant
Stars: ✭ 150 (+689.47%)
Mutual labels:  climate
AutoOptimize.jl
Automatic optimization and parallelization for Scientific Machine Learning (SciML)
Stars: ✭ 77 (+305.26%)
Mutual labels:  high-performance-computing
sympiler
Sympiler is a Code Generator for Transforming Sparse Matrix Codes
Stars: ✭ 32 (+68.42%)
Mutual labels:  high-performance-computing
grib-rs
GRIB format parser for Rust
Stars: ✭ 23 (+21.05%)
Mutual labels:  meteorology
MDBenchmark
Quickly generate, start and analyze benchmarks for molecular dynamics simulations.
Stars: ✭ 64 (+236.84%)
Mutual labels:  high-performance-computing
PyBox
A box-model that automatically creates and solves equations used to describe the evolution in atmospheric composition using Python with Numba and, optionally, Fortran.
Stars: ✭ 30 (+57.89%)
Mutual labels:  atmospheric-science
PyCHAM
PyCHAM: CHemistry with Aerosol Microphysics in Python box model for Windows, Linux and Mac
Stars: ✭ 38 (+100%)
Mutual labels:  atmospheric-modelling

Massive-Parallel Trajectory Calculations

Massive-Parallel Trajectory Calculations (MPTRAC) is a Lagrangian particle dispersion model for the analysis of atmospheric transport processes in the free troposphere and stratosphere.

release (latest by date) commits since latest release (by SemVer) last commit code size in bytes top language codacy codecov tests doxygen license doi

Features

  • MPTRAC calculates air parcel trajectories by solving the kinematic equation of motion using given horizontal wind and vertical velocity fields.
  • Mesoscale diffusion and sub-grid scale wind fluctuations are simulated using the Langevin equation to add stochastic perturbations to the trajectories.
  • Additional modules are implemented to simulate convection, sedimentation, radioactive decay, hydroxyl chemistry, dry deposition, and wet deposition.
  • Various output methods for particle, ensemble, gridded, sample, and station data. Gnuplot interface for direct visualization.
  • MPTRAC features an MPI-OpenMP-OpenACC hybrid parallelization for efficient use on HPC and GPU systems.

Getting started

Prerequisites

This README file describes the installation of MPTRAC on a Linux system.

The following software dependencies are mandatory:

Optionally, the following software is required to enable further capabilities of MPTRAC:

Some of the software is provided along with the MPTRAC repository, please see next section.

Installation

Start by downloading the MPTRAC source code from the git repository:

git clone https://github.com/slcs-jsc/mptrac.git

To update an existing installation, please use:

git pull https://github.com/slcs-jsc/mptrac.git

Several libraries provided along with MPTRAC can be compiled and installed by running the build script:

cd mptrac/libs
./build.sh

Next, change to the source directory and edit the Makefile according to your needs.

cd mptrac/src
emacs Makefile

In particular, you might want to check:

  • Edit the LIBDIR and INCDIR paths to point to the directories where the GSL and netCDF libraries are located on your system.

  • By default, the MPTRAC binaries will be linked statically, i.e., they can be copied and used on other machines. However, sometimes static compilations causes problems, e.g., in combination with dynamically compiled GSL and netCDF libraries or when using MPI and OpenACC. In this case, disable the STATIC flag and remember to set the LD_LIBRARY_PATH to include the libraries.

  • To make use of the MPI parallelization of MPTRAC, the MPI flag needs to be enabled. Further steps will require an MPI library such as OpenMPI to be available. To make use of the OpenACC parallelization, the GPU flag needs to be enabled. The NVIDIA HPC SDK is required to compile the GPU code. The OpenMP parallelization of MPTRAC is always enabled.

Next, try to compile the code:

make

To run the test cases to check the installation, please use:

make check

Run the example

A simple example is provided, illustrating how to simulate the dispersion of volcanic ash from the eruption of the Puyehue-Cordón Caulle volcano, Chile, in June 2011.

The example can be found in the project directory. The project directory also be used to store results of other simulation and experiments with MPTRAC. The simulation is controlled by a shell script:

cd mptrac/projects/example
./run.sh

Please see the script run.sh on how to invoke MPTRAC programs such as atm_init and atm_split to initialize trajectory seeds and trac to calculate the trajectories.

The script generates a number of plots of the simulation output at different time steps after the eruption by means of the gnuplot graphing tool. These plots should look similar to the output already provided in the repository.

This is an example showing the particle position and grid output on 6th and 8th of June 2011:

Further information

More detailed information for new users and developers of MPTRAC is collected in the GitHub wiki.

These are the main references for citing the MPTRAC model in scientific publications:

  • Hoffmann, L., Baumeister, P. F., Cai, Z., Clemens, J., Griessbach, S., Günther, G., Heng, Y., Liu, M., Haghighi Mood, K., Stein, O., Thomas, N., Vogel, B., Wu, X., and Zou, L.: Massive-Parallel Trajectory Calculations version 2.2 (MPTRAC-2.2): Lagrangian transport simulations on graphics processing units (GPUs), Geosci. Model Dev., 15, 2731–2762, https://doi.org/10.5194/gmd-15-2731-2022, 2022.

  • Hoffmann, L., T. Rößler, S. Griessbach, Y. Heng, and O. Stein, Lagrangian transport simulations of volcanic sulfur dioxide emissions: Impact of meteorological data products, J. Geophys. Res. Atmos., 121, 4651-4673, https://doi.org/10.1002/2015JD023749, 2016.

  • You can cite the source code of MPTRAC by using the DOI https://doi.org/10.5281/zenodo.4400597. This DOI represents all versions, and will always resolve to the latest one. Specific DOIs for each release of MPTRAC can be found on the zenodo web site.

Please see the citation file for further information.

Contributing

We are interested in sharing MPTRAC for operational and research applications. Please do not hesitate to contact us, if you have any further questions or need support.

License

MPTRAC is distributed under the GNU General Public License v3.0.

Contact

Dr. Lars Hoffmann

Jülich Supercomputing Centre, Forschungszentrum Jülich

e-mail: [email protected]

website: https://www.fz-juelich.de/ias/jsc/slcs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].