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

Re: [HTCondor-users] Why does HTCondor replace my executable with condor_exec.exe on Linux?



This is documented behavior

See https://research.cs.wisc.edu/htcondor/manual/v8.4/2_15Potential_Problems.html

On Thu, Aug 4, 2016 at 5:05 AM, Jason Liu <jason.liu@xxxxxxxxxxxxx> wrote:
Hi,

When I condor_submit a job that tells it to run /Volume/my/network/shared/drive/foo.a, it seems to run correctly. However when I print argv[0], it shows condor_exec.exe instead of foo.a. This is version 8.4.7 on Ubuntu 14.01.Â

Why does HTCondor do this? Is this a bug?

Reading the source code, it looks likeÂOsProc::StartJob() is deliberately replacing argv[0] with condor_exec.exe. Can someone explain this behaviour?

Thanks in advance.

Kind Regards
Jason

PRIVACY AND CONFIDENTIALITY NOTICE
The information contained in this message is intended for the named recipients only. It may contain confidential information and if you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this message in error please destroy it and reply to the sender immediately or contact us at the above telephone number.
VIRUS DISCLAIMER
While we take every precaution against presence of computer viruses on our system, we accept no responsibility for loss or damage arising from the transmission of viruses to e-mail recipients.


_______________________________________________
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/



--
Nathan Panike