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

Re: [Condor-users] Setting environment variable to hold remote working dir

On Thu, Aug 09, 2012 at 02:09:00PM +0200, Tomas Lid�n wrote:
> Yes, it does pass all environment variables. But I don't want to use those TMP or _CONDOR_* names - I want to set a specific environment variable that is already used by my application (and has a name that makes sense).

Ah I see. Then I think a wrapper is the right option:

SOME_VAR="$_CONDOR_JOB_IWD" exec ./runmystuff "$@"

Set "transfer_input_files = runmystuff" if necessary (i.e. the executable
isn't on all startd hosts and is not on a shared directory)