<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
<p>First, I'm new to slurm, I'm used to PBS Pro. But we're getting a new system, and they still configuring it. I'm a pioneer user for this new system. I'm t<span style="font-size: 12pt;">rying to submit an sbatch job with a python script (not the usual
bash or csh script). This scrips works with qsub for PBS Pro; so basically trying to convert parts of it for slurm.</span></p>
<p><br>
</p>
<p>%>. sbatch my_submit_script.py </p>
<p><br>
</p>
<p>Question: </p>
<p><br>
</p>
<p>Why does slurm fail my python file when I attempt to import a subcomponent of a python package? Seems that I am forced to import the entire package. </p>
<p><br>
</p>
<p>For example, when I attempt </p>
<p><br>
</p>
<p>```from time import sleep```</p>
<p> </p>
<p>the script will fail, whereas </p>
<p><br>
</p>
<p>```import time```</p>
<p><br>
</p>
<p>works?</p>
<p><br>
</p>
<p> Is this a slurm, python configuration issue ? Or does slurm's python integration have a problem with importing subcomponents of a package in python ?</p>
<p><br>
</p>
<p><br>
</p>
</div>
</body>
</html>