Open laszewsk opened 2 years ago
IN your sbatch scripts you can explore environment variables such as
echo $SLURM_SUBMIT_DIR env
to let you know where the submit dir is. I assume you can also find other variables. you can probably print with env
def output_variables(): slurmvariables = [] variables = [v for v in os.environ if v.startswith(“SLURM_“] print (Printer.attributes(variables))
IN your sbatch scripts you can explore environment variables such as
echo $SLURM_SUBMIT_DIR env
to let you know where the submit dir is. I assume you can also find other variables. you can probably print with env