# 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 (user login should be set in ~/.astkrc/config)
# 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 configuration
# 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?

#-------------------------------------------------------------------------------
# message of the day
#motd : ?ASTER_ROOT?/motd

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

# add frontal machine (which is astk server in GUI) as a compute node
serv_as_node : True

# ...and just keep it (ignore 'noeud' list).
# This has no effect if serv_as_node is False.
only_serv_as_node : False

#-------------------------------------------------------------------------------
# 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
#ps_cpu : /bin/ps -e --width=512 -ocputime -ocommand
#ps_pid : /bin/ps -e --width=512 -opid -ocommand
ps_cpu : ?PS_COMMAND_CPU?
ps_pid : ?PS_COMMAND_PID?

#-------------------------------------------------------------------------------
# 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'
#
#cmd_post : gdb -batch --command=@D @E @C
#cmd_dbg : ddd --debugger gdb --command=@D --exec=@E --core=@C
cmd_post : ?DEBUGGER_COMMAND_POST?
cmd_dbg : ?DEBUGGER_COMMAND?

#-------------------------------------------------------------------------------
# style of ctags used (optionnal, leave commented to ignore ctags generation)
# Valid values : 'exuberant' or 'emacs'
#?CTAGS_STYLE?
#ctags_style : exuberant

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

# only for AGLA machine
agla_adm_group : asterconf
rep_agla_bin   : /aster/agla/bin
rep_identAster : /aster/agla
rep_aster      : /aster
rep_outils     : /aster/outils
rep_time       : /usr/bin
rep_rex        : /aster/rex/anomalie2000
rex_url : http://clpwdev.der.edf.fr:8080/REX
mail_ata : support-aster@deltacad.fr

