Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.79 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.79 KB

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