Gurobi/fr: Difference between revisions

101 bytes added ,  3 months ago
no edit summary
No edit summary
No edit summary
Line 282: Line 282:
Submit your script to the queue by running <code>sbatch my_slurm_script.sh</code> as per usual :
Submit your script to the queue by running <code>sbatch my_slurm_script.sh</code> as per usual :


<div class="mw-translate-fuzzy">
{{File
{{File
   |name=gurobi-py_example.sh
   |name=my_slurm_script.sh
   |lang="sh"
   |lang="sh"
   |contents=
   |contents=
#!/bin/bash
#!/bin/bash
#SBATCH --time=0-00:30       # time limit (D-HH:MM)
#SBATCH --account=def-somegrp  # indiques le nom du compte
#SBATCH --cpus-per-task=1    # number of CPUs to use
#SBATCH --time=0-00:30         # indiquez la limite de temps (jj-hh:mm)
#SBATCH --mem-per-cpu=1000M  # memory per CPU (in MB)
#SBATCH --nodes=1              # utiliser un (1) nœud
</div>
#SBATCH --cpus-per-task=4      # indiquez le nombre de CPU
#SBATCH --mem=4000M            # demandez toute la mémoire


module load StdEnv/2023
module load StdEnv/2023
rsnt_translations
56,437

edits