Personal tools
You are here: Home Codes ZEUS-MP Test Suite
Document Actions

Test Suite

by streeter last modified 2007-03-30 03:55


There are total 9 input parameter files with the corresponding definition files in /test directory. They are for 5 test problems in Cartesian, spherical, and cylindrical coordinate systems. In the following demonstration of compiling and running ZEUS-MP, a simple blast problem with MHD in Cartesian coordinates are used. Also, the compilation and running of the ZEUS-MP are assumed to be on the Origin 2000.

In /test, copy zmp_inp.blast.xyz to /exe and rename it to zmp_inp
In /test, copy zeusmp.def.blast.xyz to /src and rename it to zeusmp.def
Goto /src and compile the ZEUS-MP by entering: make -f Makefile compile
Go to /exe and run the executable file zeusmp.x by: mpirun 4 zeusmp.x
When everything goes well, you will see the following header displays from the code:
ZEUS-MP V1.0 - 12/30/99


RUNNING AS 4 PROCESS(ES)
WITH THE FOLLOWING CONFIGURATION:

* geometry: XYZ
* moving grid OFF
* point masses OFF
* self-gravity OFF
* magnetic fields ON
* implicit rad alg OFF
* PF rad algorithm OFF
* precision: DBL
* thread time: CPU
* profiling OFF
* message passing ON
* MP Environment OFF
* debug messages OFF
* restart dumps OFF
* HDF dumps ON
* TSL dumps OFF
* history dumps OFF
* text dumps OFF

Set-up complete with 0 warning(s): entering main loop...

Then the code is successfully compiled and running. Note that from this banner, we know that 4 processors are running, the problem is in Cartesian geometry (XYZ), the magnetic force calculation is on, the code is compiled in double precision, and data files are dumped in HDF format.

If one want to try other problem generators, such as gravitational collapse of gas sphere, one need to modify the "Fortran object files" and "dependencies" in the Makefile. Simply look for the "blast.o" and "blast.F" and replaced them by "gcollapse.o" and "gcollapse.F", respectively. Then restart the compiling process again. For the jet problem, use "jet". For shock tube problem, use "shktube". For the Sedov blastwave problem, use "stblast".

The HDF data files output from this run are postprocessed as described in the following section of the guide.


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: