User Tools

Site Tools


tutorial:jobsubmit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
tutorial:jobsubmit [1998/12/03 12:11]
tutorial:jobsubmit [2014/12/02 21:12]
aykutbulut
Line 1: Line 1:
 +====== Command Line Basics ======
  
 +This tutorial includes **basic information** about running a program/script on COR@L. If you are looking for information about running a series of exhaustive programs and/or need precise measuring, then [[:condor|schedule your jobs with CONDOR]].
 +
 +===== Running a Simple Executable =====
 +  - Log in one of the COR@L hardware using your account information on terminal.
 +  - Enter the directory where your executable file is. \\ ''cd home///userid/////directory///''
 +  - Enter the executable file name \\ ''foo''
 +
 +==== Troubleshooting ====
 +  * **I'm getting ''bash: foo: Permission denied'' error. What should I do?**
 +  * This means that you don't have execute permission for the file. Try to use \\ ''chmod u+x foo'' \\ command. This will give execute permission to your file.
 +
 +===== Redirecting Output =====
 +If you want to save output of your program into a file, simply use ''>'', such as
 +
 +''foo > output.out''
 +
 +will save all program outputs to ''output.out'' file.
 +
 +If you have already some content in ''output.out'' and append (add new output at the end of the existing content) then use ''%%>>%%'' such as
 +
 +''foo %%>>%% output.out''
 +
 +===== Running a Long Job =====
 +If you are going to run a long job and want to log out during the process, then use ''nohup'' command.
 +
 +''nohup foo > output.out &''
 +
 +==== Check Your Current Processes ====
 +You can list all processes that belongs to your account by typing
 +
 +''top -u //userid//''
tutorial/jobsubmit.txt ยท Last modified: 1998/12/03 12:11 (external edit)