CYANA script: cyana: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
== Synopsis ==  
== Synopsis ==  


Line 15: Line 16:
Options:
Options:


  -h  help
;-h: help
  -c ''command''  command to start program
;-c ''command'': command to start program
  -S  run in safe mode, i.e. within one directory
;-S: run in safe mode, i.e. within one directory
  -t ''system'' use executable for explicit system type
;-t ''system'': use executable for explicit system type
  -x  display name of executable without executing it
;-x: display name of executable without executing it


Executables for several different system types can be installed
Executables for several different system types can be installed
Line 25: Line 26:
that is suitable for the present computer and operating system.
that is suitable for the present computer and operating system.
Alternatively, the system can be chosen explicitly with the '''-t''' option.
Alternatively, the system can be chosen explicitly with the '''-t''' option.
== Example ==


The '''-c''' option can be used, for example, to start a parallel MPI
The '''-c''' option can be used, for example, to start a parallel MPI
Line 30: Line 33:
of a debugger. For example,
of a debugger. For example,


  cyana -t intel-debug -c gdb
cyana -t intel-debug -c gdb
 
 
starts a CYANA version for the system type '''intel-debug''' (compiled with
starts a CYANA version for the system type '''intel-debug''' (compiled with
the Intel Fortran compiler using switches to include debugging
the Intel Fortran compiler using switches to include debugging
Line 37: Line 40:


The '''cyanajob''' script provides a convenient way to run CYANA calculations  
The '''cyanajob''' script provides a convenient way to run CYANA calculations  
in parallel and/or in batch mode.  
in parallel and/or in batch mode.


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


* [[cyanajob]]
* [[CYANA script: cyanajob|cyanajob]]

Latest revision as of 15:50, 11 August 2009

Synopsis

cyana [option] [macro]

Description

The cyana shell script starts the CYANA program. If present, the given macro is executed by CYANA, otherwise the program will prompt for interactive input. The macro name can be given with or without the .cya extension.

The cyana command can only be invoked from the Unix shell. The command syntax follows Unix (not INCLAN) conventions.

Options:

-h
help
-c command
command to start program
-S
run in safe mode, i.e. within one directory
-t system
use executable for explicit system type
-x
display name of executable without executing it

Executables for several different system types can be installed simultaneously. The cyana script chooses automatically an executable that is suitable for the present computer and operating system. Alternatively, the system can be chosen explicitly with the -t option.

Example

The -c option can be used, for example, to start a parallel MPI version of the program with mpirun, or to run CYANA under the control of a debugger. For example,

cyana -t intel-debug -c gdb

starts a CYANA version for the system type intel-debug (compiled with the Intel Fortran compiler using switches to include debugging information) under the control of the GNU debugger, gdb.

The cyanajob script provides a convenient way to run CYANA calculations in parallel and/or in batch mode.

See also