diff --git a/applications/poisson_dg/donkey.sbatch b/applications/poisson_dg/donkey.sbatch new file mode 100755 index 0000000000000000000000000000000000000000..d9801cea5f2a634649b8753c14fc9d8ea139ec03 --- /dev/null +++ b/applications/poisson_dg/donkey.sbatch @@ -0,0 +1,38 @@ +#!/bin/bash + +# Load modules +ml gcc/6.2 +ml openblas +ml metis +ml suitesparse + +# Set a name for the job +#sbatch -J poisson_dg + +# Number of processes +#sbatch -n 16 + +# Choose the SLURM partition (sinfo for overview) +#sbatch -p haswell16c + +# Each process needs two PUs: circumvent hyperthreading +#sbatch -c 2 + +# Pin processes to cores +# (Possible values: socket, core) +#sbatch --cpu_bind=core,verbose + +# Run the opcount executables +srun ./app_poisson_dg_deg2_opcount app_poisson_dg_deg2_opcount.ini +srun ./app_poisson_dg_deg3_opcount app_poisson_dg_deg3_opcount.ini +srun ./app_poisson_dg_deg4_opcount app_poisson_dg_deg4_opcount.ini +srun ./app_poisson_dg_deg5_opcount app_poisson_dg_deg5_opcount.ini + +# Run the timing executables +COUNT=0 +while [ $COUNT -lt 5 ]; do + srun ./app_poisson_dg_deg2_nonopcount app_poisson_dg_deg2_nonopcount.ini + srun ./app_poisson_dg_deg3_nonopcount app_poisson_dg_deg3_nonopcount.ini + srun ./app_poisson_dg_deg4_nonopcount app_poisson_dg_deg4_nonopcount.ini + srun ./app_poisson_dg_deg5_nonopcount app_poisson_dg_deg5_nonopcount.ini +done diff --git a/applications/poisson_dg/poisson_dg.sh b/applications/poisson_dg/poisson_dg.sh deleted file mode 100755 index 66413006297f15ec35e0f074f1ce5af825b0fcb6..0000000000000000000000000000000000000000 --- a/applications/poisson_dg/poisson_dg.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Arguments: Number of runs for the timings (defaults to 5) - -# Run the opcount executables -./app_poisson_dg_deg2_opcount app_poisson_dg_deg2_opcount.ini -./app_poisson_dg_deg3_opcount app_poisson_dg_deg3_opcount.ini -./app_poisson_dg_deg4_opcount app_poisson_dg_deg4_opcount.ini -./app_poisson_dg_deg5_opcount app_poisson_dg_deg5_opcount.ini - -# Run the timing executables -COUNT=0 -while [ $COUNT -lt ${1:-5} ]; do - ./app_poisson_dg_deg2_nonopcount app_poisson_dg_deg2_nonopcount.ini - ./app_poisson_dg_deg3_nonopcount app_poisson_dg_deg3_nonopcount.ini - ./app_poisson_dg_deg4_nonopcount app_poisson_dg_deg4_nonopcount.ini - ./app_poisson_dg_deg5_nonopcount app_poisson_dg_deg5_nonopcount.ini -done