Re: [fluka-discuss]: 64-bit works but not the 32-bit version

From: Yip, Kin <kinyip_at_bnl.gov>
Date: Wed, 1 May 2019 19:05:38 +0000

Dear experts,

I'm happy to report that after I have taken the trouble to build/install gfortran 8.3 (which needs some time), I can use that gfortran-8.3
to build Fluka and then I have had no problem running Fluka with "example.inp" (that it'd passes all cycles and ended peacefully).

I do wonder whether your 32-bit version of Fluka (that needs to be compiled with g77) has some real/weird problem ...

It seems that I have to use the 64-bit version.

Kin

On 4/30/19 4:50 PM, Kin Yip wrote:
Hi Maarten,

Thanks for the reply. The "example.inp" is the one from the official Fluka package. If you do a "diff", you'd find that it's identical.

I need to install gfortran8.3 (or 7.4) first before I can install the 64 bit Fluka. I'm trying to make this happen but I'm not sure yet ....
It's a bit of surprise that Fluka has such a limited "gfortran" requirement.

I hope some other experts may comment. I wonder whether it's possible that the 32-bit version of Fluka is less tested than the 64-bit and
therefore there may be a problem in the 32-bit Fluka pacakge ???

Kin

On 4/30/19 4:38 PM, Maarten Van Dijk wrote:
Dear Kin,

I had a look at the input file, which looks to be very close or identical to the example.inp provided with fluka. I had a look at your output files (where I notice nothing that seemed wrong to me), and I ran your input file: on my installation (64 bit though it is) there seems to be nothing going wrong. As far as I can tell, there is nothing obviously wrong with the input file.

Therefore I can only offer the (remarkably unhelpful) suggestion to try the 64 bit version; if you have the possibility to install or call the correct version of gfortran / gcc. Other than that; someone who has worked with the code longer than I have will need to comment.

All the best, kind regards,

Maarten


________________________________
From: Yip, Kin [kinyip_at_bnl.gov<mailto:kinyip_at_bnl.gov>]
Sent: 30 April 2019 21:42
To: Maarten Van Dijk; Nacira HANOUF; fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>
Subject: Re: [fluka-discuss]:

Hi,

Thanks Maarten for replying. I've included all the output files and directories in the "working directory" : flukawork when I run over the
example.inp by doing :
$FLUPRO/flutil/rfluka -N0 -M5 example &

in the tar-gzipped file "example.tar.gz". You can find output files up to cycle 3 and since it's stuck (at event ~56000 at cycle 4) the output file for
cycle 4 are in the directory "fluka_29895".

I also show you the "output screen" if this is of any use :


************************************** Output screen ***************************

$FLUPRO/flutil/rfluka -N0 -M5 example &
[7] 29895
[yipkin] ~/flukawork > $TARGET_MACHINE = Linux
$FLUPRO = /home/kinyip/fluka

Initial seed copied from /home/kinyip/fluka
Running fluka in /home/kinyip/flukawork/fluka_29895
================================ Running FLUKA for cycle # 1 =============================================
Removing links
Removing temporary files
Saving output and random number seed
Saving additional files generated Moving fort.47 to /home/kinyip/flukawork/example001_fort.47
     Moving fort.48 to /home/kinyip/flukawork/example001_fort.48
     Moving fort.49 to /home/kinyip/flukawork/example001_fort.49
     Moving fort.50 to /home/kinyip/flukawork/example001_fort.50
     Moving fort.51 to /home/kinyip/flukawork/example001_fort.51

================================ Running FLUKA for cycle # 2 =============================================
Removing links
Removing temporary files
Saving output and random number seed
Saving additional files generated Moving fort.47 to /home/kinyip/flukawork/example002_fort.47
     Moving fort.48 to /home/kinyip/flukawork/example002_fort.48
     Moving fort.49 to /home/kinyip/flukawork/example002_fort.49
     Moving fort.50 to /home/kinyip/flukawork/example002_fort.50
     Moving fort.51 to /home/kinyip/flukawork/example002_fort.51

================================ Running FLUKA for cycle # 3 =============================================
Removing links
Removing temporary files
Saving output and random number seed
Saving additional files generated Moving fort.47 to /home/kinyip/flukawork/example003_fort.47
     Moving fort.48 to /home/kinyip/flukawork/example003_fort.48
     Moving fort.49 to /home/kinyip/flukawork/example003_fort.49
     Moving fort.50 to /home/kinyip/flukawork/example003_fort.50
     Moving fort.51 to /home/kinyip/flukawork/example003_fort.51

================================ Running FLUKA for cycle # 4 =============================================


It'll be stuck there forever (well, I've tried to wait overnight).

Kin

****************************************************************************************************************************


On 4/30/19 3:32 PM, Maarten Van Dijk wrote:
Dear Kin, dear Nacira,

Could you send some more information? The way to troubleshoot Fluka is through the files it gives you back. For every run it has done, there should be a .log, .err, .out and a random seed. If you could attach these to an email (together with your input file) then people can help troubleshoot. If there are no files generated at all, then it is very likely your fluka installation procedure went wrong somewhere.

For Nacira, I think that Fluka is not compiled correctly - the output files mentioned above will give more information. For Kin, I do not know why your file is stopping at a random point, but hopefully the files can give some more information!

Regards,

Maarten

________________________________
From: owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it> [owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it>] on behalf of Yip, Kin [kinyip_at_bnl.gov<mailto:kinyip_at_bnl.gov>]
Sent: 30 April 2019 17:26
To: Nacira HANOUF; fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>
Subject: Re: [fluka-discuss]:

Hi Nacira,

Are you using 32-bit executable of Fluka ?

I'm a new Fluka user. I can only build/compile the 32-bit Fluka as I don't have gfortran7.4 nor 8.3.

I have built 32-bit Fluka executables (flukahp) in two machines of 64-bit, one is running Scientific Linux (=Red-Hat) 6 and the other one is Scientific Linux 7.

But in both machines (which are built a bit differently), when I ran on "example.inp", it would stop or get stuck somewhere at cycle 4, after (eg. in one machine)
56000 events. I wonder why this happened ?! It'd finish 3 cycles nicely.

I've tried to put in TIME-CUT what(4) and what(5) (in case there is an infinite loop) but it doesn't help. Setting What(6) doesn't help either.

If I change the RANDOMIZ in example.inp, it'd change where it'd stop (eg. it may stop earlier !) but it can never get past cycle 4.

I've also tried to change -O3 to -O0 or get rid of "-mcpu=... -fexpensive-optimizations" in the compilation. But all these don't help either (it'd still get stuck at
cycle 4 when I run the original example.inp).

I hope the experts can tell us what's wrong :-(

Kin

On 4/30/19 8:52 AM, Nacira HANOUF wrote:
Dear Fluka Experts,
when i typing '$FLUPRO/flutil/rfluka -N0 -M5 example.inp'
fluka is stopped at 'Running FLUKA for cycle #1'
I tried the same thing with simple examples I worked on before but the results were the same.
I using Toshiba Laptop.
cpu : i5-4300M 2601 MHz, RAM 8 GB.

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_sig-2Demail-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Dwebmail&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=Xik0ISGyJDy0JfQsxEaFtw&m=5lPegXWxfgSz0OwXYPVSXst_Ba4LnWpflbSpefB0tc0&s=4bLgIDZ61VMOYOr_ZgGUna4upEiG1sadupb-YiTYMq0&e=> Garanti sans virus. www.avast.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_sig-2Demail-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Dwebmail&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=Xik0ISGyJDy0JfQsxEaFtw&m=5lPegXWxfgSz0OwXYPVSXst_Ba4LnWpflbSpefB0tc0&s=4bLgIDZ61VMOYOr_ZgGUna4upEiG1sadupb-YiTYMq0&e=>






__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed May 01 2019 - 22:43:57 CEST

This archive was generated by hypermail 2.3.0 : Wed May 01 2019 - 23:01:01 CEST