Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Stork not setting LD_LIBRARY_PATH defined in STORK_ENVIRONMENT
- Date: Thu, 15 Sep 2005 13:15:13 +0200
- From: Emir Imamagic <eimamagi@xxxxxxx>
- Subject: [Condor-users] Stork not setting LD_LIBRARY_PATH defined in STORK_ENVIRONMENT
Hi,
I'm using Condor 6.7.10 and latest Stork contib modules. Globus
installation is in a non-standard directory /home/globus/globus, so I
added environment variables in STORK_ENVIRONMENT:
STORK_ENVIRONMENT =
PATH=/home/globus/globus/bin;LD_LIBRARY_PATH=/home/globus/globus/lib
However, Condor doesn't set the LD_LIBRARY_PATH value. Every stork job
fails with error:
"GLOBUS error: globus-url-copy: error while loading shared libraries:
libglobus_gass_copy_gcc32.so.0: cannot open shared object file: No such
file or directory\n"
Weird thing is that PATH variable is certainly setup correctly - i tried
removing PATH definition from STORK_ENVIRONMENT and I got following error:
"GLOBUS error: sh: line 1: globus-url-copy: command not found\n"
Error was gone once I returned PATH to STORK_ENVIRONMENT.
I tested modules directly from command line and they worked perfectly.
I also replaced one of the modules with following script:
--------------------------------------------------------------------------
#!/bin/sh
/bin/env > /tmp/stork.environment
export LD_LIBRARY_PATH=/home/globus/globus/lib
/opt/condor/libexec/stork.transfer.http-file.real $@
--------------------------------------------------------------------------
and added another variable in STORK_ENVIRONMENT:
--------------------------------------------------------------------------
STORK_ENVIRONMENT =
PATH=/home/globus/globus/bin;LD_LIBRARY_PATH=/home/globus/globus/lib;MOJA_VARIJABLA=emir
--------------------------------------------------------------------------
That type of transfer (http-file) worked perfectly. In the output of env
command you can see that Condor doesn't set LD_LIBRARY_PATH:
--------------------------------------------------------------------------
$ cat /tmp/stork.environment
TERM=xterm
CONDOR_PARENT_ID=grozd:32321:1126782283
PATH=/home/globus/globus/bin
_=/bin/env
MOJA_VARIJABLA=emir
PWD=/opt/condor-6.7.10/local.grozd/log
X509_USER_CERT=
_CONDOR_ANCESTOR_32321=32330:1126782298:2707586304
LANG=en_US.iso885915
_CONDOR_ANCESTOR_32319=32321:1126782283:2707586305
SHLVL=2
CONDOR_INHERIT=32321 <moja_adresa:9621> 0 0
X509_USER_PROXY=
X509_USER_KEY=
--------------------------------------------------------------------------
What might be the problem here?
Thanks in advance,
Emir Imamagic