User Tools

Site Tools


howto:submissions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howto:submissions [2018/06/20 13:12]
127.0.0.1 external edit
howto:submissions [2019/04/16 16:24]
mstabrin
Line 15: Line 15:
 This will create a file called qsub_sxisac_test.sh with the correct setup and submit it to the cluster. This will create a file called qsub_sxisac_test.sh with the correct setup and submit it to the cluster.
  
 +\\
 +This variables can be set in the environment to adjust the default values for the job submission text fields.
 +
 +|| **Variable** || **Description** ||
 +||SPHIRE_MPI_COMMAND_LINE_TEMPLATE || Command line template||
 +||SPHIRE_SUBMISSION_COMMAND || Submission command||
 +||SPHIRE_SUBMISSION_SCRIPT_TEMPLATE || Submission script template||
 +||SPHIRE_SUBMISSION_SCRIPT_TEMPLATE_FOLDER || Folder containing different submission script templates||
 \\ \\
 ===== Example Scripts ===== ===== Example Scripts =====
Line 66: Line 74:
 8 * 23 = 184 8 * 23 = 184
 </code> </code>
 +
 +==== Slurm ====
 +
 +Below you can find one example of the kind of submission templates that would be used for Slurm queueing system.
 +On our system, we had issues with "the mpirun --map-by node" option, so we recommend to not use for now.
 +
 +  #!/bin/zsh
 +  #SBATCH --partition all
 +  #SBATCH --time 7-00:00
 +  #SBATCH --ntasks XXX_SXMPI_NPROC_XXX
 +  #SBATCH --output XXX_SXMPI_JOB_NAME_XXX.log
 +  #SBATCH --job-name XXX_SXMPI_JOB_NAME_XXX
 +  
 +  module load sphire
 +  mpirun -n XXX_SXMPI_NPROC_XXX XXX_SXCMD_LINE_XXX
 +
 +
 +
howto/submissions.txt ยท Last modified: 2019/06/25 19:09 by mstabrin