RE:[fluka-discuss]: compiling flukadpm3

From: Ricardo Manuel Dos Santos Augusto <r.s.augusto_at_cern.ch>
Date: Thu, 19 Dec 2019 18:30:55 +0000

8400ef4f-05b3-4f7c-158a-08d784b1bf0c
X-MS-Exchange-CrossTenant-Id: c80d3499-4a40-4a8c-986e-abce017d6b19
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
TenantId=c80d3499-4a40-4a8c-986e-abce017d6b19;Ip=[188.184.36.46];Helo=[cernmxgwlb4.cern.ch]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR06MB3210
X-Virus-Scanned: clamav-milter 0.101.5 at smtp3.mi.infn.it
X-Virus-Status: Clean
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by smtp3.mi.infn.it id
xBJIW9Cg126754
Sender: owner-fluka-discuss_at_mi.infn.it

Dear Benji,

The problem seems to be the definition of FLUFOR, could you try:

export FLUFOR=gfortran (instead of gfortran-7 or similar)

Best regards,
Ricardo

//Ricardo dos Santos Augusto
TRIUMF-EH&S
Office: +1 604 222 10 47 (6375)
4004 Wesbrook Mall,
Vancouver, BC V6T 2A3, Canada//
________________________________________
De : owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] de la
part de Giuseppe Battistoni [Giuseppe.Battistoni_at_mi.infn.it]
Envoyé : mardi 17 décembre 2019 21:34
À : fluka-discuss_at_fluka.org
Objet : [fluka-discuss]: compiling flukadpm3

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
(http://www.fluka.org/fluka.php?id=ins_run&mm2=3).

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
/home/benji/Documents/PhD/FLUKA
g77
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



Paola Sala
INFN Milano
tel. Milano +39-0250317374
tel. CERN +41-227679148

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Dec 20 2019 - 11:09:50 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 20 2019 - 11:09:55 CET