Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: How can I convert my script for submitting SLURM jobs from Bash to Perl?

by RonW (Parson)
on Feb 19, 2015 at 20:17 UTC ( [id://1117263]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How can I convert my script for submitting SLURM jobs from Bash to Perl?
in thread How can I convert my script for submitting SLURM jobs from Bash to Perl?

I think the first script needs to be:

#!/usr/bin/perl #SBATCH -A 1234 #SBATCH -t 2-00:00 #SBATCH -n 24 use warnings; use strict; system("module add gromacs && srun resp.com")==0 or warn "Warning: command failed, code $?";

module add gromacs is likely modifying the "local" runtime environment as MidLifeXis explained in his post, above.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1117263]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found