[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Shell default environment variables were gone



Dear All,

   Recently I run into one trouble.

   I put several condor versions under /scratch/grid, and my local setting, condor-etc.
      [root@gk grid]# ls -la
      lrwxrwxrwx    1 root     root           21 Mar  3 00:12 condor -> condor-6.7.17-dynamic
      drwxr-xr-x   11 root     root         4096 Mar  2 10:02 condor-6.7.14-dynamic
      drwxr-xr-x   12 root     root         4096 Mar  2 10:06 condor-6.7.14-static
      drwxr-xr-x   11 root     root         4096 Mar  2 17:58 condor-6.7.17-dynamic
      drwxr-xr-x   11 root     root         4096 Mar  3 00:04 condor-6.7.3-dynamic
      drwxr-xr-x   13 root     root         4096 Mar  2 10:20 condor-6.7.7-static
      drwxr-xr-x    2 root     root         4096 Mar  7 17:46 condor-etc

      [root@gk grid]# ls -la condor/
      drwxr-xr-x    3 root     root           21 Feb 18 20:28 etc
      lrwxrwxrwx    1 root     root           24 Mar  2 17:58 myetc -> /scratch/grid/condor-etc

   One symbolic link points to the condor I use, and one for condor setting
   I can start codnor daemons, both in manager node and execution nodes.


   The problem is that,
      I submit a very simple tcsh shell script to condor.
      But I can not get the variable, $PATH, in tcsh shell, also in bash.
      It seems it ignores system source file.

   Below is the output of command, printenv, in tcsh shell
      _CONDOR_SCRATCH_DIR=/condor_local/execute/dir_4712
      _CONDOR_ANCESTOR_29802=3829:1141724207:3428512000
      _CONDOR_ANCESTOR_3829=4712:1141725109:3428512004
      _CONDOR_ANCESTOR_4712=4714:1141725110:976216192
      HOSTTYPE=i386-linux
      VENDOR=intel
      OSTYPE=linux
      MACHTYPE=i386
      SHLVL=1
      PWD=/condor_local/execute/dir_4712
      LOGNAME=tsan
      USER=tsan
      GROUP=cdf
      HOST=osgwn007.phys.sinica.edu.tw


   Thank You for helping.

tsan
---
Room 411, Institute of Physics, Academia Sinica, Nankang, Taipei, Taiwan, 11529, R.O.C.

[TEL: 886-2-2788-0058#4045] [Mobil: 0955092291] [FAX: 886-2-2788-9828] [MSN: yuwanyi@xxxxxxx] [Skype: tsanlung]