Hi, Krishna,<br>
The answer is in between your questions.<br><br><div class="gmail_quote">On Mon, Nov 8, 2010 at 1:15 AM, <<a href="mailto:adhikari@jlab.org">adhikari@jlab.org</a>> wrote:<br><blockquote class="gmail_quote">
Dear all,<br>
I tried libbosio.a instead of the the three libraries (libfpack.a,<br>
libfputil.a, and libmapmanager.a) and it seemed to work in case of one<br>
package of codes (compilation was really really slow though - took me a<br>
whole day despite the fact that the same set of codes took just about a<br>
few minutes in case of 32 bit compilation).<br></blockquote><div><br>I tried to compile bosio in my home dir: /u/home/jixie/work/bosio<br>It goes very well and quick (finished in 25 seconds). <br>I did not compile gsim in 64-bit mode link against this bosio. To find out<br>
why the compilation took that long. I would <br>look into the env setup and check the makefile where and what libs it link <br>against. <br> </div><blockquote class="gmail_quote">
I also wanted to try making my own fpack, fputils and mapmanager libraries<br>
in the 64 bit. I did make the libs for the first two, but I couldn't see<br>
the mapmanager package available for the checkout. Does anyone of you know<br>
how I could get the mapmanager from the CVS or anywhere?<br>
<br></blockquote><div>In case you can not find the latest mapmanager, you can copy the source code<br>from here:<br>~jixie/clas/builds/release-4-15/packages/Map<br>Type 'make lib' to compile it after seting up your env correctly. <br>
<br> </div><blockquote class="gmail_quote">
My last issue is about my attempt to compile gsim (again in 64bit). I<br>
could easily compile it in the 32 bit but, I got errors while making the<br>
gsim_bat (haven't tried the gsim_int yet). It seems that I am successful<br>
in building the libgsim.a in my TOP_DIR, but not quite so with regard to<br>
the gsim_bat executable. One major problem was the "ld couldn't find<br>
-lmysqlclient". I checked and found that there was no libmysqlclient.a in<br>
/group/clas/builds/64bit/STABLE/build/lib/ . I couldn't also build that<br>
myself because that also doesn't seem to be available for CVS checkout.<br>
<br></blockquote><div><br>
In ifarml6, you can find the 64-bit mysql lib and header files in the following path:<br>
/usr/lib/mysql<br>
/usr/include/mysql<br>
<br>
or you can find the softlink at /apps/mysql<br>
<br>
To make the executable, you need to have mysql set up in your env.<br>
Here is an example:<br>
setenv MYSQL_INCLUDE_PATH /apps/mysql/include<br>
setenv MYSQL_LIB_PATH /apps/mysql/lib<br><br>I have the whole CLASPACK compiled with 32 bit mode in the 64-bit<br>computer and it runs well for me. Unfortunately I just compiled release-4-15, which<br>might not be the one you are going to use.<br>
<br>In order to do that there are a few source code and makefile need to modify.<br>You can take a look at them at ~jixie/clas/builds.<br>
<br><br></div><blockquote class="gmail_quote">
Anyone's help will be greatly appreciated.<br>
Thank you.<br>
Krishna<br>
<div><div></div><div class="h5"><br>
> Hi Krishna,<br>
><br>
> I have checked the CVS and the fpack and fputils are available for<br>
checkout, you can check them out and compile them locally, then link<br>
your code to it. I tested and they compile on 64 bit just fine.<br>
><br>
> The question is why aren't those libraries in the CLAS_LIB for 64 bit,<br>
if it breaks code dependencies for some people, wouldn't it make sense<br>
to have them compiled in CLAS_LIB for 64 bit (even without optimization)<br>
?<br>
><br>
> Gagik<br>
><br>
> On 11/2/10 1:40 PM, Franz Klein wrote:<br>
>> Krishna,<br>
>> I am using maps on 32 and 64-bit machines (incl. CentOS) - for the simple<br>
>> reason that user_ana sometimes crashes when connected to caldb (not enough<br>
>> ports?).<br>
>> On the other hand, I removed fputil, bos, fpack already during the<br>
transition to gfortran because this combination skipped events when<br>
compiled with any 'optimziation' (i.e. non debug).<br>
>> Use bosio instead of fputil,bos,fpack - that works also on 64-bit boxes.<br>
>><br>
>> Good luck<br>
>> Franz<br>
>><br>
>> On Tue, 2 Nov 2010, <a href="mailto:adhikari@jlab.org">adhikari@jlab.org</a> wrote:<br>
>><br>
>><br>
>>> Does anyone know how or where I can get the 64-bit compatible clas<br>
libraries libfpack.a, libfputil.a, and libmapmanager.a? Or could you<br>
tell<br>
>>> me whether I could build them myself? If yes, please let me know how I<br>
can<br>
>>> do that. I urgently need them to compile a set of codes (event generator)<br>
>>> and I<br>
>>> couldnot find them in<br>
>>> /u/group/clas/builds/64bit/NIGHTLY/2010-10-13-r1492/build/lib. Thank<br>
you very much.<br>
>>> Best Regards,<br>
>>> Krishna<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Clas_offline mailing list<br>
>>> <a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br>
>>> <a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
>>><br>
>>><br>
>> ===============================================================<br>
>> Franz J. Klein, Associate Professor<br>
>> CUA, Department of Physics<br>
>> Washington, DC 20064<br>
>> office: Hannan Hall 206 phone: 202-319-6190<br>
>> or: Jefferson Lab,CC F-243 phone: 757-269-6672<br>
>> ---------------------------------------------------------------<br>
_______________________________________________<br>
>> Clas_offline mailing list<br>
>> <a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br>
>> <a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
>><br>
><br>
> _______________________________________________<br>
> Clas_offline mailing list<br>
> <a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br>
> <a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Clas_offline mailing list<br>
<a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Jixie Zhang<br>Jefferson Lab - Hall A - A112,<br>757-269-5352 <br>_______________________________________________<br>