RE: Fluka 2011.2b.3 problem? [NP]

From: Sebastian Galer <sebastian.galer_at_npl.co.uk>
Date: Mon, 15 Jul 2013 17:51:23 +0100

Hi Mary,

The outputs I get are:

Linux localhost 3.9.6-200.fc18.i686 #1 SMP Thu Jun 13 19:29:40 UTC 2013
i686 i686 i386 GNU/Linux

And

bash-4.2$ env
XDG_VTNR=1
XDG_SESSION_ID=1
SAL_USE_VCLPLUGIN=gtk
HOSTNAME=localhost
TERM=xterm
SHELL=/bin/bash
XDG_MENU_PREFIX=lxde-
HISTSIZE=1000
GNOME_KEYRING_CONTROL=/home/flupix/.cache/keyring-F9Vbea
USER=flupix
initrd=initrd0.img
PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
MAIL=/var/spool/mail/flupix
DESKTOP_SESSION=LXDE
vga=773
PWD=/home/flupix
GNOME_KEYRING_PID=908
LANG=C
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
_LXSESSION_PID=911
HISTCONTROL=ignoredups
XDG_SEAT=seat0
HOME=/home/flupix
SHLVL=2
XDG_CONFIG_HOME=/home/flupix/.config
BOOT_IMAGE=vmlinuz0
FLUPRO=/usr/local/fluka
LOGNAME=flupix
LESSOPEN=||/usr/bin/lesspipe.sh %s
PREFERRED=/usr/bin/startlxde
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0
XDG_CURRENT_DESKTOP=LXDE
XAUTHORITY=/home/flupix/.Xauthority
_=/bin/env

Yes I tried using su to become root, I originally tried it without and I
get permission denied.

I hope the above can help and thanks for your assistance.

Seb

-----Original Message-----
From: me_at_marychin.org [mailto:me_at_marychin.org]
Sent: 15 July 2013 17:45
To: Sebastian Galer
Cc: fluka-discuss_at_fluka.org
Subject: RE: Fluka 2011.2b.3 problem? [NP]

Hi Seb,

I have just tested with flupix-2011.2b-3_flair-1.1-3.iso and I can't
find the problem. As an attempt to diagnose:

what output do you get from:
- command 'uname -a' in the guest's LXTerminal?
- command 'env' from the guest's LXTerminal?

- In the snippet you posted the command prompt is [root_at_localhost
fluka]# Does this mean that you did a su to become root in the guest?

Just a note (although I wouldn't worry about make-ing):
> the file isn't there despite the successful make.
*'collect2: ld returned 1 exit status' doesn't indicate a successful
make.
It crashed at the libflukahp.a(flkcgi.o).

:) mary

On Mon, 15 Jul 2013, Sebastian Galer wrote:

> Classification: NPL Management Ltd - Public
>
> Hi Mary,
>
> You are quite right, I am using VirtualBox. I had thought as you said
> that everything was supposed to be ready to go from the iso but I
> don't seem to have the flukahp file compiled.
>
> I don't use it quite like your lazy user example as I don't rename the

> iso file, instead I created a new virtual machine and used the new iso

> with that but it shouldn't make any difference to what is or isn't
> compiled as far as I can see.
>
> So to conclude I wasn't aware of MAKE-ing being required when using
> the iso, if it is then it doesn't seem to work for me and I still
> can't use FLUKA.
>
> Has anyone else tried using the latest version and had this problem?
>
> Thanks,
> Seb
>
> -----Original Message-----
> From: me_at_marychin.org [mailto:me_at_marychin.org]
> Sent: 15 July 2013 16:04
> To: Sebastian Galer
> Cc: fluka-discuss_at_fluka.org
> Subject: Re: Fluka 2011.2b.3 problem? [NP]
>
> Hi Seb,
>
> I'm confused. Just to clarify: are you trying to install under
> VirtualBox, as given in your original post?
>
> With VirtualBox, the iso works ***out of the box***, no MAKE-ing
> involved. The user only needs to:
> 1. download the iso;
> 2. point VirtualBox's mount-point to the new iso.
>
> The lazy user would do the following instead:
> 1. specify the VirtualBox mount-point ___once and for all___ to a
> generic name (eg. lazy_flupix.iso); 2. whenever there is a respin or
> new release, download the new iso and rename the new iso (eg.
> flupix-2011.2b-2_flair-1.1-3.iso) to the chosen generic name (eg.
> lazy_flupix.iso).
>
> Or, have I misunderstood the question, that indeed MAKE-ing is
> necessary?
> In that case we need to look into the 'ld returned 1 exit status'
> error, which suggests a library linking problem.
>
> :) mary
>
> On Mon, 15 Jul 2013, Mary Chin wrote:
>
>>
>>
>> -----Original Message-----
>> From: owner-fluka-discuss_at_mi.infn.it
>> [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of Sebastian Galer
>> Sent: 11 July 2013 16:09
>> To: Alberto Fasso; fluka-discuss_at_fluka.org
>> Subject: RE: Fluka 2011.2b.3 problem? [NP]
>>
>> Dear Alberto,
>>
>> Thanks for your prompt reply. I have tried 'ls flukahp' (as well as
>> ls
> and looking in the file explorer) and the file isn't there despite the

> successful make.
>>
>> I also tried to make flukahp directly from 'make flukahp' and get the
>> following:
>>
>> [root_at_localhost fluka]# make flukahp
>> FLUPRO=/usr/local/fluka flutil/lfluka -o flukahp -m fluka $FLUPRO =
>> /usr/local/fluka now linking /usr/local/fluka
>> g77
>> ar x /usr/local/fluka/libflukahp.a fluka.o
>> g77 -m32 -O3 -g -fexpensive-optimizations -funroll-loops
>> -fstrength-reduce -Wall -fno-automatic -fno-silent
>> -ffortran-bounds-check -I/usr/local/fluka/flukapro -v -o flukahp
>> -Xlinker -Map -Xlinker flukahp.map fluka.o -L/usr/local/fluka
>> -lflukahp
>> Driving: g77 -m32 -O3 -g -fexpensive-optimizations -funroll-loops
>> -fstrength-reduce -Wall -fno-automatic -fno-silent
>> -ffortran-bounds-check -I/usr/local/fluka/flukapro -v -o flukahp
>> -Xlinker -Map -Xlinker flukahp.map fluka.o -L/usr/local/fluka
>> -lflukahp -lfrtbegin -lg2c -lm -shared-libgcc Reading specs from
>> /usr/lib/gcc/i686-redhat-linux/3.4.6/specs
>> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
>> --infodir=/usr/share/info --enable-shared --enable-threads=posix
>> --disable-checking --with-system-zlib --enable-__cxa_atexit
>> --disable-libunwind-exceptions --enable-languages=c,c++,f77
>> --disable-libgcj --host=i686-redhat-linux Thread model: posix gcc
>> version 3.4.6 20060404 (Red Hat 3.4.6-24.fc17)
>> /usr/libexec/gcc/i686-redhat-linux/3.4.6/collect2 --eh-frame-hdr -m
>> elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o flukahp
>> /usr/lib/gcc/i686-redhat-linux/3.4.6/../../../crt1.o
>> /usr/lib/gcc/i686-redhat-linux/3.4.6/../../../crti.o
>> /usr/lib/gcc/i686-redhat-linux/3.4.6/crtbegin.o -L/usr/local/fluka
>> -L/usr/lib/gcc/i686-redhat-linux/3.4.6
>> -L/usr/lib/gcc/i686-redhat-linux/3.4.6
>> -L/usr/lib/gcc/i686-redhat-linux/3.4.6/../../.. -Map flukahp.map
>> fluka.o -lflukahp -lfrtbegin -lg2c -lm -lgcc_s -lgcc -lc -lgcc_s
>> -lgcc
>
>> /usr/lib/gcc/i686-redhat-linux/3.4.6/crtend.o
>> /usr/lib/gcc/i686-redhat-linux/3.4.6/../../../crtn.o
>> /usr/local/fluka/libflukahp.a(flkcgi.o): In function `flkcgi_':
>> (.text+0x1749): undefined reference to `ckdfvl_'
>> collect2: ld returned 1 exit status
>>
>> If I do an ls now I get:
>>
>> [root_at_localhost fluka]# ls
>> 12cqmd.inp LICENSE.fluka2011.2b dpmjet
>> fluka2011.manual grv98lo.grid interface librqmdmvax.a
>> random.dat usermvax
>> 12ctst.inp README e6r1nds3.fyi
> flukahp.map
>> grv98lof.grid jef2.fyi makefile sidae.dat
> xnloan.dat
>> CERN-2005-10.pdf RELEASE-NOTES.fluka2011.2b elasct.bin flukapro
>> grv98nld.grid jendl3.fyi makeflags sidan.dat
>> DDS Version.tag example.inp
fluodt.dat
>> grv98nlf.grid latestRQMD neuxsc-ind_260.bin sidap.dat
>> FM.pdf brems_fin.bin exfixed.inp flutil
>> grv98nlm.grid libdpmmvax.a nuclear.bin sidapi.dat
>> Fad cohff.bin exmixed.inp gcrtools
>> gxsect.bin libflukahp.a nunstab.data sigmapi.bin
>>
>>
>> Any other thoughts you have on what I have done wrong would be
> appreciated.
>>
>> Thanks,
>> Seb
>>
>>
>> The output you got is the usual one from a successful make.
>> The files not found are all "map" files, which are not essential.
>> If you type
>> ls flukahp
>> you will see that it has been created.
>>
>> If you have further enquiries, please keep them on the discussion
> list:
>> I am not the only one who can answer you.
>>
>> Alberto
>>
>> On Thu, 11 Jul 2013, Sebastian Galer wrote:
>>
>> -----Original Message-----
>> From: owner-fluka-discuss_at_mi.infn.it
>> [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of Alberto Fasso'
>> Sent: 11 July 2013 12:36
>> To: fluka-discuss_at_fluka.org
>> Cc: Sebastian Galer
>> Subject: Re: Fluka 2011.2b.3 problem?
>>
>> In the $FLUPRO directory, type
>> make
>> and flukahp will be created.
>>
>> It has been like this since a long time. You must have forgotten
>>
>> Alberto
>>
>> On Thu, 11 Jul 2013, Sebastian Galer wrote:
>>
>>> Hi,
>>>
>>> I downloaded the 2011.2b.3 version yesterday and tried to run it but

>>> it can't find the flukahp file (normally in usr/local/fluka). I have

>>> tried to re-download it today and still have the same problem.
>>>
>>> I am running it from the iso under virtualbox as I have with
>>> previous
>
>>> version in the past (without any problems).
>>>
>>> Any thoughts would be appreciated.
>>>
>>> Thanks,
>>> Seb
>>
>>
>>
>> --
>> If you have received this message in error, please notify us and
> remove it from your system.
>> NPL Management Ltd cannot guarantee that the e-mail or any
>> attachments
> are free from viruses.
>>
>> NPL Management Ltd is a company registered in England and Wales,
>> number: 2937881 Registered office: Serco House | 16 Bartley Wood
>> Business Park | Hook, Hampshire | UK | RG27 9UY
>>
>>
>>
>

--
If you have received this message in error, please notify us and remove it from your system.
NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses.
 
NPL Management Ltd is a company registered in England and Wales, number: 2937881
Registered office: Serco House | 16 Bartley Wood Business Park | Hook, Hampshire | UK | RG27 9UY
Received on Tue Jul 16 2013 - 00:08:36 CEST

This archive was generated by hypermail 2.3.0 : Tue Jul 16 2013 - 00:08:37 CEST