in reply to How can I convert my script for submitting SLURM jobs from Bash to Perl?

First of all, welcome to the Monastery!

Second, a question: why do you want to convert this to Perl? (Especially when all the Perl script does is run shell commands.)

Third, an observation: lines starting with a kitchen sink hash (#) are comments in shell scripts. Unless SLURM itself reads the shell script and interprets those lines, they won't do anything -- and if SLURM does that (which I sorta doubt, though admittedly I don't know a thing about it), then converting the shell script to a Perl script may be a vain endeavor to begin with.

  • Comment on Re: How can I convert my script for submitting SLURM jobs from Bash to Perl?

Replies are listed 'Best First'.
Re^2: How can I convert my script for submitting SLURM jobs from Bash to Perl?
by erhan (Novice) on Feb 18, 2015 at 21:07 UTC
    I want to convert it to Perl it because I will add on it the other parts after it works. It will be a long code. And I will be use it for some atomistic calculations.