CYANA script: cyana: Difference between revisions
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | |||
== Synopsis == | == Synopsis == | ||
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 |
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.