Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] USER variable in HTCondor
- Date: Fri, 14 Oct 2016 14:48:28 +0200
- From: Labounek René <xlabou01@xxxxxxxxxxxxxxxxxx>
- Subject: [HTCondor-users] USER variable in HTCondor
Dear condor users,
I have a problem with USER variable throuh condor job.
____________________________________________________________
Here is how my batch.condor file look like:
Executable = /hd1/AnkleStim1_3.ica/condor_log/batch.sh
Universe = vanilla
Output = /hd1/AnkleStim1_3.ica/condor_log/batch.out
Error = /hd1/AnkleStim1_3.ica/condor_log/batch.error
Log = /hd1/AnkleStim1_3.ica/condor_log/batch.log
Queue
_____________________________________________________________
The /hd1/AnkleStim1_3.ica/condor_log/batch.sh file:
#!/bin/bash
. /etc/fsl/5.0/fsl.sh
cd /md1/NM-RMV/NM-RMV-091/Results/AnkleStim1_3.ica
whoami
echo $USER
USER=pavel
echo $USER
nice -n 10 featregapply ./
______________________________________________________________
The /hd1/AnkleStim1_3.ica/condor_log/batch.out file:
pavel@emperor:/hd1/AnkleStim1_3.ica/condor_log$ cat batch.out
pavel
pavel
pavel@emperor:/hd1/AnkleStim1_3.ica/condor_log$
_______________________________________________________________
The /hd1/AnkleStim1_3.ica/condor_log/batch.error file:
can't read "env(USER)": no such element in array
while executing
"set USER $env(USER)"
(file "/usr/share/fsl/5.0/tcl/fslstart.tcl" line 6)
invoked from within
"source $env(FSLDIR)/tcl/fslstart.tcl"
(file "/usr/lib/fsl/5.0/featregapply" line 81)
_________________________________________________________________
Do you have any ideas, where the problem could be?
Faithfuly,
Rene Labounek