"Juan A. Cordero Varelaq" <bioinformatica-i...@us.es> writes:
> I am just running an interactive job with "srun -I --pty /bin/bash" and then > run "echo $SLURM_MEM_PER_NODE", but it shows nothing. Does it have to be > defined in any conf file? If you read srun(1) or sbatch(1), you will see that the SLURM_MEM_* variables correspond to what you have specified with the corresponding --mem* switches. If you haven't specified the switches, there is no value to set the variables to (perhaps srun/sbatch use the DefMemPer* parametres from slurm.conf if they are set, I haven't checked). -- Regards, Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo
signature.asc
Description: PGP signature