# Configuration file
# These values could be overridden by ~/.astkrc/config

#-------------------------------------------------------------------------------
# default version (used by as_run --get, --show...)
default_vers : ?ASTER_VERSION?

# development version (last NEW, for make and updates)
version_dev : ?ASTER_VERSION?

# default mode for as_run --show, --get, --getop...
default_local : True

#-------------------------------------------------------------------------------
# protocol to use for automatic update
# HTTP : http_server_{ip,user} variables are used
# others (RCP, SCP...) : devel_server_{ip,user} are used
update_protocol : HTTP

# Code_Aster web server
http_server_ip : www.code-aster.org
http_server_user : anonymous

# repository of update files on the http server
http_rep_maj : /FICHIERS

# development server
# remote ip address (or full qualified name)
devel_server_ip : aster.cla.edfgdf.fr

# repository of update files on the server
devel_rep_maj : /aster/vl/NEW8/sauv

#-------------------------------------------------------------------------------
# ----- local installation
# Code_Aster root directory
aster_root : ?ASTER_ROOT?

# local repository where update files can be downloaded before
local_rep_maj : /tmp

# root of temporary space for astk services
rep_tmp : /tmp

# "Aster" platform
# (one of SOLARIS, SOLARIS64, TRU64, IRIX, P_LINUX)
plate-forme : ?IFDEF?

# temporary directory for Aster executions
rep_trav : /tmp

# choose True to create symbolic links instead of copying executable and catalogs
symlink : True

# FLASH directory create in HOME of users
flash_srv : flasheur

# text editor (must accept '-display XXX' argument syntax)
editeur : ?EDITOR?

#-------------------------------------------------------------------------------
# nodes of the cluster for interactive calculation or
# to call batch commands
noeud : ?NODE?

#-------------------------------------------------------------------------------
# Code_Aster versions (there are only labels)
# for each version a config.VVV file must be created.
# DO NOT EDIT FOLLOWING LINE !
#?vers : VVV?

#-------------------------------------------------------------------------------
# ----- batch/interactive configuration
# Only LSF and Sun Grid Engine are supported now
# PBS support is always experimental

# batch : oui/non Choose 'oui' if a batch scheduler is available
# batch_memmax : memory limit in batch mode (MB)
# batch_tpsmax : cpu time limit in batch mode (hh:mm:ss)
# batch_nbpmax : max proc number in batch mode
batch : non
batch_memmax : 12000
batch_tpsmax : 72:00:00
batch_nbpmax : 4

# type of batch queues (not yet used)
classe_groupe : urgent dvp
classe : urgent urgent
classe : dvp dev128M_3m dev256M_2h dev512M_2h dev2G_5h

# interactif : oui/non Choose 'non' to prohibit interactive calculation
# memory limit in interactive mode (MB)
# cpu time limit in interactive mode (hh:mm:ss)
# max proc number in interactive mode
interactif : oui
interactif_memmax : 2048
interactif_tpsmax : 99:00:00
interactif_nbpmax : 4

#-------------------------------------------------------------------------------
# ----- batch commands
# bach_nom : one of LSF, SunGE, PBS
# batch_ini : initialisation (shell script, sh/ksh syntax)
# batch_sub : command to submit a job
# batch_jid : variable to get the job number
# batch_job : to display information about jobs
# batch_kil : to delete jobs
# --- Sun Grid Engine example
batch_nom : SunGE
batch_ini : /opt/SunGE6.0/default/common/settings.sh
batch_sub : /opt/SunGE6.0/bin/lx24-x86/qsub
batch_jid : JOB_ID
batch_job : /opt/SunGE6.0/bin/lx24-x86/qstat
batch_kil : /opt/SunGE6.0/bin/lx24-x86/qdel

# --- LSF example
#batch_nom : LSF
#batch_ini : /usr/opt/lsf/conf/profile.lsf
#batch_sub : /usr/opt/lsf/4.2/alpha5/bin/bsub
#batch_jid : LSB_JOBID
#batch_job : /usr/opt/lsf/4.2/alpha5/bin/bjobs
#batch_kil : /usr/opt/lsf/4.2/alpha5/bin/bkill

# --- PBS example
#batch_nom : PBS
#batch_ini : 
#batch_sub : /local/openpbs-2.3.16/bin/qsub
#batch_jid : PBS_JOBID
#batch_job : /local/openpbs-2.3.16/bin/qstat
#batch_kil : /local/openpbs-2.3.16/bin/qdel

#-------------------------------------------------------------------------------
# ps commands : uncomment lines corresponding to your platform
# LINUX :
#?P_LINUX?ps_cpu : /bin/ps -e --width=512 -ocputime -ocommand
#?P_LINUX?ps_pid : /bin/ps -e --width=512 -opid -ocommand
# TRU64 :
#?TRU64?ps_cpu : /bin/ps -e -ocputime -ocommand
#?TRU64?ps_pid : /bin/ps -e -opid -ocommand
# SOLARIS :
#?SOLARIS?ps_cpu : /bin/ps -e -otime -oargs
#?SOLARIS?ps_pid : /bin/ps -e -opid -oargs
# SOLARIS64 :
#?SOLARIS64?ps_cpu : /bin/ps -e -otime -oargs
#?SOLARIS64?ps_pid : /bin/ps -e -opid -oargs
# IRIX :
#?IRIX?ps_cpu : /bin/ps -e -ocputime -ocommand
#?IRIX?ps_pid : /bin/ps -e -opid -ocommand

#-------------------------------------------------------------------------------
# debug command :
#  @E will be remplaced by the name of the executable
#  @C will be remplaced by the name of the corefile
#  @D will be remplaced by the filename which contains "where+quit"
#  @d will be remplaced by the string 'where ; quit'
#
# GDB :
#?P_LINUX?cmd_post : gdb -batch --command=@D @E @C
#?P_LINUX?cmd_dbg : ddd --debugger gdb --command=@D @E @C
# DBX -c + filename :
#?TRU64?cmd_post : dbx -c @D @E @C
#?TRU64?cmd_dbg : dbx -c @D @E @C
#?IRIX?cmd_post : dbx -c @D @E @C
#?IRIX?cmd_dbg : dbx -c @D @E @C
# DBX -c + string (solaris) :
#?SOLARIS?cmd_post : dbx -c @d @E @C
#?SOLARIS?cmd_dbg : dbx -c @d @E @C
#?SOLARIS64?cmd_post : dbx -c @d @E @C
#?SOLARIS64?cmd_dbg : dbx -c @d @E @C

#-------------------------------------------------------------------------------
# ----- AGLA section
# AGLA directory (=local for all machines except the AGLA one)
rep_agla : local

# only for AGLA machine
rep_agla_bin   : /aster/agla/bin
rep_identAster : /aster/agla
rep_aster      : /aster
rep_outils     : /aster/outils
rep_foresys    : /aster/adm/foresys
rep_time       : /usr/bin
rep_rex        : /aster/rex/anomalie2000

