Re: Re: [fluka-discuss]: Question about modify the max bin limit of USRBIN

From: lzf neu <lzfneu_at_live.com>
Date: Wed, 28 Mar 2018 06:07:18 +0000

Hi George,
Thanks for your respond. My problem is to change the upper limit of bins for usrbin.
I installed fluka by using the latest fluka2011.2x-linux-gfor64bit-6.4-AA.tar.gz package.
I simply change this at line 926 in gplevbin.f file :
PARAMETER (MEMORY=40000000)
to this:
PARAMETER (MEMORY=400000000)
and at the top directory run make clean and make command as a superuser.
Now it can be compiled correctly, but the error messages are still:
At line 1206 of gplevbin.f :
Fortran runtime error: Index '400000001' of dimension 1 of array 'gmstor' above upper bound of 400000000.
It seems the mofication at line 926 of gplevbin.f is not right to change the upper limit of bins. I have no idea how to achivev the goal.
Any suggestions? Thanks you very much!

From: George Kharashvili<mailto:georgek_at_jlab.org>
Date: 2018-03-28 13:15
To: lzf neu<mailto:lzfneu_at_live.com>
CC: FLUKA Discussion List<mailto:fluka-discuss_at_fluka.org>
Subject: Re: [fluka-discuss]: Question about modify the max bin limit of USRBIN
Hello Zhefu,
Did you install FLUKA rpm package? If yes, you must be a superuser to modify things in $FLUPRO directory. Try running make command in $FLUKA/flutil/ directory as a superuser. If that does not work, please send the modified gplevbin.f and the error message you are getting when trying to compile.
Regards,
George


----- Original Message -----
From: "lzf neu" <lzfneu_at_live.com>
To: "FLUKA Discussion List" <fluka-discuss_at_fluka.org>
Cc: "lzf neu" <lzfneu_at_live.com>
Sent: Tuesday, March 27, 2018 10:38:43 PM
Subject: [fluka-discuss]: Question about modify the max bin limit of USRBIN

Hi,
    I have a question to consult you.
    I use USRBIN card with type R-Φ-Z and set NX: 600, NΦ: 100, NZ: 1000.
    When plotting the data, an error occured as follows:
At line 1206 of file gplevbin.f :
Fortran runtime error: Index '40000001' of dimension 1 of array 'gmstor' above upper bound of 40000000
    It seems that my divided bin is too large. I try to modify PARAMETER (MEMORY=40000000) at line 928 in gplevbin.f file to fit my settings in USRBIN card , however it cannot be compiled correctly.
    Any help will be appreciated and thanks in advance.

Zhefu

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Mar 28 2018 - 09:38:04 CEST

This archive was generated by hypermail 2.3.0 : Wed Mar 28 2018 - 09:38:10 CEST