Re: [fluka-discuss]: Problem building Fluka2011.2c.6

From: Francesco Cerutti <Francesco.Cerutti_at_cern.ch>
Date: Tue, 13 Jun 2017 22:53:31 +0200

Hi Mina,

what you installed there is the g77 version, not the gfortran one

Kind regards

Francesco

**************************************************
Francesco Cerutti
CERN-EN/STI
CH-1211 Geneva 23
Switzerland
tel. ++41 22 7678962
fax ++41 22 7668854

On Tue, 13 Jun 2017, Mina Nozar wrote:

> Hello Francesco,
>
> See below for details. 
> Best wishes,
> Mina
>
>
> Local cluster system info:
>
> nozarm_at_fluka01:~: more /etc/redhat-release
> gives me:
> Scientific Linux release 6.9 (Carbon)
>
> nozarm_at_fluka01:~:  more /proc/version
> gives me:
> Linux version 2.6.32-696.el6.x86_64 (mockbuild_at_sl6.fnal.gov) (gcc version
> 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) ) #1 SMP Tue Mar 21 16:21:25 CDT
> 2017
>
> FLUKA2011.2c.6 build:
>
> nozarm_at_fluka01:/triumfcs/linux/fluka/fluka: ls -alrt
> lrwxrwxrwx  1 nozarm fluadm  9 Jun  7 14:46 default -> 2011.2c.6
>
> nozarm_at_fluka01:/triumfcs/linux/fluka/fluka/2011.2c.6: ls -alrt
> -rw-rwxr-x  1 nozarm fluadm   3414069 Mar 18  1998 e6r1nds3.fyi
> -rw-rwxr-x  1 nozarm fluadm   1865835 Mar 18  1998 jef2.fyi
> -rw-rwxr-x  1 nozarm fluadm   1473066 Mar 18  1998 jendl3.fyi
> -rw-rwxr-x  1 nozarm fluadm    619268 Oct 14  2000 elasct.bin
> -rw-rwxr-x  1 nozarm fluadm    211136 Feb 24  2005 xnloan.dat
> -rw-rwxr-x  1 nozarm fluadm   3498648 Mar  3  2005 gxsect.bin
> -rw-rwxr-x  1 nozarm fluadm     66232 Mar  8  2005 fluodt.dat
> -rw-rwxr-x  1 nozarm fluadm      1651 Jul 15  2005 random.dat
> -rw-rwxr-x  1 nozarm fluadm   1125320 Jul 26  2005 cohff.bin
> -rw-rwxr-x  1 nozarm fluadm    330008 Aug 27  2005 sigmapi.bin
> -rw-rwxr-x  1 nozarm fluadm   3198853 Oct 28  2005 CERN-2005-10.pdf
> -rw-rwxr-x  1 nozarm fluadm      3291 Mar 21  2006 exfixed.inp
> -rw-rwxr-x  1 nozarm fluadm      3270 Mar 21  2006 example.inp
> -rw-rwxr-x  1 nozarm fluadm      3867 Mar 24  2006 12ctst.inp
> -rw-rwxr-x  1 nozarm fluadm    110394 Oct 24  2006 grv98nlm.grid
> -rw-rwxr-x  1 nozarm fluadm     43663 Oct 24  2006 grv98nlf.grid
> -rw-rwxr-x  1 nozarm fluadm    110394 Oct 24  2006 grv98nld.grid
> -rw-rwxr-x  1 nozarm fluadm    110393 Oct 24  2006 grv98lo.grid
> -rw-rwxr-x  1 nozarm fluadm     43662 Oct 24  2006 grv98lof.grid
> -rw-rwxr-x  1 nozarm fluadm      3815 Jul 25  2007 12cqmd.inp
> -rw-rwxr-x  1 nozarm fluadm      3270 Oct 17  2007 exmixed.inp
> -rw-rwxr-x  1 nozarm fluadm      1257 Nov  5  2007 sidae.dat
> -rw-rwxr-x  1 nozarm fluadm      2724 Nov  5  2007 sidapi.dat
> -rw-rwxr-x  1 nozarm fluadm      1067 Nov  5  2007 sidap.dat
> -rw-rwxr-x  1 nozarm fluadm    137999 Nov  5  2007 sidan.dat
> -rw-rwxr-x  1 nozarm fluadm    216778 Sep 14  2008 nunstab.data
> -rw-rwxr-x  1 nozarm fluadm   1907312 Jan 30  2011 brems_fin.bin
> -rw-rwxr-x  1 nozarm fluadm       796 Mar 24  2011 makeflags
> -rw-rwxr-x  1 nozarm fluadm     11334 Nov 11  2011 README
> -rw-rwxr-x  1 nozarm fluadm  43199189 May  3  2013 nuclear.bin
> -rw-rwxr-x  1 nozarm fluadm      8589 Oct 15  2014 LICENSE.fluka2011.2c
> -rw-rwxr-x  1 nozarm fluadm     42055 Oct 19  2014
> RELEASE-NOTES.fluka2011.2c
> -rw-rwxr-x  1 nozarm fluadm       388 Nov 25  2014 makefile
> -rw-rwxr-x  1 nozarm fluadm   2285561 Apr 12  2016 FM.pdf
> -rw-rwxr-x  1 nozarm fluadm 262846774 Oct  4  2016 neuxsc-ind_260.bin
> -rw-rwxr-x  1 nozarm fluadm   1246582 Jun  5 03:17 fluka2011.manual
> drwxrwsr-x  2 nozarm fluadm       264 Jun  5 04:41 flukapro
> -rw-rwxr-x  1 nozarm fluadm  48590642 Jun  5 04:46 libflukahp.a
> -rw-rwxr-x  1 nozarm fluadm    120572 Jun  5 04:47 libdpmmvax.a
> -rw-rwxr-x  1 nozarm fluadm     96106 Jun  5 04:47 librqmdmvax.a
> -rw-rwxr-x  1 nozarm fluadm       114 Jun  5 07:21 Version.tag
> drwxrwsr-x  2 nozarm fluadm       110 Jun  7 14:41 Fad
> drwxrwsr-x  2 nozarm fluadm       326 Jun  7 14:41 DDS
> drwxrwsr-x  2 nozarm fluadm        40 Jun  7 14:41 usermvax
> drwxrwsr-x  2 nozarm fluadm         4 Jun  7 14:41 dpmjet
> drwxrwsr-x  2 nozarm fluadm         3 Jun  7 14:41 latestRQMD
> drwxrwsr-x  2 nozarm fluadm         4 Jun  7 14:41 interface
> drwxrwsr-x  3 nozarm fluadm        65 Jun  7 14:41 gcrtools
> drwxrwsr-x  2 nozarm fluadm         2 Jun  7 14:42 mkdir
> -rwxrwxr-x  1 nozarm fluadm  33199790 Jun  7 14:43 flukahp
> drwxrwsr-x 12 nozarm fluadm        53 Jun  7 14:43 .
> drwxrwsr-x  2 nozarm fluadm        66 Jun  7 14:44 flutil
>
>
>
> On 2017-06-08 01:21 PM, Francesco Cerutti wrote:
>
> Hi Mina
>
> I'm a bit puzzled by your findings.
> I've just tried to install the latest
> fluka2011.2c-linux-gfor64bitAA.tar.gz (2011.2c.6 respin of June
> 5th 2017)
> exactly on Scientific Linux release 6.9 (Carbon) gcc/gfortran
> version 4.4.7 (as on your local cluster 2) and, as expected, it
> failed (and the direct lfluka command could not help).
>
> Are you sure that everything went OK on your side with the
> declared ingredients? By the way, as the website warning >= 4.5
> was (is) claiming, even the dedicated package previously
> provided for gfortran 5 did not work for gfortran 4.4
>
> Best wishes
> Francesco
>
> **************************************************
> Francesco Cerutti
> CERN-EN/STI
> CH-1211 Geneva 23
> Switzerland
> tel. ++41 22 7678962
> fax  ++41 22 7668854
>
> On Thu, 8 Jun 2017, Mina Nozar wrote:
>
>
> Hello Paola,
>
> Thank you.  Can this information please be clearly
> stated on the download
> website?  
>
> - The website is still saying: requires version >=
> 4.5. 
> - Error message (that only appears on certain
> systems, says 'gfortran >= 4.8
> is required for running FLUKA!!'
> - Looks like gcc version 7 does not work for some
> (from forum messages)
> - And from Francesco, we are hearing: 'presently
> need * gfortran version 6'
>
> These are different statements.
>
> I have been able to compile  'Fluka2011.2c.6'.  with
> gcc version 5.4.0,
> 4.4.7, and  4.7.3.  But compiling and running are
> different issues.  If
> 'Fluka2011.2c.6' is supposed to be compiled and run
> with a specific version
> of gcc, it should be clearly stated. 
>
> This is important as I was able to get around
> installing Fluka on three
> separate systems last night (prior to receiving this
> message).  I usually
> install the latest Fluka versions in the following
> order: 1) my laptop, 2)
> local cluster, 3) remote cluster
>
> 1) my laptop:
> Ubuntu 16.04.2 LTS
> Release:        16.04
> gcc version 5.4.0
> The installation went smoothly, without any error
> messages.
>
> 2) local cluster:
> Scientific Linux release 6.9 (Carbon)
> gcc version 4.4.7
>
> 3) remote cluster (s)
> Various head nodes with different flavours of Linux
> install but local
> installation of gcc is used to compile Fluka.
> gcc version 4.7.3
>
> Of  the above, I only ran into the installation
> issue with 'gfortran >= 4.8
> is required for running FLUKA!!' on case 3).  And I
> was able to get around
> this by simply building 'flukahp' by hand, i.e. from
> inside flutil:
> ./lfluka -o flukahp -m fluka
>
>
> Thank you,
> Mina
>
>
> On 2017-06-08 03:19 AM, paola sala wrote:
>       Hello Mina
>       You are right, the website needs to be
> updated.
>       gfortran<4.8 has been found to mis-compile the
> code, that's why
>       it is no longer accepted.
>       The distributed version has been compiled with
> gfortran 6.3.1,
>       new linux distributions already ship gfortran
> 7.0,
>       ... update if you can!
>
>       Regards
>       Paola
>
>       On 06/08/2017 01:21 AM, Mina Nozar wrote:
>
>       I have not been able to build Fluka2011.2c.6
> either with
>       gcc version 4.7.3
>
>       Since when gfortran >= 4.8 is required to
> build/run
>       fluka?   Website says: version >= 4.5 is
> sufficient.
>
>
>       GNU/Linux (x86_64)
>       beta version, requires gcc/gfortran (version
> >= 4.5)
>
>       Thank you,
>
>       Mina
>
>
>       [trsim_at_litai05:~/install]$ mv
>       fluka2011.2c.6-linux-gfor64bitAA.tar.gz
>       fluka2011.2c-6-linux-gfor64bitAA.tar.gz
>       [trsim_at_litai05:~/install]$
> ~/scripts/installFluka.py -l
>       fluka2011.2c-6-linux-gfor64bitAA.tar.gz
> fluka2011.2c-6
>       Prepping install directory
>       /home/trsim/install/fluka2011.2c-6...
>       Untarring FLUKA source...
>       Building FLUKA to
> /home/trsim/install/fluka2011.2c-6...
>       FLUPRO=/g01/home/trsim/install/fluka2011.2c-6
>       flutil/lfluka -o flukahp -m fluka
>       $FLUPRO =
> /g01/home/trsim/install/fluka2011.2c-6
>       gfortran >= 4.8 is required for running
> FLUKA!!
>       cd flutil;
> FLUPRO=/g01/home/trsim/install/fluka2011.2c-6
>       make all; cd ..
>       make[1]: Entering directory
>      
> `/g01/home/trsim/install/fluka2011.2c-6/flutil'
>      
> /g01/home/trsim/install/fluka2011.2c-6/flutil/fff -N
>       actdline.f
>       gfortran >= 4.8 is required for running
> FLUKA!!
>      
> /g01/home/trsim/install/fluka2011.2c-6/flutil/fff -N
>       hpadd.f
>       gfortran >= 4.8 is required for running
> FLUKA!!
>      
> /g01/home/trsim/install/fluka2011.2c-6/flutil/fff -N
> hpc.f
>       gfortran >= 4.8 is required for running
> FLUKA!!
>      
> /g01/home/trsim/install/fluka2011.2c-6/flutil/fff -N
>       hpfor.f
>       gfortran >= 4.8 is required for running
> FLUKA!!
>       gfortran  -o actdline actdline.o
>       gfortran: error: actdline.o: No such file or
> directory
>       make[1]: *** [actdline] Error 1
>       make[1]: Leaving directory
>      
> `/g01/home/trsim/install/fluka2011.2c-6/flutil'
>       Copying FLUKA build to
>       /home/trsim/build/fluka/fluka2011.2c-6...
>       Setting permissions...
>       Setting default FLUKA build to
>       /home/trsim/build/fluka/fluka2011.2c-6...
>
>
>
>
>       On 2017-06-07 07:06 AM, Hans Beijers wrote:
>
> Dear Fluka experts,
>
> Unfortunately there is a problem building the latest
> Fluka2011.2c.6 version,
>  the error meassage is this:
>
> /usr/bin/ld:
> /home/<username>/Apps/fluka/libflukahp.a(flukam.o):
> unrecognized relocation (0x2a) in section `.text'
> /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status
>
> It looks as if my linux version (Ubuntu 14) has a
> problem with the binutils package, but I have not
> found a newer package that works with Ubuntu 14. Oth
> er relevant information is given below:
> Ubuntu 14.04
> kernel: 4.4.0-78-generic
> libstdc++6: 6.2.0-3ubuntu11~14.04
> gfortran: 6.2.0-3ubuntu11~14.04
>
> Any help is greatly appreciated, thanks a lot.
>
> All the best,
>
> Hans
>
>
>
>
>
>
>
>
>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Jun 13 2017 - 23:49:06 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 13 2017 - 23:49:16 CEST