Re: [fluka-discuss]: fluka installation problem: flutil/fff: [[: not found actdline:

From: Vittorio Boccone <dr.vittorio.boccone_at_ieee.org>
Date: Fri, 8 Jul 2016 22:56:44 +0200

Ubuntu’s sh is always somehow different:
Change the #!/bin/sh to #!/bin/bash in the fff script to solve the problem.

http://www.fluka.org/web_archive/earchive/new-fluka-discuss/5591.html <http://www.fluka.org/web_archive/earchive/new-fluka-discuss/5591.html>

Best,
Vittorio

> On 08 Jul 2016, at 07:11, Roman Savinov <rsavinov_at_calpoly.edu> wrote:
>
> Dear Fluka experts,
>
> I was trying to update Fluka and Flair and ran into problem.
> 1. I uncompress the fluka2011.2c-linuxAA.tar.gz file
> 2. define environmental variables:
> export FLUPRO=/home/linux/FLUKA and
> export FLUFOR=g77
> 3. and finally, when I execute the "make" command, the following errors shows up:
>
> /home/linux/FLUKA/flutil/fff -N actdline.f
> /home/linux/FLUKA/flutil/fff: 109: /home/linux/FLUKA/flutil/fff: [[: not found
> actdline:
> lstnbl:
> /home/linux/FLUKA/flutil/fff -N hpadd.f
> /home/linux/FLUKA/flutil/fff: 109: /home/linux/FLUKA/flutil/fff: [[: not found
> hpadd:
> lstnbl:
> /home/linux/FLUKA/flutil/fff -N hpc.f
> /home/linux/FLUKA/flutil/fff: 109: /home/linux/FLUKA/flutil/fff: [[: not found
> hpc:
> hpc.f: In program `hpc':
> In file included from hpc.f:0:
> hpc.f:5: warning: unused variable 'chlc'
> hpc.f:5: warning: unused variable 'chuc'
> lstnbl:
> uctolc:
> lctouc:
>
> It looks like the problem starts the first time when installation process calls for the flutil/fff and then a cascade of possibly related issues show up.
>
> The system I am using:
> Ubuntu 14.04 LTS,
> 32bit.
> compiler type: g77
>
> I attached the complete installation log. Please, let me know what is wrong.
>
> Thank you,
>
> Roman
> <install_log.txt>



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sat Jul 09 2016 - 00:15:21 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 09 2016 - 00:15:27 CEST