Dear Andy,

I guess to me, learning shell scripting is more like learning Maxwell's
equations than it is like 
learning how to use a light switch.

And I was hoping that simply wanting to run N programs on N nodes, was
like simply wanting to 
turn the light on, which doesn't require first learning Maxwell's equations.

But I am completely new to SLURM, so maybe running N programs on N nodes
with SLURM is more 
like designing a cathode ray tube than it is like turning on a light, I
don't know.

I am familiar with the basics of working in a Linux environment, such as
the commands: cd, rm, 
cp, ls, pwd, etc., and using the text editor VIM.

I do plan on becoming more proficient as time goes on, of course. But I
was hoping that my 
research would not have to be delayed while I learned BASH, Perl, SLURM, etc.

Thank you for these links. I will be sure to use them to become more
proficient at BASH.


Best regards,
Joseph

==============Original message text===============
On Mon, 04 Feb 2013 8:41:03 EST Andy Riebs wrote:

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

===========End of original message text===========



Reply via email to