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

Re: [Condor-users] Python and Condor

On Thu March 29 2007, simon kagwe wrote:
> Hi,
>   Thank you Nick for your answers.
>   So does it mean the machines will have to share a filesystem.? I was
> trying to avoid using NFS or AFS. The whole reason I was going to implement
> it on Linux was to take advantage of checkpointing and remote system calls.

No, not at all.  It just means that you need to build your own Python 
interpreter on your submit machine (let's say you've installed it 
as /usr/local/bin/cpython).  Then, when you submit your job, your submit file 
would look something like this

universe = standard
executable = /usr/local/bin/cpython
arguments = myscript.py
should_transfer_files = yes
when_to_transfer_output = ON_EXIT
transfer_executable = true
transfer_input_files = myscript.py

Condor will transfer the executable for you (because transfer_executable is 
true - you shouldn't need to specify this, but it doesn't hurt), and your 
script (because it's in the input file list).

Also, if my memory serves me correctly, people have built standard universe 
pythons before.

All warranties, express and implied, are void.  ;)

Hope this helps


           <<< Follow the white rabbit. >>>
 /`-_    Nicholas R. LeRoy               The Condor Project
{     }/ http://www.cs.wisc.edu/~nleroy  http://www.cs.wisc.edu/condor
 \    /  nleroy@xxxxxxxxxxx              The University of Wisconsin
 |_*_|   608-265-5761                    Department of Computer Sciences