[fluka-discuss]: fluka 64 bit compilation error

From: babintsev <babintsev_at_ihep.ru>
Date: Fri, 26 Oct 2018 07:23:24 +0300

  Hi, experts

   I have problems with compilation of 64 bit version fluka:

        fluka2011.2x-linux-gfor64bit-7.3-AA.tar.gz

   what can you advise in my case...

   My steps:

----------------------------------

  g77 --version
GNU Fortran (GCC) 3.4.6 20060404 (Red Hat 3.4.6-19.el6)

lsb_release -a
LSB Version:
:base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:    Scientific
Description:    Scientific Linux release 6.4 (Carbon)
Release:    6.4
Codename:    Carbon


gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)

             ----------------

  .... compilation of 32 bit version compilation :

                                             use fluka2011.2x-linuxAA.tar.gz

     - define compilator:

        export FLUFOR=g77

     - compilation :

       make >& compilation.log

          ... -> ok, it works

     - check:

         FLUPRO/flutil/rfluka -N0 -M1 example &

         ... ok, it works

             ---------------------


                  try now 64 bit version :

fluka2011.2x-linux-gfor64bit-7.3-AA.tar.gz

     - define PATH parameter to the gcc-7.3  release:

          export
PATH=/cvmfs/sft.cern.ch/lcg/releases/gcc/7.3.0/x86_64-slc6/bin/:$PATH

     - check :

         gcc --version
                      gcc (GCC) 7.3.0

         gfortran --version
                      GNU Fortran (GCC) 7.3.0

    - define parameters:

           export FLUPRO= .....
           export FLUFOR=gfortran

           env | grep FL       ->  ok

    - compilation:

           make >& compilation.log

       ...errors:
                 .....
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
                 ...
gfortran  -o hpadd hpadd.o
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status

                   --------------------------------------


  thank you

  Vladimir


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Oct 26 2018 - 07:37:27 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 26 2018 - 08:29:31 CEST