oar-envsh - oarsh with env variable transmit
oar-envsh node command
oar-envsh
need to be executed inside an OAR cluster.
It's a simple wrapper around oarsh
command
which is a wrapper around ssh
command!
With oar-envsh
, almost all env variable are export
in the new shell except the following:
USER TERM OAR* SGE_* LS_COLORS ENV BASH_ENV BASH_FUNC_* HOSTNAME LOGNAME MAIL MANPATH PWD OMPI_MCA_orte_rsh_agent OMPI_MCA_plm_rsh_agent SHELL SSH_* SUDO_COMMAND= HOME DISPLAY SHLVL
Note: the variable GMON_OUT_PREFIX use by the GNU Profiler is exported
if defined width the good Hostname
value on each node.
With oar-envsh
, some ulimit are also transfert in the new shell.
Actually, we only transfert:
-l locked memory -n open files -s stack size
Alway use oarsh
,
only use oar-envsh
if really needed!
oarsh
Written by :
Nicolas Capit, Grenoble - France Patrick Begou - Gabriel Moreau, Grenoble - France
GPL version 2 or later
Copyright (C) 2011-2015 Patrick Begou / LEGI - CNRS UMR 5519 - France