[fluka-discuss]: compiling flukadpm3

From: Giuseppe Battistoni <Giuseppe.Battistoni_at_mi.infn.it>
Date: Tue, 17 Dec 2019 21:34:12 +0100 (CET)

From: Benji Leenders <Benji.Leenders_at_UGent.be>
To: "fluka-discuss_at_fluka.org" <fluka-discuss_at_fluka.org>
Subject: compiling flukadpm3
Date: Tue, 17 Dec 2019 09:11:32 +0000

Dear fluka experts,

In order to perform nucleus-nucleus interactions I have been attempting to
compile flukadpm3 according to the instructions

I have tried compiling from the terminal directly (/$FLUPRO/flutil/ldpmqmd)
and from flair after starting flair both from the terminal as well as from
the desktop.

I am getting the same error in both the terminal as in flair:

Started 2019.12.17 09:53:49

>>> Linking: /home/benji/Documents/PhD/FLUKA/flutil/lfluka -o flukahp3qmd -=m fluka
$FLUPRO = /home/benji/Documents/PhD/FLUKA
  now linking
ar x /home/benji/Documents/PhD/FLUKA/libflukahp.a fluka.o
rm: cannot remove 'flukahp3qmd.map': No such file or directory
g77 -mtune=3Dnocona -msse2 -mfpmath=3Dsse -O3 -g -fexpensive-optimizations =
-funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -ffortran=
-bounds-check -I/home/benji/Documents/PhD/FLUKA/flukapro -v -o flukahp3qmd =
-Xlinker -Map -Xlinker flukahp3qmd.map fluka.o -L/home/benji/Documents/PhD/=
FLUKA -lflukahp
/home/benji/Documents/PhD/FLUKA/flutil/lfluka: 157: /home/benji/Documents/PhD/FLUKA/flutil/lfluka: g77: not found
Ended: 2019.12.17 09:53:49

Error linking
Error: executable is not generated

gfortran is set as the compiler in my bashfile (.bashrc)

export FLUPRO=~/Documents/PhD/FLUKA
export FLUFOR=gfortran-7

I have also tried switching gfortran-7 for gfortran-6 but this results
in the same error.

I am running 64-bit ubuntu 18.04 with gfortran versions 6.5.0 and 7.4.0
and kernel 5.0.0-37-generic.

The fact that it is a 64-bit installation but it is asking for g77 is
confusing me since g77 should be used for 32-bit installations only.

Could someone point me in the right direction?

Kind regards,

Benji Leenders

You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Dec 17 2019 - 22:51:01 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 17 2019 - 22:51:10 CET