To add to the information provided by Francois and Ed:<div><br></div><div>The .bashrc file is read only when a new shell is started (not each time you execute a command).</div><div><br></div><div>The source phenix_env.sh command prepends an entry to PATH. To see the result try:</div>
<div><br></div><div>echo $PATH</div><div><br></div><div>This PATH determines the order in which commands are found.</div><div>If you have phenix.phaser in PHENIX and another one in CCP4, you can determine which one is used by the order in which the phenix and ccp4 directories appear in $PATH.</div>
<div><br></div><div>Ralf<br><br><div class="gmail_quote">On Thu, Jul 21, 2011 at 2:20 AM, G P <span dir="ltr">&lt;<a href="mailto:gysubscribe@gmail.com">gysubscribe@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Ralf,<div><br></div><div>Thanks a lot for your help. I changed the order and it works now. But I am wondering why? Is that means the .bashrc script will read lines from down to up which allow it to see the line of source for phenix first?</div>

<div><br></div><div>Thanks a lot again!</div><div><br></div><div>cheers,</div><div>GP</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Wed, Jul 20, 2011 at 10:35 PM, Ralf Grosse-Kunstleve <span dir="ltr">&lt;<a href="mailto:rwgrosse-kunstleve@lbl.gov" target="_blank">rwgrosse-kunstleve@lbl.gov</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hopefully, all you need to do is source phenix_env last.<div>E.g. look in your .cshrc or .bashrc file with the phenix and ccp4 source commands.</div>

<div>Reorder the commands so that phenix comes after the ccp4 command.</div>
<div>Then open a new shell and run &quot;phenix.phaser params.eff&quot; again.</div><div>Could you try that?</div><div>(I recommend against copying files from the phenix to the ccp4 tree.)</div><div>Ralf<br><br><div class="gmail_quote">

<div><div></div><div>
On Wed, Jul 20, 2011 at 11:21 AM, G P <span dir="ltr">&lt;<a href="mailto:gysubscribe@gmail.com" target="_blank">gysubscribe@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div></div><div>
Dear all,<div><br></div><div>It&#39;s long story:</div><div><br></div><div>At�beginning, I have phenix installed. I do not have CCP4 installed. Then I run &quot;phenix.phaser params.eff&quot; to call phenix run phaser from script params.eff. It works well.�</div>



<div>Then, I installed CCP4 with its own phaser inside. Then I run again &quot;phenix.phaser params.eff&quot;. The computer start to import files (should be some�libraries and�supporting files, not input data) from CCP4 installation directory. It seems so strange for me.�</div>



<div><br></div><div>And because some of the .so files in CCP4 directory are for 32bit, phenix.phaser gave me error message:�wrong ELF class: ELFCLASS32 and refused to keep running. I guess I could solve this problem by copying the same .so file in phenix directory into CCP4&#39;s directory.�<br>



<br>What I really want to know is why this happen. Is that the installation of CCP4 changed some kinds of PATH�variables for phenix? How could I fix by giving a right path again?�</div><div><br></div><div>I would�appreciate�to any help. Thanks a lot guys!</div>



<div><br></div><div>Best regards,</div><div>GP</div><font color="#888888"><div><br></div>
</font><br></div></div>_______________________________________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org" target="_blank">phenixbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/phenixbb" target="_blank">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org" target="_blank">phenixbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/phenixbb" target="_blank">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org">phenixbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/phenixbb" target="_blank">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
<br></blockquote></div><br></div>