Skip to content
Snippets Groups Projects
Commit c8396f76 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Tune sbatch file

parent 90ccdcd7
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,5 @@ dune_add_formcompiler_system_test(UFLFILE poisson_dg.ufl
INIFILE poisson_dg.mini
NO_TESTS
)
dune_symlink_to_source_files(FILES donkey.sbatch)
......@@ -2,37 +2,38 @@
# Load modules
ml gcc/6.2
ml intelmpi
ml openblas
ml metis
ml suitesparse
# Set a name for the job
#sbatch -J poisson_dg
#SBATCH -J poisson_dg
# Number of processes
#sbatch -n 16
#SBATCH -n 16
# Choose the SLURM partition (sinfo for overview)
#sbatch -p haswell16c
#SBATCH -p haswell16c
# Each process needs two PUs: circumvent hyperthreading
#sbatch -c 2
#SBATCH -c 2
# Pin processes to cores
# (Possible values: socket, core)
#sbatch --cpu_bind=core,verbose
SRUNOPT="--cpu_bind=verbose,core"
# 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
srun $SRUNOPT ./app_poisson_dg_deg2_opcount app_poisson_dg_deg2_opcount.ini
srun $SRUNOPT ./app_poisson_dg_deg3_opcount app_poisson_dg_deg3_opcount.ini
srun $SRUNOPT ./app_poisson_dg_deg4_opcount app_poisson_dg_deg4_opcount.ini
srun $SRUNOPT ./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
srun $SRUNOPT ./app_poisson_dg_deg2_nonopcount app_poisson_dg_deg2_nonopcount.ini
srun $SRUNOPT ./app_poisson_dg_deg3_nonopcount app_poisson_dg_deg3_nonopcount.ini
srun $SRUNOPT ./app_poisson_dg_deg4_nonopcount app_poisson_dg_deg4_nonopcount.ini
srun $SRUNOPT ./app_poisson_dg_deg5_nonopcount app_poisson_dg_deg5_nonopcount.ini
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment