Translations:Graham/53/en: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Importing a new version from external source)
(Importing a new version from external source)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Example for default users.
Single-GPU example:
{{File
{{File
   |name=gpu_single_node_job.sh
   |name=gpu_single_GPU_job.sh
   |lang="sh"
   |lang="sh"
   |contents=
   |contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --account=def-someuser
#SBATCH --nodes=1
#SBATCH --gres=gpu:v100:1
#SBATCH --gres=gpu:v100:8
#SBATCH --cpus-per-task=3
#SBATCH --exclusive
#SBATCH --mem=12G
#SBATCH --cpus-per-task=28
#SBATCH --mem=150G
#SBATCH --time=1-00:00
#SBATCH --time=1-00:00
module load arch/avx512 StdEnv/2018.3
module load arch/avx512 StdEnv/2018.3
nvidia-smi
nvidia-smi
}}
}}
Example for Ontario users who have been granted higher priority access.
Full-node example:
{{File
{{File
   |name=gpu_single_node_job.sh
   |name=gpu_single_node_job.sh
Line 21: Line 19:
   |contents=
   |contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=ctb-ontario
#SBATCH --account=def-someuser
#SBATCH --partition=c-ontario
#SBATCH --nodes=1
#SBATCH --nodes=1
#SBATCH --gres=gpu:v100:8
#SBATCH --gres=gpu:v100:8
Line 28: Line 25:
#SBATCH --cpus-per-task=28
#SBATCH --cpus-per-task=28
#SBATCH --mem=150G
#SBATCH --mem=150G
#SBATCH --time=3-00:00
#SBATCH --time=1-00:00
module load arch/avx512 StdEnv/2018.3
module load StdEnv/2023
nvidia-smi
nvidia-smi
}}
}}

Latest revision as of 16:00, 31 October 2024

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Graham)
Single-GPU example:
{{File
  |name=gpu_single_GPU_job.sh
  |lang="sh"
  |contents=
#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --gres=gpu:v100:1
#SBATCH --cpus-per-task=3
#SBATCH --mem=12G
#SBATCH --time=1-00:00
module load arch/avx512 StdEnv/2018.3
nvidia-smi
}}
Full-node example:
{{File
  |name=gpu_single_node_job.sh
  |lang="sh"
  |contents=
#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --nodes=1
#SBATCH --gres=gpu:v100:8
#SBATCH --exclusive
#SBATCH --cpus-per-task=28
#SBATCH --mem=150G
#SBATCH --time=1-00:00
module load StdEnv/2023
nvidia-smi
}}

Single-GPU example:

File : gpu_single_GPU_job.sh

#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --gres=gpu:v100:1
#SBATCH --cpus-per-task=3
#SBATCH --mem=12G
#SBATCH --time=1-00:00
module load arch/avx512 StdEnv/2018.3
nvidia-smi


Full-node example:

File : gpu_single_node_job.sh

#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --nodes=1
#SBATCH --gres=gpu:v100:8
#SBATCH --exclusive
#SBATCH --cpus-per-task=28
#SBATCH --mem=150G
#SBATCH --time=1-00:00
module load StdEnv/2023
nvidia-smi