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

Re: [HTCondor-users] Negative return value after submission



Hi

 

The return value is «-1073741790».

 

My submit file looked like this:

universe=vanilla

executable=C:\ProgramData\Anaconda2\python.exe

executable=testrun.bat

 

error=ais_submit.error

output=ais_submit.out

log=ais_submit.log

 

requirements = Machine=="XXXXXXX && OpSys == "WINDOWS"

environment = PYTHONPATH=C:\Python

transfer_input_files = average.py

 

transfer_executable = True

arguments= average.py

Queue

 

Conda is pre-installed on the node. I can e.g. activate it through anaconda shell or run python scripts directly on the node.

 

I have tried having conda in my home directory on the execute node (c:\Users\...) and also the one in the submit-file above. No difference there.

 

I was suspecting some sort of permission-issue, but the condor-slot users are member of the Users group and they have proper rights to the folder. Also I tried giving them permissions directly without luck.

 

I should probably mention  that I am submitting from a Linux machine (Centos 7). This is the only Windows-machine in our cluster.

 

P

 

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of John M Knoeller
Sent: onsdag 9. januar 2019 17.21
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Negative return value after submission

 

What is the actual value of the return?  that value may tell us something useful.

Can you show what is in your submit file? 

Is conda pre-installed on the execute node? or are you transferring it is part of the job?

Is the path to conda somewhere in your user directory? (i.e.  something like c:\Users\Ellevseth\conda)

 

-tj

 

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Peter Ellevseth
Sent: Tuesday, January 8, 2019 4:23 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Negative return value after submission

 

Hello all

 

I am trying to use condor to execute a python script via anaconda. I have installed anaconda (on windows) and created an environment. However, when I put the path the to python.exe within my environment, as executable in my submit file I get a negative return value in my log, no errors and no output.

 

I tried doing the same, but substituting the environment python.exe to the one in my anaconda installation and it works fine.

 

Anybody have any good suggestions?

 

P

 

Image removed by sender. http://signature.safetec.no/images/SafeTec_Logo2.jpg

Peter Ellevseth

Senior Safety Engineer / Senior sikkerhetsingeniør
Dir: +47 93 43 56 01 / Tel: +47 51 93 92 20 (Stavanger)
peter.ellevseth@xxxxxxxxxx
www.safetec.no


Image removed by sender. http://signature.safetec.no/images/fbnew.png Image removed by sender. http://signature.safetec.no/images/linnew.png

 

Visste du at i 2017 satt kun 60 % av alle drepte i trafikken i en bil? De resterende var enten syklister, fotgjengere eller moped/motorsyklister. Sjekk din kommune her