<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt"><span style="font-size: 13.3333330154419px;">Hi Kaushik,</span>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">I'm sorry for the problem with parallel autobuilding!</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">I think that parallel_autobuild is unfortunately not going to do what you want. It is for running many parallel jobs with the same starting model and combining all the results. &nbsp;It doesn't work with multiple starting
 models as I think you want it to.</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">On the error you got, I'm not quite sure what happened but it seems that perhaps the command &quot;qsub&quot; was not found:</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">
<div style="font-family: Times; font-size: medium;">RuntimeError: child process stderr output:</div>
<div style="font-family: Times; font-size: medium;">&nbsp; command: 'qsub background=False nproc=20 &quot;~phenixWorkingDir/1yya/part1/8tim/AutoBuild_run_5_/TEMP0/RUN_FILE_1&quot;'</div>
<div style="font-family: Times; font-size: medium;">&nbsp; /bin/sh: qsub: command not found</div>
</div>
<div style="font-family: Times; font-size: medium;"><br>
</div>
<div style="font-family: Times; font-size: medium;">It is a little surprising that this would happen in parallel_autobuild and not in autobuild. &nbsp;However perhaps in autobuild you specified that the multiple jobs are to be run with &quot;sh&quot; (run_command=sh) and
 in parallel_autobuild it was with qsub (run_command=qsub). &nbsp;<br>
<br>
Let me know if that does not help,</div>
<div style="font-family: Times; font-size: medium;"><br>
</div>
<div style="font-family: Times; font-size: medium;">All the best,</div>
<div style="font-family: Times; font-size: medium;">Tom T</div>
<div><br>
</div>
<div></div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF662470" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> phenixbb-bounces@phenix-online.org [phenixbb-bounces@phenix-online.org] on behalf of Kaushik Hatti [hskaushik@gmail.com]<br>
<b>Sent:</b> Monday, April 27, 2015 12:05 AM<br>
<b>To:</b> phenixbb@phenix-online.org<br>
<b>Subject:</b> [phenixbb] Autobuild on parallel<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>What is the best way to run Autobuild if I need to run it on hundreds of datasets (through command-line)?&nbsp; I have a single machine with 24 cores and access to a cluster with 128 cores (on parallel; accessible only through PBS script). &nbsp;<br>
</div>
<div><br>
</div>
<div>Each Autobuild job with nproc=4 on a single core machine takes ~12 hours to run (nproc &gt; 4 wouldn't make any difference in the speed of computation?!).&nbsp; However, I read that I could set&nbsp;nproc=10 (or more)&nbsp;and&nbsp;run on parallel (<a href="https://www.phenix-online.org/documentation/reference/autobuild.html#parallel-jobs-nproc-nbatch-number-of-parallel-models-and-how-autobuild-works-in-parallel" target="_blank">https://www.phenix-online.org/documentation/reference/autobuild.html#parallel-jobs-nproc-nbatch-number-of-parallel-models-and-how-autobuild-works-in-parallel</a>).&nbsp;
 When I tried the same through PBS script, I got the following error,</div>
<div><br>
</div>
<div>XXXXXXXXXXXXXX</div>
<div>
<div>Running up to &nbsp;1 &nbsp;jobs in parallel... with total of &nbsp;3 &nbsp;jobs</div>
<div><br>
</div>
<div>Splitting work into 3 jobs and running with 1 processors using qsub background=False nproc=20</div>
<div>background=False in ~phenixWorkingDir/1yya/part1/8tim/AutoBuild_run_5_/TEMP0</div>
<div>Final job will be run with sh &nbsp;with background=True</div>
<div>Starting job 1...Log will be: ~phenixWorkingDir/1yya/part1/8tim/AutoBuild_run_5_/TEMP0/RUN_FILE_1.log</div>
<div>Traceback (most recent call last):</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/phenix/phenix/autosol/AutoBaseExtend.py&quot;, line 989, in DoNextMethod</div>
<div>&nbsp; &nbsp; self.CarryOutBest() &nbsp; &nbsp; # to be obtained after it is finished</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/phenix/phenix/autosol/AutoBaseExtend.py&quot;, line 2147, in CarryOutBest</div>
<div>&nbsp; &nbsp; getattr(self,str(self.application_method))() &nbsp;# call this fn</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/phenix/phenix/wizards/AutoBuild.py&quot;, line 2364, in AutoBuild_build_cycle</div>
<div>&nbsp; &nbsp; self.AutoBuild_rebuild_cycle_run()</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/phenix/phenix/wizards/AutoBuild.py&quot;, line 4647, in AutoBuild_rebuild_cycle_run</div>
<div>&nbsp; &nbsp; always_reuse_model=always_reuse_model)</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/phenix/phenix/wizards/AutoBuild.py&quot;, line 7452, in AutoBuild_build_refine</div>
<div>&nbsp; &nbsp; mtz_file=mtz_file,mtz_ref_file=mtz_ref_file)</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/phenix/phenix/wizards/AutoBuild.py&quot;, line 7696, in run_standard_build_in_parallel</div>
<div>&nbsp; &nbsp; r.run(out=sys.stdout)</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/phenix/phenix/autosol/run_group_of_wizards.py&quot;, line 294, in run</div>
<div>&nbsp; &nbsp; self.start_run(run_file,last=is_last)</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/phenix/phenix/autosol/run_group_of_wizards.py&quot;, line 604, in start_run</div>
<div>&nbsp; &nbsp; cmd&#43;&quot; &quot;&#43;self.add_double_quote(run_file,escape_space=False)).raise_if_errors()</div>
<div>&nbsp; File &quot;~opt/phenix-1.9-1692/cctbx_project/libtbx/easy_run.py&quot;, line 37, in raise_if_errors</div>
<div>&nbsp; &nbsp; raise Error(msg)</div>
<div>RuntimeError: child process stderr output:</div>
<div>&nbsp; command: 'qsub background=False nproc=20 &quot;~phenixWorkingDir/1yya/part1/8tim/AutoBuild_run_5_/TEMP0/RUN_FILE_1&quot;'</div>
<div>&nbsp; /bin/sh: qsub: command not found</div>
</div>
<div><br>
</div>
<div>XXXXXXXXXXXXXX</div>
<div><br>
</div>
<div>Please let me know if I can share eff and log files of the run.</div>
<div><br>
</div>
<div>Please advice,<br>
</div>
<div>Kaushik</div>
<div><br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">People living deeply have no fear of death - Anais Nin<br>
Caution: I am still the dumbest person I have ever known :-)<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>