[slurm-users] Sbatch python question

2021-03-13 Thread Walters, Richard I ERDC-RDE-ITL-MS Contractor
First, I'm new to slurm, I'm used to PBS Pro. But we're getting a new system, and they still configuring it. I'm a pioneer user for this new system. I'm trying to submit an sbatch job with a python script (not the usual bash or csh script). This scrips works with qsub for PBS Pro; so basic

Re: [slurm-users] Sbatch python question

2021-03-13 Thread Walls, Mitchell
Are you using '#!/usr/bin/env python'? That could make a difference as an example: #!/usr/bin/env python3 #SBATCH --job-name=Python from time import sleep sleep(1) print("done") From: slurm-users on behalf of Walters, Richard I ERDC-RDE-ITL-MS Contract