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

Re: [HTCondor-users] Help running condor_submit from outside a shell environment



Hi Nick,

I'm not familiar with Paramiko -- but have you considered using the HTCondor python bindings directly instead of writing a script?

Example:

https://htcondor-python.readthedocs.io/en/latest/job_management_intro.html

Brian

On Aug 30, 2017, at 6:57 PM, Nick Carleson <nick@xxxxxxxxxx> wrote:

Hi all,
 
Iâm a new Condor user, and Iâm having issues with condor_submit.
 
I have a script that builds a .submit file (letâs call it DNA.submit), and the last line runs condor_submit DNA.submit. When executing this script from the command line on my server, condor submits the file. However, when I execute it from a python script using Paramikoâs exec_command function, the script runs correctly, but condor_submit does not run. Iâve copy and pasted the call from python into server to ensure itâs the same exact command, but it simply doesnât work.
 
I actually even just tried running
exec_command(condor_submit test.sh)
From python to test if condor_submit will even run test.sh at all, and that didnât work. Anyone have experience calling condor_submit from outside the shell environment?
 
Thanks for any help you can offer!
 
Best,
Nick Carleson
Student Intern | Children's Cancer Therapy Development Institute | nick@xxxxxxxxxx
PhD Student | Oregon State University | carleson@xxxxxxxxxxxxxxx
direct: (503) 819-3343
web: http://cc-tdi.org
 
 
_______________________________________________
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/