CYANA script: cyanajob: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
== Description ==
== Description ==


The '''cyanajob''' shell script starts CYANA to execute the given ''macro'' as
Starts a parallel CYANA calculation using MPI.
batch or background job. The ''macro'' name can be given with or without
Starts CYANA to execute a ''macro'' as a batch or background job. The ''macro'' name can be given with or without the '.cya' extension. The '''cyanajob''' script is the preferred way to start a parallel CYANA calculation. For interactive use, CYANA is started through the [[CYANA Script: cyana|'''cyana''']] script. The '''cyanajob''' script is machine-dependent and must be adapted to the particular application environment when the program CYANA is installed. Machine-dependent default values of the following options can be inspected by using the '-h' option:
the '''.cya''' extension. The '''cyanajob''' script is the preferred way to
start a parallel CYANA calculation. For interactive use, CYANA is
started through the '''cyana''' script.  


The '''cyanajob''' command can only be invoked from the Unix shell. The
;:'''-h''': help
command syntax follows Unix (not INCLAN) conventions.
;:'''-a ''file''''': start job only after ''file'' exists
 
;:'''-j ''name''''': job name (default: ''macro'')
The '''cyanajob''' script is machine-dependent and must be adapted to the
;:'''-n ''nproc''''': number of processors
particular application environment. The machine-dependent default values
;:'''-o ''options''''': options for the CYANA program
of the following options can be inspected by using the '''-h''' option.
;:'''-p ''program''''': name of the CYANA start script (default: '''cyana''')
 
;:'''-q ''queue''''': batch queue
Options:
;'''-s ''command''''': submit command
 
;'''-S''': run CYANA in safe (restricted) mode
;-h: help
Frequently used options are '''-n''' to set the number of processors used in parallel, '''-p''' to specify the command by which CYANA is started (e.g. if different versions of the program are simultaneously installed on the system), and '''-q''' to choose a certain batch queue.
;-a ''file'': start job only after ''file'' exists
;-j ''name'': job name (default: ''macro'')
;-n ''nproc'': number of processors
;-o ''options'': options for the CYANA program
;-p ''program'': name of the CYANA start script (default: cyana)
;-q ''queue'': batch queue
;-s ''command'': submit command
;-S: run CYANA in safe (restriced) mode
 
Frequently used options are '''-n''' to set the number of processors used in
parallel, '''-p''' to specify the command by which CYANA is started (e.g. if
several different versions of the program are installed on the system),
and '''-q''' to choose a certain batch queue.


== See also ==
== See also ==


* [[CYANA script: cyana|cyana]]
* [[CYANA script: cyana|cyana]]

Revision as of 10:57, 12 August 2009

Synopsis

cyanajob [option] macro parameters

Description

Starts a parallel CYANA calculation using MPI. Starts CYANA to execute a macro as a batch or background job. The macro name can be given with or without the '.cya' extension. The cyanajob script is the preferred way to start a parallel CYANA calculation. For interactive use, CYANA is started through the cyana script. The cyanajob script is machine-dependent and must be adapted to the particular application environment when the program CYANA is installed. Machine-dependent default values of the following options can be inspected by using the '-h' option:

-h
help
-a file: start job only after file exists
-j name: job name (default: macro)
-n nproc: number of processors
-o options: options for the CYANA program
-p program: name of the CYANA start script (default: cyana)
-q queue: batch queue
-s command
submit command
-S
run CYANA in safe (restricted) mode

Frequently used options are -n to set the number of processors used in parallel, -p to specify the command by which CYANA is started (e.g. if different versions of the program are simultaneously installed on the system), and -q to choose a certain batch queue.

See also