Difference: Condor (32 vs. 33)

Revision 332016-12-18 - WilliamSeligman

Line: 1 to 1
 
META TOPICPARENT name="LinuxCluster"

Condor Basics

Line: 26 to 26
  In theory, you can run a program directly without a script; most of the examples in /usr/share/doc/condor-*/examples do this.
Changed:
<
<
In practice, programs in physics typically need scripts to organize a program's execution environment. A shell script would invoke the "setup" commands or scripts needed to run the program; if you have to type source my-experiment-setup-sh before running your program, you'd put that command in a shell script.
>
>
In practice, programs in physics typically need scripts to organize a program's execution environment. A shell script would invoke the module load commands or scripts needed to run the program; if you have to type source my-experiment-setup-sh before running your program, you'd put that command in a shell script.
  Don't forget to make the shell script executable; e.g., chmod +x myscript.sh.
Changed:
<
<
Scripts can become "mini-programs" themselves, as in this example. For example, in a simulation script I wrote, the shell script determined the particle ID to be input into the Monte Carloo, the energy of that particle, the random number seeds, and determined a unique name for the output file.
>
>
Scripts can become "mini-programs" themselves, as in this example. For example, in a simulation script I wrote, the shell script determined the particle ID to be input into the Monte Carlo, the energy of that particle, the random number seeds, and determined a unique name for the output file.
 

Command file

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback