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

Re: [HTCondor-users] Running Pyhton 3 jobs on different os



Hello Werner,


personally, I am new to condor. But maybe the command +Precmd is the right one to choose in your case (maybe I am wrong).

Reference:

https://batchdocs.web.cern.ch/tutorial/exercise5a.html

Regards,

Felix

On 15/02/2021 09:55, Werner Koppelstätter wrote:
Hi all,

We use HTCondor with python binding and has Windows and Linux (Ubuntu) workstation in our cluster.
Now we want run Python 3 jobs. The problem is that the command for Python 3 on windows systems is "python" and for Linux system "python3".

Is there a possibility to define commands depending of the OS? For example through an _expression_ which is evaluated or a script before the job starts?


Thank you.

Regards,
Werner

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