Re: [fluka-discuss]: FLUKA on UBUNTU

From: Zhiyi Liu <zhiyil_at_triumf.ca>
Date: Wed, 02 Jul 2014 13:39:37 -0700

Yes, I did.

I attached the make screen display for reference.

On 14-07-02 01:26 PM, Mina Nozar wrote:
> Hi zhiyi,
>
> Did you set FLUFOR to gfortran before running 'make'?
>
> on tcsh, or csh:
>
> setenv FLUFOR gfortran
>
>
> Mina
>
> On 14-07-02 11:31 AM, Zhiyi Liu wrote:
>> Hi,
>> I have the same issue with shakeel. Here is my situation:
>>
>> - newest downloaded package: fluka2011.2b-linuxAA.tar.gz
>> - 64-bit computer
>> - gfortran was installed
>>
>> I think the real problem is from the file: makeflags:
>>
>> - when compiling, makeflags was used
>> - in makeflags, the compiler and arguments all are for 32-bit
>> computer. I tried to modify g77 to gfortran simply, did not work, the
>> arguments should be updated as well.
>>
>> so we need a 64-bit version of makeflags?
>>
>> Thanks,
>> Zhiyi.
>>
>> On 14-06-25 11:42 PM, Vittorio Boccone wrote:
>>> Dear Shakeel,
>>> please keep always the replies on the list. Other people such that
>>> other people might benefit of this answer.
>>>
>>> As stated in the manual (and installation instructions) you should
>>> use the g77 version with a 32 bit machine and the gfortran one for
>>> 64 bit machine. You should not define FLUFOR=gfortran on 32 bit
>>> machine if so the compilation will not work.
>>>
>>> Next step is to install g77 on the Ubuntu 11.04. There are several
>>> tutorials on the web so I won't reinvent the wheel but I can point
>>> to any of those links.
>>> http://lmgtfy.com/?q=ubuntu+11.04+g77
>>>
>>> Best,
>>> Vittorio
>>>
>>>
>>> On Wed, Jun 25, 2014 at 6:29 AM, Shakeel Ahmed, Dr.
>>> <shakeel_at_pinstech.org.pk <mailto:shakeel_at_pinstech.org.pk>> wrote:
>>>
>>> Dear Dr. Vittorio
>>> i am using ubuntu 11.4, 32 bit architecture. I have gfortran. I
>>> want to install latest of FLUKA. I set the variable
>>> FLUFOR=gfortran but i am getting the error after several steps
>>> of compilation that
>>> g77 not found error no. 127
>>> thanks for your help
>>> shakeel
>>> ________________________________________
>>> From: Dr. Vittorio Boccone [dr.vittorio.boccone_at_ieee.org
>>> <mailto:dr.vittorio.boccone_at_ieee.org>]
>>> Sent: Monday, June 23, 2014 2:01 AM
>>> To: Shakeel Ahmed, Dr.
>>> Cc: fluka-discuss_at_fluka.org <mailto:fluka-discuss_at_fluka.org>
>>> Subject: Re: [fluka-discuss]: FLUKA on UBUNTU
>>>
>>> Dear Shakeel,
>>> saying that you copied FLUKA on Ubuntu is a bit too few to
>>> troubleshoot your problem.
>>> Which Ubuntu version and which architecture, which compilers do
>>> have installed? Which was the FLUKA version and architecture in
>>> your previous system?
>>>
>>> In principle you need to reinstall FLUKA and recompile it.
>>> Follow the installation instruction on the manual or the ones on
>>> the website.
>>> Best
>>> V.
>>>
>>> Sent from my iPad
>>>
>>> On 22/giu/2014, at 18:01, "Shakeel Ahmed, Dr."
>>> <shakeel_at_pinstech.org.pk
>>> <mailto:shakeel_at_pinstech.org.pk><mailto:shakeel_at_pinstech.org.pk
>>> <mailto:shakeel_at_pinstech.org.pk>>> wrote:
>>>
>>> Dear Sir,
>>> I copied FLUKA on Ubuntu but when I run make file it gives the
>>> error that g77 not found. Can any body help me how to install
>>> g77 on Ubuntu or any other solution.
>>> thanks
>>> shakeel
>>>
>>>
>>
>> --
>> Zhiyi Liu AAPS_at_TRIUMF
>> 4004 Wesbrook Mall
>> Vancouver, BC, Canada V6T 2A3
>> Tel: (604)222-7705
>> Email:zhiyil_at_triumf.ca
>>
>

-- 
Zhiyi Liu     AAPS_at_TRIUMF
4004 Wesbrook Mall
Vancouver, BC, Canada V6T 2A3
Tel: (604)222-7705
Email: zhiyil_at_triumf.ca



Received on Thu Jul 03 2014 - 01:03:18 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 03 2014 - 01:03:20 CEST