[Clas_offline] libfpack.a, libfputil.a, and libmapmanager.a for 64-bit compilation
Maurik Holtrop
maurik.holtrop at unh.edu
Sun Nov 7 19:37:05 EST 2010
Dear Krishna,
I have actually tried a few times to make gsim run in 64 bit mode. The problem for me has never been compiling or linking the code, the problem has always been that the output produced was not consistent with the output produced for 32-bit gsim. I must admit that this was quite some time ago, before there were more official versions of 64-bit CERNLIBS, and that I have completely given up on this effort. For me, I only trust the 32-bit version of CERNLIB. Still, I would strongly suggest that when you have the code compiled and linked, you make sure that your 64-bit version and 32-bit version give identical answers. Make sure the test run contains significant enough statistics and your tests are sufficiently picky to make sure you catch oddities.
If you (or anyone else) do get a 64 bit version working, please let everyone know exactly what you did to get it going and what you did to verify your version!
Best,
Maurik
On Nov 7, 2010, at 12:15 PM, adhikari at jlab.org wrote:
> 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
>>
>
>
>
>
> _______________________________________________
> Clas_offline mailing list
> Clas_offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/clas_offline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/clas_offline/attachments/20101107/9eb270b4/attachment-0001.html
More information about the Clas_offline
mailing list