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

[HTCondor-users] condor_qsub interpreter



Hi all,

I am a new Condor user and I am trying the several ways to launch jobs.

I have a very simple python script :
------------------------
#!/usr/bin/python
import sys
print sys.argv[1]
------------------------

I can launch it without Condor doing :
    ./script.py Hello

I can launch it with Condor doing:
    condor_qsub -S /usr/bin/python script.py Hello

But it doesn't work with:
    condor_qsub script.py Hello

I don't understand why the first line (shebang) of the script is not enough for Condor to understand that it is a python script and launch it the proper way ?

Cheers,
Mathieu Bahin

--
---------------------------------------------------------------------------------------
| Mathieu Bahin
| IE CNRS
|
| Institut de Biologie de l'Ecole Normale SupÃrieure (IBENS)
| Biocomp team
| 46 rue d'Ulm
| 75230 PARIS CEDEX 05
---------------------------------------------------------------------------------------