[fluka-discuss]: Re: [fluka-discuss]: FLUKA error using ubuntu 18.04 Cannot read module file Ħaamdmd.mod˘

From: Stefan E. Mueller <stefan.mueller_at_hzdr.de>
Date: Mon, 18 Jan 2021 10:08:08 +0100 (CET)

Dear Yi Zhuang,

the version of the GNU Fortran compiler is very important when installing
FLUKA. In the Download/Section of www.fluka.org, you should select the
package built for the Fortran compiler that is present on your system.

Currently (at version fluka2020.0.5), FLUKA packages do not support
GFortran 7.3 - there are packages for GFortran 8, GFortran 9 and GFortran
10 provided. One should always make sure that one selects the package that
corresponds to the gfortran compiler present on the system.

This is hinted at in the message "Cannot read module file Ħaamdmd.mod˘
opened at (1), because it was created by a different version of GNU
Fortran".

You should install gfortran8 (or higher) on your Ubuntu system (if it is
not already there), and then build the FLUKA package.

I hope this information helps to solve the problem.

Stefan

--
Stefan E. Mueller
Department of Information Services and Computing - Computational Science
and Institute of Radiation Physics
Helmholtz-Zentrum Dresden-Rossendorf
Tel: +49 (0351) 260 3847
Stefan.Mueller_at_hzdr.de
http://www.hzdr.de
Vorstand: Prof. Dr. Sebastian M. Schmidt, Dr. Diana Stiller
Vereinsregister: VR 1693 beim Amtsgericht Dresden
On Tue, 5 Jan 2021, Yi Zhuang wrote:
Hi,
Could anyone provide any possible solution?
The following is the error code.
echo_at_DESKTOP-UNQ1Q2G:~/fluka$ make
cd flutil; FLUPRO=/home/echo/fluka make all; cd ..
make[1]: Entering directory '/home/echo/fluka/flutil'
/home/echo/fluka/flutil/fff -N usrsuw.f
/home/echo/fluka/flutil/fff: 119: /home/echo/fluka/flutil/fff: [[: not 
found
(USMDMD):24:9:
Fatal Error: Cannot read module file Ħaamdmd.mod˘ opened at (1), because 
it
was created by a different version of GNU Fortran
compilation terminated.
/home/echo/fluka/flutil/fff -N usrsuwev.f
/home/echo/fluka/flutil/fff: 119: /home/echo/fluka/flutil/fff: [[: not 
found
(USMDMD):24:9:
Fatal Error: Cannot read module file Ħaamdmd.mod˘ opened at (1), because 
it
was created by a different version of GNU Fortran
compilation terminated.
The following is gfortran and ubuntu version
echo_at_DESKTOP-UNQ1Q2G:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
echo_at_DESKTOP-UNQ1Q2G:~$ gfortran --version
GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.
Thanks,
Yi Zhuang



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

Received on Mon Jan 18 2021 - 12:18:16 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 18 2021 - 12:18:25 CET