Hi&nbsp;<div>I am giving new &nbsp;to Phenix and the Phenix GUI. For starters &nbsp;I am trying to run the prime and switch strategy in Phenix.</div><div><br></div><div>I know all my inputs are fine (see below) &nbsp;but the program aborts ( GUI turns red ) after a few seconds.</div>
<div><br></div><div>I checked the <a href="http://resolve.com">resolve.com</a> file in the directory and it has a command &quot;unlimit&quot; which in Leopard causes the following output to be echoed to the stdout</div><div>
&quot;unlimit: descriptors: Can&#39;t remove limit (Invalid argument)&quot;</div><div><br></div><div>Once I deleted the unlimit command I can run the script just fine from a shell.</div><div><br></div><div>My question is how can I tweak the Phenix GUI so that I dont have to run everything from the shell by manually editing the <a href="http://resolve.com">resolve.com</a> file.</div>
<div>The script that stops the GUI is reproduced here.<br></div><div>Thanks for your help</div><div><br></div><div>Hari Jayaram</div><div>Postdoc , Brandeis University</div><div><br></div><div><br></div><div>script:</div>
<div><br></div><div><div>#!/bin/csh &nbsp;</div><div>setenv SOLVEDIR /usr/local/phenix-1.3b-rc6/solve_resolve/ext_ref_files</div><div>setenv SOLVEBIN /usr/local/phenix-1.3b-rc6/build/mac-intel-osx/solve_resolve/exe</div><div><br>
</div><div>#</div><div>setenv CCP4_OPEN UNKNOWN</div><div>setenv SYMOP $SOLVEDIR/symop.lib</div><div>unlimit</div><div>#</div><div><br></div><div><br></div><div>$SOLVEBIN/resolve&lt;&lt;EOF</div><div>access_file mirima.dat</div>
<div>labin &nbsp;FP=F_s3-3 FC=FC PHIC=PHIC FOM=FOM FWT=FWT&nbsp;</div><div>hklin resolve_input.mtz</div><div>mask_cycles 5</div><div>minor_cycles 10</div><div>hklout testpms-resolve.mtz</div><div>no_build</div><div>prime_and_switch&nbsp;</div>
<div><br></div><div><br></div><div>EOF</div><div><br></div><div>unlimit returns------------&gt;</div><div><br></div><div><div>[mango:hj/s3-3/prime_switch] hari% unlimit</div><div>unlimit: descriptors: Can&#39;t remove limit (Invalid argument)</div>
</div></div>