Re: [fluka-discuss]: EVENTBIN OUTPUT readout

From: Mikhail Polkovnikov <pmk_at_ihep.ru>
Date: Mon, 31 Aug 2015 14:35:39 +0300

On 31.08.2015 13:29, YANG Tao wrote:
> Dear Mikhail,
> Thank you for your reply. A professor told me DETECT card is not
> suitable for the response simulation of scintillator because it
> doesn't have even-by-event structure. As you mentioned, can the out
> "readbin" read the EVENTBIN output? It has 5 cycles in one
> simulation,but the data cannot be merged by FLAIR. It perhaps be the
> format problem, I can't even see the out files in the merge window but
> they exist in the folder.
>
> Best Regards,
> Tao Yang
>
>
> -----原始邮件-----
> *发件人:* "Mikhail Polkovnikov <Михаил Полковников>" <pmk_at_ihep.ru>
> *发送时间:* 2015年8月31日 星期一
> *收件人:* "YANG Tao" <yangt_at_ihep.ac.cn>, "fluka-discuss_at_fluka.org"
> <fluka-discuss_at_fluka.org>
> *抄送:*
> *主题:* Re: [fluka-discuss]: EVENTBIN OUTPUT readout
>
> On 31.08.2015 10:11, YANG Tao wrote:
>> I am an engineer in the Chinese Academy of Sciences, recently I am researching the response of plastic scintillator using FLUKA. I use EVENTBIN card to score the energy deposition by event-by-event. Now I have some difficulties in the readout of the EVENTBIN output. In the FLUKA discussion web, there is a fortran file named "readbin.f", I compile it with f77, while many errors are created (`MAIN__':BINREAD.f:(.text+0xfae): undefined reference to 'arrndx_'collect2: ld returned 1 exit status). I'm not very skilled in Fortran programming, and I don't know if there is a direct way to read the EVENTBIN out in the latest version of FLUKA. So could anyone send me a pre-compiled fortran routine to read the output?
>> Tao Yang
>>
>> yangt_at_ihep.ac.cn
>>
>
> Dear Tao Yang,
>
> You can compile it using command like "$(FLUPRO)/flutil/lfluka
> readbin.f -o readbin", or using Makefile. Why not use something
> easier like DETECT for energy deposition and USERDUMP for
> something more particular?
>
>
> Best regards,
> Mikhail
>
>
>
>
Dear Tao Yang,

  There are lines in your file after variables definition:

       WRITE(*,*)' Type the input file:'
       FILE1=' '
       READ (*,'(A)')FILE1
       IF ( FILE1 .EQ. ' ' ) GO TO 2000
       OPEN (UNIT=1,FILE=FILE1,STATUS='OLD',FORM='UNFORMATTED',
      & ERR= 200)

So try to set name of any of the EVENTBIN files of yours to FILE1
variable, likeFILE1='testme0001_fort.21', then recompile it and execute
to get any kind of output. Without setting the FILE1 name, your program
just ends.


Best regards,
Mikhail





__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Aug 31 2015 - 14:55:05 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 31 2015 - 14:55:06 CEST