Hi,My path to root is/export/root/bin/rootSo I changed but I still get the error#!/bin/shsource /export/root/bin/rootroot -l rand2.C -q/export/sunil/condor2/batch_job.sh: line 2: source: /export/root/bin/root: cannot execute binary file/export/sunil/condor2/batch_job.sh: line 2: source: /export/root/bin/root: cannot execute binary file/export/sunil/condor2/batch_job.sh: line 3: root: command not found/export/sunil/condor2/batch_job.sh: line 3: root: command not foundWith RegardssunilOn Sat, Feb 4, 2012 at 12:00 PM, Raman Sehgal <sc.ramansehgal@xxxxxxxxx> wrote:Hello Sunil,that /bin/hostname is system command, thats why it executesinteractive as well as using condor.but ROOT is not the system command, thats what i have mentioned inmy previous mail that you have to source root path, then the execute machinewill get the root envirorment, and it will execute the root macro.But it needs that ROOT must be installed in all the machines at same locationthen only the thing will work.Hope it will solve your problem,Whatever is the results please let me know.cheers,On Sat, Feb 4, 2012 at 11:28 AM, Dr. Sunil M. Dogra <smdogra@xxxxxxxxx> wrote:Thank you.I changed my batch_job.sh fie accordingly.///////////////////#!/bin/shroot -l rand2.C -q////////////////////////if I run this file it runs and give the output but when I submit the condor job its says/export/sunil/condor2/batch_job.sh: line 3: root: command not foundAlso if change the batch_job.sh file#!/bin/sh/bin/hostnameIt run both ways interactive as well as condor jobsAny suggestions ???regardssunilOn Sat, Feb 4, 2012 at 12:18 AM, Raman Sehgal <sc.ramansehgal@xxxxxxxxx> wrote:
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 ofscript, so suggest you to add #!/bin/sh as your first line in yourbatch_job.sh script.second your execute machine should get the ROOT environment,so in the starting of script source root environmenti dont know in your case where is ROOT installedit should be like this,source <path_to_root>So your batch file should look like this#!/bin/shsource <path_to_root>root -l ran3.C -qAfter this your jobs should execute,provided all the directory permissions are correct.I suggest that before running this, try to run a simpleshell 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 workedBut I still have few questionsI am running follow script to run my jobs==========#!/bin/sh -fUniverse = vanillaInitialdir = /export/sunil/condor_test1Executable = batch_job.shOutput = /export/sunil/err/outjob.out.$(Process)Error = /export/sunil/err/errjob.errLog = /export/sunil/err/log.job.log.$(Process)Queue 10==========Also my executable file is batch_job.sh following lineroot -l ran3.C -qBut gives error and goes to held state.Failed to execute '/export/sunil/condor2/batch_job.sh': (errno=8: 'Exec format error') Code 6 Subcode 8Any idea why this is happeningwith Best RegardssunilOn 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,On Fri, Feb 3, 2012 at 5:26 PM, Dr. Sunil M. Dogra <smdogra@xxxxxxxxx> wrote:
_______________________________________________Hi,I have a small condor cluster running condor-7.7.4-1.x86_64When I submit jobs it goes stay for idle state and never runs. Also I got the following message after condor_q/condor_statuscondor_q: /afs/cern.ch/project/gd/LCG-share/3.2.8-0/globus/lib/libglobus_gssapi_gsi_gcc64dbg.so.0: no version information available (required by /usr/lib64/condor/libcondor_utils.so)Any idea why my jobs, what is happening ?Thank youWith Best Regardssunil
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/
_______________________________________________
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/
_______________________________________________
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/