Ok. I think I have a working version at /home/ephelps/w/trunk/build/bin linked to the cernlibs of /home/ephelps/w/cernlib/2006.<div><br></div><div>Thanks again for your help.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Nov 24, 2012 at 5:54 PM, Cole Smith <span dir="ltr">&lt;<a href="mailto:lcs1h@imap.phys.virginia.edu" target="_blank">lcs1h@imap.phys.virginia.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
According to: ldd /group/clas/builds/centos62/<u></u>trunk/build/bin/gsim_bat<br>
the executable was linked with shared libraries, which may not work on<br>
all platforms.  What&#39;s worse, there is a mixture of shared and static libraries in /usr/lib64/cernlib/2006/lib.<br>
<br>
Probably all cernlib input to gsim, including c_cern, etc. should be linked as static (.a) libraries.  This may work or not, depending on whether the linker goes ahead and sticks a Fortran common block into 64-bit address space, in which case no cernlib pointer will find it.<br>

<br>
Not sure if this is your problem.<span class="HOEnZb"><font color="#888888"><br>
<br>
Cole</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Sat, 24 Nov 2012, <a href="mailto:ephelps@jlab.org" target="_blank">ephelps@jlab.org</a> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Has anyone been able to execute gsim on the CentOS 6.2 interactive nodes?<br>
<br>
I have tried the version at /group/clas/builds/centos62/<u></u>trunk/build/bin,<br>
changing my environment accordingly, and I also tried recompiling<br>
everything, including the prerequisite cernlib, but the results were the<br>
same:<br>
<br>
with WS=volatile/clas/clase1/<u></u>ephelps<br>
from, for example, $WS/genev/genev,<br>
executing the following:<br>
<br>
gsim_bat -ffread $WS/sim/gsim_e1f.ffread -mcin genev0129.bos -kine 1<br>
-bosout gsim019.bos<br>
<br>
results in &quot;Segmentation fault&quot; without any other messages.<br>
<br>
______________________________<u></u>_________________<br>
Clas_offline mailing list<br>
<a href="mailto:Clas_offline@jlab.org" target="_blank">Clas_offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/clas_offline" target="_blank">https://mailman.jlab.org/<u></u>mailman/listinfo/clas_offline</a><br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>