Re: Problems in fluka scripts with Ubuntu 12.04

From: Nunzio Tino Burgio <nunzio.burgio_at_enea.it>
Date: Thu, 11 Apr 2013 10:16:52 +0200

Hi all
I have successfully installed the last version of FLUKA (32 bit) on
LUBUNTU 64 bit( a frugal version of UBUNTU 12.10 ) using the g77.
UBUNTU 12.XX versions move from bash to dash shell causing some problem
to various installation scripts. In order to maintain the full
compatibility with the past version of UBUNTU and with other
distributions I made the following change (As root user):

mv /bin/sh /bin/sh.orig
ln -s /bin/bash /bin/sh

Hope it helps in your case.
Ciao

On Thu, 2013-04-11 at 09:16 +0200, Giuseppe Battistoni wrote:
> Dear FLUKA colleagues
> trying to use FLUKA on a very recent Ubuntu version (12.04) we found a problem
> using compilation scripts for user routines (Fluka version is gfortran 64 bit, but this seems not relevant,
> installed from scratch, FLUFOR is set to gfortran)
>
> For example:
> $FLUPRO/flutil/fff usrini.f
> awk: line 0: regular expression compile failed (missing '(') )
> /home/aafke/FLUKA_ubuntu/flutil/fff: 92: [: -le: unexpected operator
> /home/aafke/FLUKA_ubuntu/flutil/fff: 109: /home/aafke/FLUKA_ubuntu/flutil/fff: [[: not found
>
> We reconstructed that this occurs within ffluka.sh (called by fff) and
> apparently it seems like if awk behaves (unexpectedly) in way which is different
> from ordinary.
>
> The same scripts of course run without problem if we install the same
> FLUKA version on other Linux distributions (Fedora, Scientific Linux, CentOS, etc.)
>
> Any idea?
>
> Giuseppe Battistoni and Aafke Kraan
>
>

-- 
Dr. Nunzio Burgio
ENEA - Italian National Agency for New Technologies, Energy and
Sustainable Economic Development
UTFISSM-PRONOC
ENEA C.R. CASACCIA
S.P. Anguillarese 310
Roma 00060
Italia
Tel +396-3048-3410
E-Mail:nunzio.burgio_at_enea.it
WEB-Site:www.casaccia.enea.it
-----
It is not important to be better than someone else, but to be better
than yesterday
J. Kano
==================================================
  MESSAGGIO ISTITUZIONALE
==================================================
INSIEME PER UNA GRANDE IMPRESA
Destina il 5 per mille all'ENEA per ricostruire Cittā della Scienza
Utilizzeremo il tuo contributo e le nostre competenze tecnico scientifiche per progetti di divulgazione scientifica con Cittā della 
Scienza.
Il nostro codice fiscale č 01320740580
Per maggiori informazioni: www.enea.it
Received on Thu Apr 11 2013 - 10:43:05 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 11 2013 - 10:43:06 CEST