[Clas_offline] libfpack.a, libfputil.a, and libmapmanager.a for 64-bit compilation

adhikari at jlab.org adhikari at jlab.org
Sun Nov 7 12:15:09 EST 2010


Dear all,
I tried libbosio.a instead of the the three libraries (libfpack.a,
libfputil.a, and libmapmanager.a) and it seemed to work in case of one
package of codes (compilation was really really slow though - took me a
whole day despite the fact that the same set of codes took just about a
few minutes in case of 32 bit compilation).

I also wanted to try making my own fpack, fputils and mapmanager libraries
in the 64 bit. I did make the libs for the first two, but I couldn't see
the mapmanager package available for the checkout. Does anyone of you know
how I could get the mapmanager from the CVS or anywhere?

My last issue is about my attempt to compile gsim (again in 64bit). I
could easily compile it in the 32 bit but, I got errors while making the
gsim_bat (haven't tried the gsim_int yet). It seems that I am successful
in building the libgsim.a in my TOP_DIR, but not quite so with regard to
the gsim_bat executable. One major problem was the "ld couldn't find
-lmysqlclient". I checked and found that there was no libmysqlclient.a in
/group/clas/builds/64bit/STABLE/build/lib/ . I couldn't also build that
myself because that also doesn't seem to be available for CVS checkout.

Anyone's help will be greatly appreciated.
Thank you.
Krishna

> Hi Krishna,
>
> I have checked the CVS and the fpack and fputils are available for
checkout, you can check them out and compile them locally, then link
your code to it. I tested and they compile on 64 bit just fine.
>
> The question is why aren't those libraries in the CLAS_LIB for 64 bit,
if it breaks code dependencies for some people, wouldn't it make sense
to have them compiled in CLAS_LIB for 64 bit (even without optimization)
?
>
> Gagik
>
> On 11/2/10 1:40 PM, Franz Klein wrote:
>> Krishna,
>> I am using maps on 32 and 64-bit machines (incl. CentOS) - for the simple
>> reason that user_ana sometimes crashes when connected to caldb (not enough
>> ports?).
>> On the other hand, I removed fputil, bos, fpack already during the
transition to gfortran because this combination skipped events when
compiled with any 'optimziation' (i.e. non debug).
>> Use bosio instead of fputil,bos,fpack - that works also on 64-bit boxes.
>>
>> Good luck
>> Franz
>>
>> On Tue, 2 Nov 2010, adhikari at jlab.org wrote:
>>
>>
>>> Does anyone know how or where I can get the 64-bit compatible clas
libraries libfpack.a, libfputil.a, and libmapmanager.a? Or could you
tell
>>> me whether I could build them myself? If yes, please let me know how I
can
>>> do that. I urgently need them to compile a set of codes (event generator)
>>> and I
>>> couldnot find them in
>>> /u/group/clas/builds/64bit/NIGHTLY/2010-10-13-r1492/build/lib. Thank
you very much.
>>> Best Regards,
>>> Krishna
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Clas_offline mailing list
>>> Clas_offline at jlab.org
>>> https://mailman.jlab.org/mailman/listinfo/clas_offline
>>>
>>>
>> ===============================================================
>>                     Franz J. Klein, Associate Professor
>>                     CUA, Department of Physics
>>                     Washington, DC 20064
>>     office: Hannan Hall 206          phone: 202-319-6190
>>     or: Jefferson Lab,CC F-243       phone: 757-269-6672
>> ---------------------------------------------------------------
_______________________________________________
>> Clas_offline mailing list
>> Clas_offline at jlab.org
>> https://mailman.jlab.org/mailman/listinfo/clas_offline
>>
>
> _______________________________________________
> Clas_offline mailing list
> Clas_offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/clas_offline
>






More information about the Clas_offline mailing list