From 1ee4202bd065beb2f5cafd14957d8e59b8789e1e Mon Sep 17 00:00:00 2001 From: Miguel Avillez Date: Fri, 25 Jun 2021 10:25:59 +0000 Subject: [PATCH] Update gadget/4.0/README.md --- gadget/4.0/README.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/gadget/4.0/README.md b/gadget/4.0/README.md index dfc4e7e..cb6e4d6 100644 --- a/gadget/4.0/README.md +++ b/gadget/4.0/README.md @@ -65,6 +65,15 @@ Make sure that in param.txt you set the path to the initial conditions file. ### Mechanics of Running Benchmark The general way to run the benchmarks, assuming SLURM Resource/Batch Manager is: +1. Set the environment modules (See 1 in the build and compile section) + +2. Submit a script to slurm + +``` +sbatch gadget_script.sh +``` +where the gadget_script.sh has the form: + ``` #!/bin/bash -l #SBATCH --time=04:00:00 @@ -93,14 +102,15 @@ Where: * gadget4_collgal is the executable. * param.txt is the input parameter file. + ### UEABS Benchmarks **A) `Colliding galaxies with star formation`** This simulation with setup in the folder CollidingGalaxiesSFR considers the collision of two compound galaxies made up of a dark matter halo, a stellar disk and bulge, and cold gas in the disk that undergoes star formation. Radiative cooling due to helium and hydrogen is included. Star formation and feedback is modelled with a simple subgrid treatment. -Download test Case A -[(./gadget/4.0/gadget4-caseA.tar.gz)](./gadget/4.0/gadget4-caseA.tar.gz) +[Download test Case A](./gadget/4.0/gadget4-caseA.tar.gz) + **B) `Cosmological DM-only simulation with IC creation`** @@ -108,16 +118,15 @@ The setup in DM-L50-N128 simulates a small box of comoving side-length 50 Mpc/h Gravity is computed with the TreePM algorithm at expansion order p=3. Three output times are defined, for which FOF group finding is enabled, and power spectra are computed as well for the snapshots that are produced. Also, the code is asked to compute a power spectrum for each output. -Download test Case B -[(./gadget/4.0/gadget4-caseB.tar.gz)](./gadget/4.0/gadget4-caseB.tar.gz) +[Download test Case B](./gadget/4.0/gadget4-caseB.tar.gz) **C) `Adiabatic collapse of a gas sphere` ** This simulation in G2-gassphere considers the gravitational collapse of a self-gravitating sphere of gas which initially has a 1/r density profile and a very low temperature. The gas falls under its own weight to the centre, where it bounces back and a strong shock wave that moves outwards develops. The simulation uses Newtonian physics in a natural system of units (G=1). -Download test Case C -[(./gadget/4.0/gadget4-caseC.tar.gz)](./gadget/4.0/gadget4-caseC.tar.gz) +[Download test Case C](./gadget/4.0/gadget4-caseC.tar.gz) + ## Performance GADGET reports in log file both time and performance. -- GitLab