Scroll to navigation

AS_RUN(1) Astk Main Commands AS_RUN(1)


as_run - as_run command


A short usage summary.

as_run action [ options ] [ arguments ]


This manual page documents briefly the as_run command


Return the main subroutine of a code_aster command
- Return current release number of the development version
Copy a source file in current directory
Show a source file : fortran, c, python, capy, cata, histor or test
Show the diff of a source file : fortran, c, python, capy, cata or test
Build an export file to run a testcase and print it to stdout
Build a code_aster version (executable, libraries, catalogues). target may be all or clean
Perform one or several updates of a development version
Download available updates from a server and apply them to the current development version
Download available updates from a server and update astk/as_run itself
Build the diagnosis of code_aster testcases (from dir or default astest directory) and write a pickled file of the result.
Build a list of testcases using a list of command/keywords and/or verifying some criterias about cputime or memory.
Build ctags file
Operation on code_aster messages catalogues. subroutine returns messages called by "subroutine". message_number returns subroutines calling this message. check returns check messages catalogues and print some stats. move a message from a catalogue to another and produce new catalogues and new source files.
Send the content of filename (may be on a remote host) to EMAIL1,EMAIL2,..
Return cpu and memory informations about given hosts
Execute the execution described by the profile (default action)
Start an execution (calling as_run in a separate process)

Returns informations from astk server configuration : batch, interactive (yes/no, limits), compute nodes, versions

Returns the state, diagnosis, execution node, spent cpu time and working directory of a job

Opens output or error file on the provided display

Output the last part of fort.6 file or filter lines matching a pattern

Kill a job and delete related files

Delete files of jobs which are not in the list

Insert a new issue in database and copy attached files if an export file is provided

Extract the content of issues listed in input_file to histor

Fill "corrvdev" or "corrvexpl" field (depends on vers) in issues found in histor and eventually close them

Prepare the profile to insert an execution into a database.


General options

show program's version number and exit
show this help message and exit
increase verbosity
run as silent as possible
print debugging information
disable printing of debugging information to stderr
force operations which can be cached (download, compilation...)
value of DISPLAY variable (NOTE : some functions read it from a file)
use resources directory $HOME/.astkrc_'SUFFIX'
remote protocol used for shell commands
remote protocol used to copy files and directories
editor command
login on the development server (name/ip address is usually set in /etc/codeaster/asrun)

Options for maintenance operations

filters applied to the testcases parameters : 'nom_para < valeur' (supported comparison <, >, =).
Code_Aster version to used (for get, show, getop)
Force upgrade to the next release (for example from 10.1.xx to 10.2.0)
redirect the result to FILE instead of stdout.
one or more directories (comma separated) containing additionnal python source files
use another "config.txt" file (only used for make, update and auto_update).
report only errors (but time spent by passed testcases is included)
one or more directories (comma separated) containing additionnal fortran source files
get all the files of the test
root directory to install
update a version increment by increment and keep intermediate executable
keep testcases matching the given regular expression (or simple string).
a unigest file (for deletion)
keep testcases using the given command and keywords.
list of the testcases
email address to send the report of a execution (only used for --auto_update)
file containing testlist.FILTRE classes. See [...]/share/codeaster/asrun/examples/ for an example.
testcases directory to watch
development version of Code_Aster (for make, update, auto_update, getversion)
files will not been searched on a server but on the local machine
force remote files search (reverse of --local)

Options for operations on jobs

signal to the job (KILL|USR1)

Options for issue tracker interface

raise an error if issues are not in this status
retrieve all the messages of issues
format of generated histor file (text or html)


/etc/codeaster default configuration directory /etc/codeaster/astkrc default configuration directory for astk


The Debian Scientific Computing Team

April 2010 Code Aster 10.2.0