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

Re: [Condor-users] Condor and python scripts



might want to try: http://www.pgbovine.net/cde.html 

b/c you never know where you might land. 

Cheers,
Tim

----- Original Message -----
> From: "Brian Candler" <B.Candler@xxxxxxxxx>
> To: condor-users@xxxxxxxxxxx
> Sent: Wednesday, October 17, 2012 4:04:33 PM
> Subject: [Condor-users] Condor and python scripts
> 
> I was wondering if there are any guidelines for running multi-file
> python
> apps as condor jobs.
> 
> Apart from sticking all the modules onto a shared filesystem, I was
> thinking
> of bundling up the app and all the modules it depends on into a zip
> archive,
> and pushing that out, since Python can import directly from a zip
> file.
> 
> Either way, I don't want to push the python interpreter itself out;
> I'm
> happy to rely on the one on the target system. Is something like the
> following reasonable, or are there any pitfalls in this?
> 
> executable = python
> transfer_executable = false
> arguments = -mmymain
> transfer_input_files = mylibs.zip
> environment = PYTHONPATH=mylibs.zip
> 
> Thanks,
> 
> Brian.
> _______________________________________________
> 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/
>