Joseph,

Attempting to run a program on a Unix or Linux cluster without knowing a trivial amount of shell scripting is like trying to turn on a light without learning how to use the switch. Two sites that look like they might quickly get you the minimal level of knowledge to be able to use your system(s) effectively are

 * http://linuxconfig.org/Bash_scripting_Tutorial
 * http://www.tldp.org/LDP/Bash-Beginners-Guide/html/index.html

Good luck!
Andy

On 02/03/2013 09:12 PM, [email protected] wrote:
Dear SLURM development team,

Could you please direct me to a tutorial designed for researchers who are
not already proficient in
shell programming.

My expertise is physics. I learned FORTRAN in order to program the
computations that I need to
perform. But now I am trying to run my FORTRAN programs on our
supercomputers (CCNI) and  need to learn how to use SLURM.

I've read through your website:
https://computing.llnl.gov/linux/slurm/help.html

And I've watched the tutorials on Youtube.

But they are not accessible to me, and I fear that it'll take another
year devoted to learning BASH,  SLURM, etc., before I am able to run my
FORTRAN programs (which took a year for me to  program).

All that I want to do is request N nodes, and run a different executable
on each node.

I wish that the commands were:

GIVE ME N nodes
DO i=1,N
RUN program_i on node i
END DO
END

But all of the examples that I've seen show requesting multiple nodes to
run one program.

My question seems most similar to SLURM FAQ #8:
"How can I run multiple jobs from within a single script?"
But to me, the answer seems to say, "You can. People do."
I can't seem to find the part that says how to do it.

The YouTube tutorials seem designed for system administrators.

I'm sure the problem is that I am just a complete beginner at this stuff.
If I was fluent in BASH, I
imagine that the examples online would make sense.  But I am hoping that
it is possible to use
SLURM without first becoming fluent in BASH.

I'm hoping there is a tutorial for researchers who are not fluent in
BASH, preferably with example
scripts that are not overly complicated with dozens of flags and dozens
of environment variables.

If not, then after I figure it out, I would be happy to contribute one
for other researchers like me.
But I'm hoping that someone has already done that.


Thank you,
Joseph



--
Andy Riebs
Hewlett-Packard Company
High Performance Computing
+1-786-263-9743
My opinions are not necessarily those of HP

Reply via email to