congrates that your thing starts working.
Now coming to your problem,
This prob. arise because of two reasons,
first you have not specified shell interpreter at the first line of
script, so suggest you to add #!/bin/sh as your first line in your
batch_job.sh script.
second your execute machine should get the ROOT environment,
so in the starting of script source root environment
i dont know in your case where is ROOT installed
it should be like this,
source <path_to_root>
So your batch file should look like this
#!/bin/sh
source <path_to_root>
root -l ran3.C -q
After this your jobs should execute,
provided all the directory permissions are correct.
I suggest that before running this, try to run a simple
shell script which just echo some message.
cheeers,
On Fri, Feb 3, 2012 at 6:17 PM, Dr. Sunil M. Dogra
<smdogra@xxxxxxxxx> wrote:
Thank you for response.
I restart the condor service and it worked
But I still have few questions
I am running follow script to run my jobs
==========
#!/bin/sh -f
Universe = vanilla
Initialdir = /export/sunil/condor_test1
Executable = batch_job.sh
Output = /export/sunil/err/outjob.out.$(Process)
Error = /export/sunil/err/errjob.err
Log = /export/sunil/err/log.job.log.$(Process)
Queue 10
==========
Also my executable file is batch_job.sh following line
root -l ran3.C -q
But gives error and goes to held state.
Failed to execute '/export/sunil/condor2/batch_job.sh': (errno=8: 'Exec format error') Code 6 Subcode 8
Any idea why this is happening
with Best Regards
sunil
On Fri, Feb 3, 2012 at 5:54 PM, Raman Sehgal
<sc.ramansehgal@xxxxxxxxx> wrote:
Hello Sunil,
First of all regarding your message after condor_q/condor_status
You can safely ignore this message, it has nothing to do with your job.
Now coming to your job state,
First i want to know whether your job goes in running state or not, may be
after a long,
If it does not go to running state that means either the jobs requirements does match
machine classAds. or you have not configured your execute machine to execute the jobs.
Only after knowing these details we can go ahead.
cheers,
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/