Re: How to combine data of different FLUKA runs

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Fri, 24 Apr 2009 14:36:27 +0200

Thank you Roger, I've found out the problem, is related with the=20
auxiliary files needed for the simulation (external geometry,=20
executable, data), I will try to correct it in the new release.

Vasilis

Roger H=E4lg wrote:
> Hi Vasilis
>
> Attached you find all the files I use for this simulation.=20
>
> Thanks for your help!
> Greetz
>
> Roger
>
> On Fri, 2009-04-24 at 11:46 +0200, Vasilis Vlachoudis wrote:
> =20
>> Hi Roger,
>>
>> could you please send the .inp and .flair file (and maybe what else is=
=20
>> needed) just to check.
>> This feature of flair of running in subdirectories is something new and=
=20
>> maybe there is a bug somewhere.
>>
>> Cheers
>> Vasilis
>>
>> Roger =3D3D?ISO-8859-1?Q?H=3D3DE4lg?=3D3D wrote:
>> =20
>>> =3D09 <200904071923.n37JNg5J024581_at_smtp1.mi.infn.it>
>>> =3D09 <1239975668.17275.71.camel_at_rvext.aria>
>>> =3D09 <Pine.LNX.4.58.0904191342160.17652_at_lxplus219.cern.ch>
>>> =3D09 <1240502424.25525.32.camel_at_rvext.aria>
>>> =3D09 <Pine.LNX.4.58.0904231814170.4927_at_lxplus244.cern.ch>
>>> Content-Type: text/plain; charset=3D3D"UTF-8"
>>> Message-Id: <1240504220.25525.46.camel_at_rvext.aria>
>>> Mime-Version: 1.0
>>> X-Mailer: Evolution 2.24.5=3D20
>>> Content-Transfer-Encoding: 8bit
>>> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (=
smtp=3D
>>> 1.mi.infn.it [192.84.138.69]); Thu, 23 Apr 2009 18:30:28 +0200 (CEST)
>>> Sender: owner-fluka-discuss_at_mi.infn.it
>>>
>>> Hi Stefan
>>>
>>> The goal is to run several fluka runs in parallel, in order to use a
>>> multiprocessor machine in an optimal way. The only difference of the
>>> runs will be the initial random seed.=3D20
>>>
>>> To use the new possibility of recursively combine the data of different
>>> runs in flair (0.7.6, "data" tab, "type" field), Vasilis recommended to
>>> start the parallel runs in subfolders of the main directory. This means
>>> that they can have the same name and with activated option "recursive"
>>> the data from all runs would be combined in the summary files. This
>>> would be an easy and clearly arranged way of handling parallel runs.=3D=
20
>>>
>>> So I wonder, how can I start a run in a subfolder?
>>> Thanks for your help!
>>>
>>> Greetz
>>>
>>> Roger
>>>
>>> On Thu, 2009-04-23 at 18:15 +0200, Stefan Roesler wrote:
>>> =20
>>> =20
>>>> Hi Roger
>>>> =3D20
>>>> If I understand your file structure correctly then the input should be=
 in=3D
>>>> =20
>>>> =20
>>> =3D20
>>> =20
>>> =20
>>>> =3D20
>>>> ~/flukawork/test
>>>> =3D20
>>>> and not in the subdirectory run1.
>>>> =3D20
>>>> Cheers
>>>> Stefan
>>>> =3D20
>>>> =3D20
>>>> =3D20
>>>> On Thu, 23 Apr 2009, Roger H=3DC3=3DA4lg wrote:
>>>> =3D20
>>>> =20
>>>> =20
>>>>> Hi Stefan
>>>>> =3D20
>>>>> Thanks for your hints.
>>>>> Yes, I did check these files. The problem is, that fort.11, fort.12,
>>>>> fort.15 and fort.2 are dead links:
>>>>> =3D20
>>>>> ~/flukawork/test/fluka_10140 $ ls -lh
>>>>> total 0
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 27 Apr 22 18:08 elasct.bin
>>>>> -> /usr/local/fluka/elasct.bin
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 27 Apr 22 18:08 fluodt.dat
>>>>> -> /usr/local/fluka/fluodt.dat
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 45 Apr 22 18:08 fort.1
>>>>> -> /home/rhaelg/flukawork/test/ranneutron_rw3001
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 18 Apr 22 18:08 fort.11 -> neutron_rw3001.=
ou=3D
>>>>> =20
>>>>> =20
>>> t
>>> =20
>>> =20
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 44 Apr 22 18:08 fort.12
>>>>> -> /usr/local/fluka/libec_thihecufealw_10t.pemf
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 18 Apr 22 18:08 fort.15 -> neutron_rw3001.=
er=3D
>>>>> =20
>>>>> =20
>>> r
>>> =20
>>> =20
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 17 Apr 22 18:08 fort.2 -> ranneutron_rw300=
2
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 35 Apr 22 18:08 neuxsc.bin
>>>>> -> /usr/local/fluka/neuxsc-ind_260.bin
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 28 Apr 22 18:08 nuclear.bin
>>>>> -> /usr/local/fluka/nuclear.bin
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 28 Apr 22 18:08 sigmapi.bin
>>>>> -> /usr/local/fluka/sigmapi.bin
>>>>> lrwxrwxrwx 1 rhaelg rhaelg 27 Apr 22 18:08 xnloan.dat
>>>>> -> /usr/local/fluka/xnloan.dat
>>>>> =3D20
>>>>> nohup.out has the following content when just running the run in the
>>>>> subfolder:
>>>>> =3D20
>>>>> $TARGET_MACHINE =3D3D Linux
>>>>> $FLUPRO =3D3D /usr/local/fluka
>>>>> $PEMF =3D3D /usr/local/fluka/libec_thihecufealw_10t.pemf
>>>>> =3D20
>>>>> Initial seed copied from /usr/local/fluka
>>>>> Running fluka in /home/rhaelg/flukawork/test/fluka_10140cp: cannot st=
at
>>>>> `run1/neutron_rw3.inp': No such file or directory
>>>>> =3D20
>>>>> =3D20
>>>>> =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3=
D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D R=3D
>>>>> =20
>>>>> =20
>>> unning FLUKA for cycle # 1
>>> =20
>>> =20
>>>>> =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3=
D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D
>>>>> /usr/local/fluka/flutil/rfluka: line 280: neutron_rw3.inp: No such fi=
le
>>>>> or directory
>>>>> =3D20
>>>>> But the stated file exists:
>>>>> =3D20
>>>>> ~/flukawork/test $ ls -lh run1/
>>>>> total 8.0K
>>>>> -rw-r--r-- 1 rhaelg rhaelg 7.4K Apr 22 18:08 neutron_rw3.inp
>>>>> =3D20
>>>>> I guess it is a problem with the paths. Any further suggestions?
>>>>> =3D20
>>>>> Greetz
>>>>> =3D20
>>>>> Roger
>>>>> =3D20
>>>>> On Sun, 2009-04-19 at 13:45 +0200, Stefan Roesler wrote:
>>>>> =20
>>>>> =20
>>>>>> Hi Roger,
>>>>>> =3D20
>>>>>> Did you check the content of fort.11 (the standard FLUKA output file=
)=3D
>>>>>> =20
>>>>>> =20
>>> and=3D20
>>> =20
>>> =20
>>>>>> fort.15 (the error file)? Also see nohup.out which should have been=
=3D
>>>>>> =20
>>>>>> =20
>>> =3D20
>>> =20
>>> =20
>>>>>> created in ~/flukawork/test and which contains the printouts from rf=
l=3D
>>>>>> =20
>>>>>> =20
>>> uka.=3D20
>>> =20
>>> =20
>>>>>> In case of doubt please send me those files.
>>>>>> =3D20
>>>>>> Cheers
>>>>>> Stefan
>>>>>> =3D20
>>>>>> =3D20
>>>>>> On Fri, 17 Apr 2009, Roger H=3DC3=3DA4lg wrote:
>>>>>> =3D20
>>>>>> =20
>>>>>> =20
>>>>>>> Hi Vasilis
>>>>>>> =3D20
>>>>>>> Thank you for your answer. Your second way works fine. But I was no=
=3D
>>>>>>> =20
>>>>>>> =20
>>> t
>>> =20
>>> =20
>>>>>>> able to get your first suggestion to work.=3D20
>>>>>>> =3D20
>>>>>>> I can duplicate my standard run in the Run Fluka tab. I save the in=
=3D
>>>>>>> =20
>>>>>>> =20
>>> put
>>> =20
>>> =20
>>>>>>> file in an already created subfolder of the standard run. I enter a
>>>>>>> Number for the random seed and select the executable.=3D20
>>>>>>> When I start the run by clicking Run, flair tries to attach to the =
=3D
>>>>>>> =20
>>>>>>> =20
>>> run.
>>> =20
>>> =20
>>>>>>> After a few minutes the Status changes to Finished OK, without star=
=3D
>>>>>>> =20
>>>>>>> =20
>>> ting
>>> =20
>>> =20
>>>>>>> to calculate anything. The standard run in the main directory finis=
=3D
>>>>>>> =20
>>>>>>> =20
>>> hes
>>> =20
>>> =20
>>>>>>> successfully. So I guess it is not because of the input file.=3D20
>>>>>>> =3D20
>>>>>>> I tried to copy some eventually needed files to the subdirectory,
>>>>>>> without any success.
>>>>>>> =3D20
>>>>>>> I see the following commands in the flair output:
>>>>>>> =3D20
>>>>>>> Cmd: /usr/bin/nohup /usr/local/fluka/flutil/rfluka -e myfluka -M 3 =
=3D
>>>>>>> =20
>>>>>>> =20
>>> neutron_rw3=3D20
>>> =20
>>> =20
>>>>>>> /usr/bin/nohup: ignoring input and appending output to `nohup.out'
>>>>>>> =3D20
>>>>>>> Cmd: /usr/bin/nohup /usr/local/fluka/flutil/rfluka -e myfluka -M 3 =
=3D
>>>>>>> =20
>>>>>>> =20
>>> run1/neutron_rw3=3D20
>>> =20
>>> =20
>>>>>>> /usr/bin/nohup: ignoring input and appending output to `nohup.out'
>>>>>>> =3D20
>>>>>>> A temporary directory is created for the run in the subfolder and i=
=3D
>>>>>>> =20
>>>>>>> =20
>>> t isn't deleted after finishing the run. It contains the following file=
s:
>>> =20
>>> =20
>>>>>>> =3D20
>>>>>>> ~/flukawork/test $ ls fluka_17313
>>>>>>> elasct.bin fort.1 fort.12 fort.2 nuclear.bin xnloan.dat
>>>>>>> fluodt.dat fort.11 fort.15 neuxsc.bin sigmapi.bin
>>>>>>> =3D20
>>>>>>> The manually created subdirectory only contains the input file.=3D2=
0
>>>>>>> =3D20
>>>>>>> Any suggestions what I am doing wrong?
>>>>>>> =3D20
>>>>>>> Best Regards
>>>>>>> =3D20
>>>>>>> Roger
>>>>>>> =3D20
>>>>>>> On Tue, 2009-04-07 at 18:10 +0200, Vasilis Vlachoudis wrote:
>>>>>>> =20
>>>>>>> =20
>>>>>>>> Hi Roger,
>>>>>>>> =3D20
>>>>>>>> there are two ways in flair.
>>>>>>>> =3D20
>>>>>>>> 1. Create the runs in sub-folders. From version 0.7.6 you have th=
=3D
>>>>>>>> =20
>>>>>>>> =20
>>> is=3D20
>>> =20
>>> =20
>>>>>>>> possibility
>>>>>>>> and then in the Data Process frame you mark the "Recursive"=3D
>>>>>>>> =20
>>>>>>>> =20
>>> =3D20
>>> =20
>>> =20
>>>>>>>> checkbox. Then it will
>>>>>>>> scan all sub-folders for the same pattern.
>>>>>>>> =3D20
>>>>>>>> 2. In the Data frame select the master run and select also the de=
=3D
>>>>>>>> =20
>>>>>>>> =20
>>> tector(s).
>>> =20
>>> =20
>>>>>>>> You click the "fitler" button right to the file display.
>>>>>>>> Flair will popup a dialog to enter the pattern to search. It m=
=3D
>>>>>>>> =20
>>>>>>>> =20
>>> ay look=3D20
>>> =20
>>> =20
>>>>>>>> a bit confusing in the begging but the most important rules are w=
=3D
>>>>>>>> =20
>>>>>>>> =20
>>> ritten=3D20
>>> =20
>>> =20
>>>>>>>> in the syntax text box.
>>>>>>>> Lets say that the auxiliary runs you created them by adding a=3D
>>>>>>>> =20
>>>>>>>> =20
>>> =3D20
>>> =20
>>> =20
>>>>>>>> numerical suffix 2,3,... then modify the rule to
>>>>>>>> +^\I\d\d\d\d_fort.\U$
>>>>>>>> The first +/- is to include or remove a file,
>>>>>>>> ^ means that the pattern should match the beginning of the string
>>>>>>>> \I is substituted by flair with the filename of the input file (w=
=3D
>>>>>>>> =20
>>>>>>>> =20
>>> ithout=3D20
>>> =20
>>> =20
>>>>>>>> the .inp)
>>>>>>>> \d is any digit from 0-9 (I've added an extra one from the defaul=
=3D
>>>>>>>> =20
>>>>>>>> =20
>>> t three=3D20
>>> =20
>>> =20
>>>>>>>> digits corresponding to the cycle added by fluka)
>>>>>>>> \U is the unit number
>>>>>>>> $ means the pattern should match also the end of the string
>>>>>>>> =3D20
>>>>>>>> click ok and process
>>>>>>>> =3D20
>>>>>>>> WARNING you can have different patterns for each Usrxx detector. =
=3D
>>>>>>>> =20
>>>>>>>> =20
>>> But if=3D20
>>> =20
>>> =20
>>>>>>>> you select several then only from the pattern of the first select=
=3D
>>>>>>>> =20
>>>>>>>> =20
>>> ed=3D20
>>> =20
>>> =20
>>>>>>>> detector will appear.
>>>>>>>> =3D20
>>>>>>>> Best Regards
>>>>>>>> Vasilis
>>>>>>>> =20
>>>>>>>> =20
>>>>>>> =3D20
>>>>>>> =3D20
>>>>>>> =3D20
>>>>>>> =3D20
>>>>>>> =20
>>>>>>> =20
>>>>>> =3D20
>>>>>> =20
>>>>>> =20
>>>>> =3D20
>>>>> =3D20
>>>>> =3D20
>>>>> =20
>>>>> =20
>>>> =3D20
>>>> =20
>>>> =20
>>> =20
>>> =20
>
> =20
Received on Fri Apr 24 2009 - 18:43:10 CEST

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 18:43:13 CEST