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

RE: [Condor-users] Condor_exec.exe +Cygwin

Hi JK and all,

I have written the run.bat as you indicated .
I put my shell scripts in the argument part of the sub file: "arguments=

but I get this error message in the validation.err:
 	"bash.exe: warning: could not find /tmp, please create!
	 bash: line 1: validation: command not found".

Have you any idea about that.


-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Kewley, J (John)
Sent: Tuesday, February 08, 2005 2:03 PM
To: Condor-Users Mail List
Subject: RE: [Condor-users] Condor_exec.exe +Cygwin

> 				Executable = validation
> ...
> NB: The executable 'validation' is a shell script that
> locally works fine on cygwin1.5.11!

I use a .bat script which XP and 2000 can understand. This then calls bash,
passing on all its params (or at least the first 9, I don't know how to
specify *ALL* params).

run.bat looks like:

bash -c "%1 %2 %3 %4 %5 %6 %7 %8 %9"

You obviously need to prepend your bash script to the "arguments" list in
your submit file.

That then works fine (on the assumption that bash is located in the Windows
path when invoked under condor.

The only other problem I had was that when I installed cygwin I had
mistakenly done it for "my user only", not "all users" and although Windows
could see the bash executable it couldn't see the file structure as expected
by cygwin.

Good Luck.


Condor-users mailing list