60 likes | 208 Views
A few items to work with FLUKA if switching from SLC3 to SLC4 (64) Thanks to Alfredo, Anton and Chris. Migrating from 32 to 64 Linux with FLUKA and flukaGUI. Ludovic Nicolas. If this problem is encountered. link step after untaring fluka2006.3b-linuxAA.tar.gz with a compiler such as:
E N D
A few items to work with FLUKA if switching from SLC3 to SLC4 (64) Thanks to Alfredo, Anton and Chris. Migrating from 32 to 64 Linux with FLUKA and flukaGUI Ludovic Nicolas
If this problem is encountered... link step after untaring fluka2006.3b-linuxAA.tar.gz with a compiler such as: gcc -v ----> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
Issue the command at the prompt: rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE} %{ARCH}\n" glibc-devel and look for the 32 version: glibc-devel-..... i386 In my case it was only displaying glibc-devel-2.3.4-2.25 x86_64 Alfredo´s tip : install the missing one as root with yum install glibc-devel.i386 links successfully after this.
flukaGUI aFlukaGUI-v06.tgz You need ROOT (the package). ROOT website recommends 5.14 Works fine stand alone with the compiler mentioned previously but not with flukaGUI
At the ./configure step, it will complain with: [root@pcscrp23 aFlukaGUI-v06]# ./configure attempt to configure flukaGUI, v06 > ldd output seems to not show a dynamic libg2c ---> trouble, could not find required libg2c, exit > try to supply the correct path to libg2c with -l/--libg2c Get libg2c.so.0.0.0 from /usr/lib/ in afs and place it into the otherwise ¨free-of-it¨ /usr/lib/ of your local machine. Then symbolic link it with ln -s to libg2c.so.0 At the make step it with complain with: Anton pointed out the need of being at the same bit-level between FLUKA and ROOT ---> get ROOT 32
Get the 32-ROOT from afs at: /afs/cern.ch/sw/lcg/external/root/5.14.00e/slc4_ia32_gcc34/ Add it locally to your machine : $ scp -r /afs/cern.ch/sw/lcg/external/root/5.14.00e/slc4_ia32_gcc34/root/ /usr/local/bin Also get libungif from /usr/lib in AFS and place it in your local /usr/lib while also symbolink it. You might have to do the same with libpcre.so.0.0.1 but this time in /lib (symbolink it to libpcre.so.0) Also Chris recommends to take care when cross compiling between different architectures Fortran utilities.