R: Difference between revisions

116 bytes added ,  4 years ago
modifications pour s'assurer d'obtenir le résultat escompté + modifications mineures
m (retrait d'éléments superflus pour la compréhension)
(modifications pour s'assurer d'obtenir le résultat escompté + modifications mineures)
Line 253: Line 253:
   |contents=
   |contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-someacct  # replace this with your own account
#SBATCH --account=def-someacct  # replace this with your supervisors account
#SBATCH --ntasks=5              # number of MPI processes
#SBATCH --ntasks=5              # number of MPI processes
#SBATCH --mem-per-cpu=2048M      # memory; default unit is megabytes
#SBATCH --mem-per-cpu=2048M      # memory; default unit is megabytes
Line 337: Line 337:
   |contents=
   |contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-someacct  # replace this with your own account
#SBATCH --account=def-someacct  # replace this with your supervisors account
#SBATCH --nodes=1                # number of node MUST be 1
#SBATCH --nodes=1                # number of node MUST be 1
#SBATCH --cpus-per-task=4        # number of processes
#SBATCH --cpus-per-task=4        # number of processes
Line 408: Line 408:
   |contents=
   |contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-someacct  # replace this with your own account
#SBATCH --account=def-someacct  # replace this with your supervisors account
#SBATXH --ntasks-per-node=2    # add this line to make sure that slurm uses multiple nodes
#SBATCH --ntasks=4              # number of processes
#SBATCH --ntasks=4              # number of processes
#SBATCH --mem-per-cpu=512M      # memory; default unit is megabytes
#SBATCH --mem-per-cpu=512M      # memory; default unit is megabytes
cc_staff
56

edits