This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:submissions [2018/08/24 09:08] mstabrin [Slurm] |
howto:submissions [2019/06/25 19:09] mstabrin [Submit a cluster job from the GUI] |
||
---|---|---|---|
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|| | ||
+ | ||SPHIRE_NPROC || Default number of processors|| | ||
+ | ||SPHIRE_ENABLE_QSUB || Use cluster submission by default|| | ||
\\ | \\ | ||
===== Example Scripts ===== | ===== Example Scripts ===== | ||
Line 70: | Line 80: | ||
Below you can find one example of the kind of submission templates that would be used for Slurm queueing system. | 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 | #!/bin/zsh | ||
Line 79: | Line 90: | ||
| | ||
module load sphire | module load sphire | ||
- | mpirun | + | mpirun -n XXX_SXMPI_NPROC_XXX XXX_SXCMD_LINE_XXX |