Changeset 29 for trunk/oar/oar-envsh
- Timestamp:
- Nov 30, 2011, 10:42:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oar/oar-envsh
r20 r29 28 28 29 29 exec /opt/oar/current/bin/oarsh $HOST "$MYENV $@" 30 31 exit 32 33 ################################################################ 34 35 Documentation in Perl POD format (man perlpod) 36 37 =head1 NAME 38 39 oar-envsh - oarsh with env variable transmit 40 41 =head1 SYNOPSIS 42 43 oar-envsh node command 44 45 =head1 DESCRIPTION 46 47 C<oar-envsh> need to be executed inside an OAR cluster. 48 It's a simple wrapper around C<oarsh> command 49 which is a wrapper around C<ssh> command! 50 51 With C<oar-envsh>, almost all env variable are export 52 in the new shell except the following: 53 54 USER TERM OAR* SGE_* LS_COLORS 55 ENV BASH_ENV HOSTNAME LOGNAME MAIL 56 MANPATH OMPI_MCA_plm_rsh_agent PWD 57 SHELL SSH_* SUDO_COMMAND= HOME DISPLAY 58 SHLVL 59 60 Alway use C<oarsh>, 61 only use C<oar-envsh> if really needed! 62 63 64 =head1 SEE ALSO 65 66 oarsh 67 68 69 =head1 AUTHORS 70 71 Written by : 72 73 Nicolas Capit, Grenoble - France 74 Patrick Begou - Gabriel Moreau, Grenoble - France 75 76 77 =head1 LICENSE AND COPYRIGHT 78 79 GPL version 2 or later 80 81 Copyright (C) 2011 Patrick Begou / LEGI - CNRS UMR 5519 - France 82 83 =cut
Note: See TracChangeset
for help on using the changeset viewer.