Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This is HolmMHD - A versatile code to solve the magnetohydrodynamics equations

Copyright (C) 2019 - Daniel Verscharen (d.verscharen@ucl.ac.uk)
Mullard Space Science Laboratory, University College London
Space Science Center, University of New Hampshire

HolmMHD has the following requirements:

    make
    Fortran 90 compiler
    HDF5
    MPI

Compile the code by executing
    ./configure --with-hdf5=/path/to/hdf5        (this could be: "/usr/local/hdf5" on a Mac)
    make
    mkdir data       (if necessary)

in the main directory. Then run HolmMHD with

    mpirun -np <NUMBER OF NODES> ./src/HolmMHD

The parameters are set in the file parameters.f90 in the ./src directory. The initialisation is set in the file initialise.f90 in the ./src directory.
The code requires the folders src and data in the main directory.