RE: [Fwd: Problems by compiling fluka vmc]

From: Eva Sicking <Eva.Sicking_at_cern.ch>
Date: Sun, 22 Nov 2009 19:11:42 +0100

Dear Michael,

you are using ROOT (and AliRoot) in 64 bit versions.
You see it in your output, that 64 version are called.

If you want to use fluka and its vmc, you need 32 bit version of =
everything.
So, please use in your root-config.sh the following:
./configure linux
...
and run it, compile ROOT again, etc....

here is an answer to the same question, I asked some time ago.
http://www.fluka.org/web_archive/earchive/new-fluka-discuss/2209.html
Just google those questions or check at this link. All questions ever =
asked at the mailing-list can be found here.

If you still have problems to install it, don't hesitate to ask me =
again!

Cheers, Eva

-----Original Message-----
From: Ivana Hrivnacova
Sent: Sun 11/22/2009 5:58 PM
To: Eva Sicking
Cc: Andreas Morsch
Subject: [Fwd: Problems by compiling fluka vmc]
=20
Hi Eva,

I remeber that you had a similar problem when
compiling fluka_vmc on lxplus (or some other 64 bits
machine).
How did you force 32 bits compilation?
Did you just configure root with linux platform
instead of inuxx8664gcc, or did you need to make
more tricks?
Could you reply this mail in fluka forum?

Thanks,

Ivana

-------- Original Message --------
Subject: Problems by compiling fluka vmc
Date: Fri, 20 Nov 2009 17:14:52 +0100
From: Michael Mitrovski <Michael.Mitrovski_at_cern.ch>
To: <fluka-discuss_at_fluka.org>

Dear Fluker's,

I have a question about the the fluka virtual monte carlo version 0.4
(fluka vmc 0.4). When trying to compile fluka_vmc (using root 5.25/02) I
receive the following error message:

Generating
/home/agstoecker/mitrovski/fluka_vmc/source/../tmp/tgt_linuxx8664gcc/fluk=
aCint.cxx

/home/agstoecker/mitrovski/fluka_vmc/source/../tmp/tgt_linuxx8664gcc/fluk=
aCint.cxx

Generating
/home/agstoecker/mitrovski/fluka_vmc/source/../lib/tgt_linuxx8664gcc/libf=
luka.so

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/=
ld:=20

skipping incompatible /home/agstoecker/mitrovski/Flukacode/libflukahp.a=20
when searching for -lflukahp

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/=
ld:=20
cannot find -lflukahp
collect2: ld returned 1 exit status
make: ***=20
[/home/agstoecker/mitrovski/fluka_vmc/source/../lib/tgt_linuxx8664gcc/lib=
fluka.so]=20
Error 1
fluka_vmc/source> make clan
make: *** No rule to make target `clan'. Stop.

My environment variables are set as follow:

setenv FLUPRO /Directory/Flukacode
setenv FLUVMC /Directory/fluka_vmc

I also used the flag -m32 in the fluka vmc makefile due to the fact that
I am running on a Linux 64bit machine kernel version 2.6, gcc 4.0.2 ).
Thanks in advance for the help.

Best regards,

Michael
Received on Sun Nov 22 2009 - 20:13:33 CET

This archive was generated by hypermail 2.2.0 : Sun Nov 22 2009 - 20:13:37 CET