Using GPUs with Slurm/fr: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 119: Line 119:
#SBATCH --ntasks-per-gpu=1        # 8 processus MPI au total
#SBATCH --ntasks-per-gpu=1        # 8 processus MPI au total
#SBATCH --cpus-per-task=6        # cœurs CPU par processus MPI
#SBATCH --cpus-per-task=6        # cœurs CPU par processus MPI
#SBATCH --mem-per-cpu=5G          # host memory per CPU core
#SBATCH --mem-per-cpu=5G          # mémoire hôte par cœur CPU
#SBATCH --time=0-03:00            # time (DD-HH:MM)
#SBATCH --time=0-03:00            # temps de calcul (JJ-HH:MM)
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
srun --cpus-per-task=$SLURM_CPUS_PER_TASK ./program
srun --cpus-per-task=$SLURM_CPUS_PER_TASK ./program
rsnt_translations
56,430

edits

Navigation menu