[fluka-discuss]: How to choose the right version of gcc/gfortran when installing FLUKA?

From: Haoyu Shi <shihy_at_ihep.ac.cn>
Date: Wed, 31 Oct 2018 15:55:56 +0800 (GMT+08:00)

Dear FLUKA Experts,




I'm trying to install FLUKA in our cluster. The system is SL6.0 with a lot of versions of gcc(no 7.3.0). The default version is 3.4.9. Since it is a cluster, I do not have the superuser privilege, neither to delete the older versions of gcc. So I first compile a gcc 7.3 on my own dir, set all the paths correctly, and download the tar.gz version of fluka(7.3 version).

Before installing, I type "gfortran -v" and it returns "7.3.0". I also alias f77 and g77 to this version of gfortran. But when I typed "make" in home dir of fluka, it choose gcc 3.4 and give a lot of errors. I even edited the makeflags file to specific the gfortran and f77 version, but still failed.




So in situation like this, how to choose the right version and how to install fluka correctly?




Thanks for your help!




Regards,

Haoyu

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Oct 31 2018 - 10:26:43 CET

This archive was generated by hypermail 2.3.0 : Wed Oct 31 2018 - 10:27:15 CET