Skip to content
/ THOR Public
forked from exoclime/THOR

Atmospheric fluid dynamics solver optimized for GPUs.

License

Notifications You must be signed in to change notification settings

nabajour/THOR

 
 

Repository files navigation

THOR

Build Status

Flexible Global Circulation Model to Explore Planetary Atmospheres

THOR is a GCM that solves the three-dimensional non-hydrostatic Euler equations on an icosahedral grid. THOR was designed to run on Graphics Processing Units (GPUs).

If you use this code please cite: Mendonca, J.M., Grimm, S.L., Grosheintz, L., & Heng, K., ApJ, 829, 115, 2016

Current code owners: Joao Mendonca: [email protected], Russell Deitrick: [email protected], Urs Schroffenegger: [email protected]

Copyright (C) 2017-2018 Exoclimes Simulation Platform

BUILD & RUN THOR (TL;DR instructions)

   $ sudo apt-get install git make gcc g++ cmake nvidia-cuda-toolkit nvidia-utils-390 libhdf5-dev libhdf5-100  libhdf5-serial-dev libhdf5-cpp-100
   $ git clone https://github.com/exoclime/THOR.git
   $ cd THOR
   $ cp Makefile.conf.template Makefile.conf

Find the SM value of your Nvidia GPU. Decide if you want to run without any physics module empty physics module, or the one with radiative transfer, the multi module. Then open Makefile.conf in a text editor and edit like so:

   MODULES_SRC := src/physics/managers/<module_type>/
   SM:=<SM value of your card> 

Set module_typeto empty (default) or multi.

Then head back to the command line and

   $ make -j8 release

Finally, run

   $ bin/esp ifile/<config file for your planet>

Furthur information

View our wiki pages here

Tutorial from ESP Summer School 2019

About

Atmospheric fluid dynamics solver optimized for GPUs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Cuda 35.7%
  • C++ 33.5%
  • Python 18.4%
  • Objective-C 4.6%
  • C 4.2%
  • Makefile 1.8%
  • Other 1.8%