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

Re: [Condor-users] Job not running



Try statically linking your executable. Likely the remote machines don't have the libraries your executable needs to execute. Check out this article for tips on static linking of C++ code with g++: http://www.trilithium.com/johan/2005/06/static-libstdc/
 
- Ian


From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Tanzima Zerin Islam
Sent: Sunday, November 23, 2008 7:03 PM
To: Condor-Users Mail List
Subject: [Condor-users] Job not running

Hi,
 I have a C++ program that uses STL. I tried condor_compile and g++ version 3.4.6 to compile this code to
generate a condor checkpointable executable, but it gave all sorts of error messages saying the STL
functions are all undefined. I tried g++ version 3.2.2, still with no luck. Then I tried version 4.1.2-42, and
it worked. But the problem I am facing is, this executable runs fine when I run it from command prompt.
But when I submit it as a condor job, the job finishes within one second, and does not produce and error
or any output. I guess is that condor failed to run the executable at all? What could be the reason for this?
I am submitting the job to execute in the same machine where I built the executable with version 4.1.2.
Is it possible that condor has any other version of gcc set as default? Or anybody has any idea?

Thanks.
Tan

--
--
Tanzima Zerin Islam
Graduate Student
School of Electrical & Computer Engineering
Purdue University


Confidentiality Notice.
This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.