Sovereign 8s.is mirror of standardgalactic/MURaM_main
  • Jupyter Notebook 89.8%
  • C 5.4%
  • C++ 3.2%
  • Python 1%
  • Shell 0.5%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-01-05 15:54:34 -07:00
casper first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
derecho added derecho build and run scripts 2024-12-30 12:03:42 -07:00
example_defs first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
gust first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
include first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
lib first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
perlmutter first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
python_codes Added new python initial state routines 2026-01-05 15:54:34 -07:00
raven first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
RUNDIR Added description of code parameters 2025-09-19 16:46:19 -06:00
src OpenACC fixes to eos routines 2026-01-03 18:41:01 -07:00
tausort first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
TEST cleanup of validation scripts 2024-12-30 12:02:45 -07:00
Wittmann_cpp first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
LICENSE.txt first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
Make_defs first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
Makefile first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
PCAST.md first commit: This code is based off of https://gitlab.gwdg.de/p.ewright/MURaM_main/-/tree/gust?ref_type=heads and commit 111bf014bd357ab295bb76d337b7d3f8a89519e3 2023-06-19 19:20:43 -06:00
README.md Added new python initial state routines 2026-01-05 15:54:34 -07:00

####################### How to reference the code: Please reference the following papers when using this code:

Original code: Vögler, A., Shelyag, S., Schüssler, M., Cattaneo, F., Emonet, T., Linde, T., "Simulations of magneto-convection in the solar photosphere. Equations, methods, and results of the MURaM code", Astronomy and Astrophysics, v.429, p.335-351 (2005)

Updated numerical diffusivities: Rempel, M., "Numerical Simulations of Quiet Sun Magnetism: On the Contribution from a Small-scale Dynamo", The Astrophysical Journal, Volume 789, Issue 2, article id. 132, 22 pp. (2014).

Extended version with coronal physics (the version in this repository is based on this): Rempel, M., "Extension of the MURaM Radiative MHD Code for Coronal Simulations", The Astrophysical Journal, Volume 834, Issue 1, article id. 10, 23 pp. (2017).

Initial GPU Refactoring: Wright, E., Przybylski, D., Rempel, M., Miller, C., Suresh, S., Su, S., Loft, R., Chandrasekaran, S., "Refactoring the MPS/University of Chicago Radiative MHD(MURaM) Model for GPU/CPU Performance Portability Using OpenACC Directives", eprint arXiv:2107.08145

####################### Libraries: The code requires a parallel version of fftw3 and heffte! See the install scripts in lib/fftw and lib/heffte for further details,

####################### Compilation: Customize the file "Make_defs". In general the following varibales need to be set:

MURaM_HOME_DIR = MURaM home directory FFTW3_HOME = location of fftw3 library HEFFTE_HOME = location of heffte library

OPT = optimization flages

DBG = debugging flags

CC = C compiler LD = C++ compiler CCC = C++ compiler

compile the code by typing "make" in the MURaM_HOME_DIR the executable will be found in MURaM_HOME_DIR/mhd3d.x

####################### Test Problems:

Two test problems are provided that are small enough to run on a single core. To run these problems copy MURaM_HOME_DIR/src/mhd3d.x into either of the following directories: TEST/Test_2D TEST/Test_3D

Change into the test-directory and type "./clean" to reset the test-problem. Run the code with system specific command, i.e. mpirun -np 2 mhd3d.x

Note: The processors layout needs to be set in parameters.dat -> procs = 2 1 1

####################### Verify for correctnes: In order to benchmark against a reference run use the Jupyter notebook TEST/verify_run.ipynb

###################

WARNING - 2D likely does not function!!!!!!! All recent development focused on the 3D version

##################

The code has been developled and tested with the nvhpc compiler, currently up to version 25.9

##################

A description of all the code parameters is found in the file "Parameters_Reference.pdf" in the RUNDIR directory

##################

Check python_codes/SetupNew/CreateInitialState.ipynb for examples of how to set up new simulations (photosphere and photosphere - corona)