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

Re: [HTCondor-users] use comndor_submit for shell script



Jiande,

Could you share your submit file?

Klaus






From:        Jiande Wang <jiande.wang@xxxxxxxx>
To:        HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>,
Date:        26/01/2014 04:14
Subject:        Re: [HTCondor-users] use comndor_submit for shell script
Sent by:        "HTCondor-users" <htcondor-users-bounces@xxxxxxxxxxx>




I got the same error even I put full path for the executable.


On Jan 26, 2014, at 12:46 AM, Dennis Zheleznyak <
dennis@xxxxxxxxxxxxx> wrote:

Hi :)

Remove the ./ from the executable = :)

Dennis.

On Sunday, January 26, 2014, Jiande Wang <
jiande.wang@xxxxxxxx> wrote:
Hi,
 We recently setup condor system (linux), and I am doing simple test on it.

(1) I generated an executable file (1.exe) from a simple code, then I used condor script

Universe = vanilla
Executable = ./1.exe
Error= 1.err
Output = 1.out
Queue

 This works fine.

(2) then I replace 1.exe with 1.bash in the Executable, where in 1.bash I simply echo one line of word, this works fine, too.

(3) next, I added "1.exe" in the bash script, now the bash script looks like

#!/bin/bash
echo "hello"
./1.exe
exit

After I submit the job, the echo line "Hello" appeared in the "1.out", however, in "1.err" file, it shows
"/var/lib/condor/execute/dir_8911/condor_exec.exe: line 5: ./1.exe: No such file or directory"

I checked directory /var/lib/condor/execute, it is empty, there is no "dir_8911".

so is there anything wrong in what I am doing in step 3? In other words, is this the right way to use condor submit shell script which contains executable files?
I put all shell, executable and condor files in one directory, so the path shouldn't be wrong.

Thanks in advance,

Jiande




_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to
htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:

https://lists.cs.wisc.edu/archive/htcondor-users/
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to
htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:

https://lists.cs.wisc.edu/archive/htcondor-users/_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/


This message is intended solely for the use of its addressee and may contain privileged or confidential information. All information contained herein shall be treated as confidential and shall not be disclosed to any third party without Embraer’s prior written approval. If you are not the addressee you should not distribute, copy or file this message. In this case, please notify the sender and destroy its contents immediately.
Esta mensagem é para uso exclusivo de seu destinatário e pode conter informações privilegiadas e confidenciais. Todas as informações aqui contidas devem ser tratadas como confidenciais e não devem ser divulgadas a terceiros sem o prévio consentimento por escrito da Embraer. Se você não é o destinatário não deve distribuir, copiar ou arquivar a mensagem. Neste caso, por favor, notifique o remetente da mesma e destrua imediatamente a mensagem.