Re: [fluka-discuss]: Ubunto 13.10 64 bits installation

From: luca_unimib <luca.volpe_at_mib.infn.it>
Date: Fri, 14 Mar 2014 10:03:01 +0100

Dear Users,
I am a newer.
I have the same problem of Natanael,

I am trying t instal the 64bit version which I have downloaded from the
fluka website.
fluka2011.2b-linux-gfor64bitAA

the installation stop and:

%%%%%%%%%%%%%%%%%%%
gfortran -o actdline actdline.o
/usr/bin/ld: i386 architecture of input file `actdline.o' is
incompatible with i386:x86-64 output
%%%%%%%%%%%%%%%%%%

what I can do to solve this problem
thanks a lot and nice to joint the community !
Ciao
Luca


On 03/14/2014 07:17 AM, Vittorio Boccone wrote:
> Hi Natanael,
> then you clearly missed the definition of the FLUFOR (and if need the
> additional GFORFLU in case is needed) as specified in the installation
> instructions
>
> http://www.fluka.org/fluka.php?id=ins_run&mm2=3
>
> * FLUFOR (optional): containing the compiler type (*gfortran* or
> *g77*) which must be coherent with the architecture of the package
> you downloaded.
> If you work on *bash* do:
> > export FLUFOR=g77
> or
> > export FLUFOR=gfortran
>
> Best V.
>
>
> On Fri, Mar 14, 2014 at 7:17 AM, Vittorio Boccone
> <dr.vittorio.boccone_at_ieee.org <mailto:dr.vittorio.boccone_at_ieee.org>>
> wrote:
>
> Hi Natanael,
> then you clearly missed the definition of the FLUFOR (and if need
> the additional GFORFLU in case is needed) as specified in the
> installation instructions
>
> http://www.fluka.org/fluka.php?id=ins_run&mm2=3
>
> * FLUFOR (optional): containing the compiler type (*gfortran* or
> *g77*) which must be coherent with the architecture of the
> package you downloaded.
> If you work on *bash* do:
>
> > export FLUFOR=g77
>
> or
>
> > export FLUFOR=gfortran
>
> Best V.
>
>
> On Thu, Mar 13, 2014 at 10:27 PM, <nm00219_at_surrey.ac.uk
> <mailto:nm00219_at_surrey.ac.uk>> wrote:
>
>
> Dear Vittorio,
>
> Thank you so much for the quick reply!
> No not at all I just want the simple x64 installation no 32
> bits. I believe I have gfortran already. But I made double
> sure I got the 64 bits version in both cases I don't
> understand...
>
> Best,
> Nat
>
> Sent from Samsung Mobile
>
>
> -------- Original message --------
> From: Vittorio Boccone
> Date:13/03/2014 9:18 PM (GMT+00:00)
> To: "Mota NCD Mr (PG/T - Physics)" ,fluka-discuss_at_fluka.org
> <mailto:fluka-discuss_at_fluka.org>
> Subject: Re: [fluka-discuss]: Ubunto 13.10 64 bits installation
>
> Hi Natanael,
> I suggested you to install the 64 bit version with gfortran
> instead, you are still trying to compile the 32 bit version on
> a 64 bit machine. This can be done but if you want to
> compile/link 32-bit packages, you need to install a minimal
> set of 32-bit packages (at least what in the Scientific linux
> and Fedora are the packages called glibc-devel.i686 libgcc.i686)
>
> /usr/bin/ld: cannot find crt1.o: No such file or directory
> -> means that the compat lib are not complete
>
> I suggested you to try the gfortran version as it works out of
> the box (you only have to install gfortran with a sudo apt-get
> install gfortran)
>
> Do you really need the 32 bit version for some legacy application?
>
> Best,
> V.
>
>
> On Thu, Mar 13, 2014 at 8:40 PM, <nm00219_at_surrey.ac.uk
> <mailto:nm00219_at_surrey.ac.uk>> wrote:
>
> Dear Vittorio,
>
>
> I did as you said, and I faced another error. Please check
> the log.
>
>
> Best,
>
> Nat
>
>
>
> ------------------------------------------------------------------------
> *From:* Vittorio Boccone <dr.vittorio.boccone_at_ieee.org
> <mailto:dr.vittorio.boccone_at_ieee.org>>
> *Sent:* Wednesday, March 05, 2014 11:44 PM
> *To:* Mota NCD Mr (PG/T - Physics); Mary Chin
> *Cc:* fluka-discuss_at_fluka.org <mailto:fluka-discuss_at_fluka.org>
> *Subject:* Re: [fluka-discuss]: Ubunto 13.10 64 bits
> installation
> Dear Natanael,
> form the short log you sent it seems you downloaded the
> 32bit (g77) version of the code while you are trying to
> compile it in 64 bit mode with gfortran.
>
> > gfortran -o actdline actdline.o
> > /usr/bin/ld: i386 architecture of input file
> `actdline.o' is incompatible with i386:x86-64 output
>
> For the installation/download refer to
> http://www.fluka.org/fluka.php?id=ins_run&mm2=3
>
> Please try to download and compile this instead
> https://www.fluka.org/packages/fluka2011.2b-linux-gfor64bitAA.tar.gz
>
> Best,
> V.
>
>
> On Wed, Mar 5, 2014 at 6:23 PM, <nm00219_at_surrey.ac.uk
> <mailto:nm00219_at_surrey.ac.uk>> wrote:
>
> Dear Sir/Madam,
>
>
> I have been trying to install fluka and flair on my 64
> bits Ubunto 13.10 system. I have already acquired g77
> ( just in case) and gfortran along with some flair
> packages, but whenever I hit make for the fluka
> installation it doesn't compile properly. I've been
> guiding myself with this site
> https://twiki.cern.ch/twiki/bin/view/Sandbox/HCALRadiationProject
> and the readme file, with little sucess due to my
> system's architecture and operating system. The bash
> verbose is attached.
>
> I would deeply appreciate a user friendly set of
> instructions from step 0.
>
> Best regards,
> Natanael Mota
>
>
>
>
>
>


-- 
--------------------------------------------------------
Luca Volpe
--Centre Lasers Intenses et Applications UniversitÚ Bordeaux 1
351, Cours de la Liberation 33405 Talence cedex, (Fr)
+33(0)5 40 40 37 62; +33(0)6 11 97 09 14;
volpe_at_celia.u-bordeaux1.fr
--UniversitÓ di Milano-Bicocca
Piazza della Scienza 3, 20133 Milano (It)
+39 0264482351 ;+39-3402940744
luca.volpe_at_mib.infn.it
--------------------------------------------------------
Received on Fri Mar 14 2014 - 11:16:44 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 14 2014 - 11:16:47 CET