<html><head></head><body>Dear Krishna,<div><br></div><div>I have actually tried a few times to make gsim run in 64 bit mode. The problem for me has never been <i>compiling</i> or <i>linking</i> 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. </div><div><br></div><div>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!</div><div><br></div><div>Best,</div><div>        Maurik</div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Nov 7, 2010, at 12:15 PM, <a href="mailto:adhikari@jlab.org">adhikari@jlab.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>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><br>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>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>Anyone's help will be greatly appreciated.<br>Thank you.<br>Krishna<br><br><blockquote type="cite">Hi Krishna,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I have checked the CVS and the fpack and fputils are available for<br></blockquote>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><blockquote type="cite"><br></blockquote><blockquote type="cite">The question is why aren't those libraries in the CLAS_LIB for 64 bit,<br></blockquote>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><blockquote type="cite"><br></blockquote><blockquote type="cite">Gagik<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 11/2/10 1:40 PM, Franz Klein wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Krishna,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I am using maps on 32 and 64-bit machines (incl. CentOS) - for the simple<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">reason that user_ana sometimes crashes when connected to caldb (not enough<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">ports?).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On the other hand, I removed fputil, bos, fpack already during the<br></blockquote></blockquote>transition to gfortran because this combination skipped events when<br>compiled with any 'optimziation' (i.e. non debug).<br><blockquote type="cite"><blockquote type="cite">Use bosio instead of fputil,bos,fpack - that works also on 64-bit boxes.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Good luck<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Franz<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Tue, 2 Nov 2010, <a href="mailto:adhikari@jlab.org">adhikari@jlab.org</a> wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Does anyone know how or where I can get the 64-bit compatible clas<br></blockquote></blockquote></blockquote>libraries libfpack.a, libfputil.a, and libmapmanager.a? Or could you<br>tell<br><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">me whether I could build them myself? If yes, please let me know how I<br></blockquote></blockquote></blockquote>can<br><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">do that. I urgently need them to compile a set of codes (event generator)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">and I<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">couldnot find them in<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/u/group/clas/builds/64bit/NIGHTLY/2010-10-13-r1492/build/lib. Thank<br></blockquote></blockquote></blockquote>you very much.<br><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Best Regards,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Krishna<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Clas_offline mailing list<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">===============================================================<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> Franz J. Klein, Associate Professor<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> CUA, Department of Physics<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> Washington, DC 20064<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> office: Hannan Hall 206 phone: 202-319-6190<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> or: Jefferson Lab,CC F-243 phone: 757-269-6672<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">---------------------------------------------------------------<br></blockquote></blockquote>_______________________________________________<br><blockquote type="cite"><blockquote type="cite">Clas_offline mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Clas_offline mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br></blockquote><blockquote type="cite"><a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br></blockquote><blockquote type="cite"><br></blockquote><br><br><br><br>_______________________________________________<br>Clas_offline mailing list<br><a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br>https://mailman.jlab.org/mailman/listinfo/clas_offline<br></div></blockquote></div><br></div></body></html>