[fluka-discuss]: RE: error when running fluka: 'No ranexample002 generated!'

From: Thiago Viana Miranda Lima <thiago.vmlima_at_cern.ch>
Date: Wed, 13 May 2015 11:21:03 +0000

Dear Alessia,

What does the .err file says? Could you send me the .out file too?

Thiago

Thiago Viana Miranda Lima
ENTERVISION Research Fellow
CERN - European Organization for Nuclear Research

________________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Saggio Alessia [alessia.saggio_at_ct.infn.it]
Sent: 13 May 2015 11:13
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: error when running fluka: 'No ranexample002 generated!'

Hi fluka users,
I'm a Fluka beginner and I'm trying to run some basic examples.

I've downloaded the example.inp from fluka website, and when I run it with

$FLUPRO/flutil/rfluka -N0 -M1 example.inp

all works fine.

Then I modified the mgdraw.f routine, adding a few lines of code (I guess I should use the card USERDUMP in my example.inp). Now I type:

$FLUPRO/flutil/fff mgdraw_modified.f
$FLUPRO/flutil/lfluka -o myfluka -m fluka mgdraw_modified.o

(and up to here all is fine)

$FLUPRO/flutil/rfluka -e myfluka -N0 -M1 example.inp

and I get:
======================= Running FLUKA for cycle # 1 =======================

Removing links
Removing temporary files
Saving output and random number seed
     No ranexample002 generated!
Saving additional files generated
     No additional files to move
End of FLUKA run


In practise, I get this error only when adding the USERDUMP card in the .inp file!
Do you have any idea?

Cheers, Alessia




Here is the example.inp (the same as the original, I've only added the line with USERDUMP):

*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
TITLE
Charged pion fluence inside and around a proton-irradiated Be target
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
BEAM 50.E+00 PROTON
BEAMPOS 0.0 0.0 -50.0
*
GEOBEGIN COMBNAME
  0 0 A simple Be target inside vacuum
RPP body1 -5000000.0 +5000000.0 -5000000.0 +5000000.0 -5000000.0 +5000000.0
RPP body2 -1000000.0 +1000000.0 -1000000.0 +1000000.0 -100.0 +1000000.0
RPP body3 -10.0 +10.0 -10.0 +10.0 0.0 +5.0
* plane to separate the upstream and downstream part of the target
XYP body4 2.5
END
* black hole
regBH1 5 +body1 -body2
* vacuum around
regVA2 5 +body2 -body3
* Be target 1st half
regBE3 5 +body3 +body4
* Be target 2nd half
regBE4 5 +body3 -body4
END
GEOEND
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
MATERIAL 4.0 9.0122 1.848 5.0 BERYLLIU
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
* Be target, 1st and 2nd half
ASSIGNMAT BERYLLIU regBE3 regBE4
* External Black Hole
ASSIGNMAT BLCKHOLE regBH1
* Vacuum
ASSIGNMAT VACUUM regVA2
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
* e+e- and gamma production threshold set at 10 MeV
EMFCUT -0.010 0.010 1.0 BERYLLIU PROD-CUT
* score in each region energy deposition and stars produced by primaries
SCORE ENERGY BEAMPART
USERDUMP 101.0 2.0 dump
* Boundary crossing fluence in the middle of the target (log intervals, one-way)
USRBDX 99.0 PIONS+- -47.0 regBE3 regBE4 400. piFluenUD
USRBDX +50.0 +50.0 0.0 10.0 &
* Boundary crossing current in the middle of the target (log intervals, one-way)
USRBDX -1.0 PIONS+- -47.0 regBE3 regBE4 400. piCurrUD
USRBDX +50.0 +50.0 0.0 10.0 &
* Tracklength fluence inside the target, Upstream part and Downstream part
* Logarithmic energy intervals
USRTRACK -1.0 PIONS+- -48.0 regBE3 1000.0 20. piFluenU
USRTRACK 50.0 0.001 &
USRTRACK -1.0 PIONS+- -49.0 regBE4 1000.0 20. piFluenD
USRTRACK 50.0 0.001 &
* Cartesian binning of the pion fluence inside and around the target
USRBIN 10.0 PIONS+- -50.0 50.0 50.0 50. piFluBin
USRBIN -50.0 -50.0 -10.0 100.0 100.0 60.0 &
* Cartesian binning of the deposited energy inside the target
USRBIN 10.0 ENERGY -51.0 10.0 10.0 5. Edeposit
USRBIN -10.0 -10.0 0.0 20.0 20.0 5.0 &
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
RANDOMIZE 1.0
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
START 1000.0
STOP


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id¬c_info
Received on Wed May 13 2015 - 14:46:07 CEST

This archive was generated by hypermail 2.3.0 : Wed May 13 2015 - 14:46:08 CEST