Skip to content

Commit

Permalink
Merge branch 'master' into save_seed
Browse files Browse the repository at this point in the history
  • Loading branch information
aniabrown committed Mar 26, 2021
2 parents 568e697 + e060205 commit 46345e6
Show file tree
Hide file tree
Showing 5 changed files with 159 additions and 132 deletions.
Binary file modified METHODAdvert.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions Scripts/IridisEnv/examples_cpu_job.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/bash

# This script submits a Southampton Iridis5 batch job running on
# 4 procs for the example in Examples/KelvinHelmholtz/SingleFluidIdealRandomMPIHDF5

# Note the seed after the ./main command would need removing for non-random cases.
# (KelvinHelmholtz/SingleFluidIdealMPI)

#SBATCH --ntasks-per-node=4 # Tasks per node
#SBATCH --nodes=1 # Number of nodes requested
#SBATCH --time=00:10:00 # walltime
Expand Down
14 changes: 12 additions & 2 deletions Scripts/IridisEnv/tests_job_cpu.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# This script submits a Southampton Iridis5 batch job for the cpu tests
# in Tests/CPU

#SBATCH --ntasks-per-node=4 # Tasks per node
#SBATCH --nodes=1 # Number of nodes requested
#SBATCH --time=00:10:00 # walltime
Expand All @@ -11,10 +14,17 @@ module load hdf5/1.10.2/gcc/parallel
#module load hdf5/1.10.2/gcc/serial

module list

source ../../venv/bin/activate

export PYTHONPATH=$PYTHONPATH:../../Scripts:/home/amb1u19/METHOD_branches/METHOD_dev_hdf5/Scripts
# -------------- PARAMETERS USERS NEED TO EDIT -------------------

# Enter absolute path to METHOD/Scripts directory here
SCRIPT_DIR=/absolute/path/to/method/root/Scripts

# -----------------------------------------------------------------

# Let python find the scripts for comparing hdf5 files
export PYTHONPATH=$PYTHONPATH:$SCRIPT_DIR

gcc --version
make clean
Expand Down
13 changes: 12 additions & 1 deletion Scripts/IridisEnv/tests_job_gpu.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# This script submits a Southampton Iridis5 batch job for the gpu tests
# in Tests/GPU

#SBATCH --ntasks-per-node=2 # Tasks per node
#SBATCH --nodes=1 # Number of nodes requested
#SBATCH --partition=gtx1080
Expand All @@ -15,7 +18,15 @@ module list

source ../../venv/bin/activate

export PYTHONPATH=$PYTHONPATH:../../Scripts:/home/amb1u19/METHOD_branches/METHOD_dev_hdf5/Scripts
# -------------- PARAMETERS USERS NEED TO EDIT -------------------

# Enter absolute path to METHOD/Scripts directory here
SCRIPT_DIR=/absolute/path/to/method/root/Scripts

# -----------------------------------------------------------------

# Let python find the scripts for comparing hdf5 files
export PYTHONPATH=$PYTHONPATH:$SCRIPT_DIR

make clean
make gpu_test
Expand Down
Loading

0 comments on commit 46345e6

Please sign in to comment.