Re: [slurm-users] Counting total number of cores specified in the sbatch file

2019-06-08 Thread Mahmood Naderan
urm-users@lists.schedmd.com > *Subject:* Re: [slurm-users] Counting total number of cores specified in > the sbatch file > > > > If you are using mpi, it should be aware automatically if everything was > compiled with support (eg mpirun). > > If you are looking to just

Re: [slurm-users] Counting total number of cores specified in the sbatch file

2019-06-08 Thread Riebs, Andy
boun...@lists.schedmd.com] On Behalf Of Brian Andrus Sent: Saturday, June 8, 2019 1:29 PM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] Counting total number of cores specified in the sbatch file If you are using mpi, it should be aware automatically if everything was compiled with support

Re: [slurm-users] Counting total number of cores specified in the sbatch file

2019-06-08 Thread Brian Andrus
If you are using mpi, it should be aware automatically if everything was compiled with support (eg mpirun). If you are looking to just get the total tasks, $SLURM_NTASKS is probably what you are looking for Brian Andrus On 6/8/2019 2:46 AM, Mahmood Naderan wrote: Hi, A genetic program use