[Halla12_software] the big question and some hints on running gemc

Zhiwen Zhao zwzhao at jlab.org
Wed Dec 15 19:30:50 EST 2010


Hi, guys

The big question #1, shall we adopt gemc for solid simulation?
The big question #2, if we decide to use gemc, is it realistic to have a 
working version of solid simulation by next solid meeting at end of January?

(Mauri, I think you would say yes to the first question. but what is 
your take on the #2 from the point of view of code adoption?)

You may want to play with it to form an opinion to either of the 
questions and here are some hints you may find useful when you try to run it

=====================================
gemc wiki
http://clasweb.jlab.org/wiki/index.php/Gemc

without installation, you can run it on ifarml (both 32 and 64bit), but 
because the opengl is so slow this way, you better only run batch mode 
with option "-USE_QT=0"

To have it running in interactive mode, I use rpm to install them on my 
local linux machine.
install with yum and the repositary is good idea , but if your system is 
not one of prerecompiled version like mine (fedora 14 x64), you can 
download rpms and install them directly from
http://www.jlab.org/12gev_phys/RPMS/
choose a version similar to your OS. eg I choose fc/11/x86_64
I installed all rpms in the directory even though I think maybe not all 
of them are needed.
everything will be installed at /usr/local/jlab_software
So don't worry some of your local copy program like root or geant4 will 
be messed up.
but there could be still some problem when you install. For me, it 
complains that libssl.so.8 and libcrypto.so.8 are needed.
I have openssl installed, but newer version with libssl.so.10 and 
libcrypto.so.10. So I force the installation by ignoring dependence with 
"rpm -i --nodeps *rpm"
Then before I can run it, I trick the gemc to think I have libssl.so.8 
and libcrypto.so.8 by a link
"ln -s /usr/lib64/libssl.so.10 libssl.so.8"
"ln -s /lib64/libcrypto.so.10 libcrypto.so.8"

For how to run it, see here
http://clasweb.jlab.org/wiki/index.php/Gemc_how_to_run_it

Note: A possible bug, with the option "-GT=OTOF", the program quit and 
complains " >>> gemc Construction: >>  Reached limits of 20 max 
hierarchy for <>. Exiting."
=====================================


Zhiwen






More information about the Halla12_software mailing list