Re: [fluka-discuss]: hsource.f file pointer attribute error

From: angeld <angeld_at_inrne.bas.bg>
Date: Fri, 31 Jul 2020 21:11:20 +0300

Thank you, Vladimir!
These two tweaks resolved the issue. But I will take a look at the new
template anyway.

Regards,
Angel

Hope
On Fri, 31 Jul 2020 09:03:37 +0300, babintsev <babintsev_at_ihep.ru> wrote:
> Hi, Angel.
>
> these days I have got the same error.
> From the forum I found the following :
> ................
>
> => some of the variables have changed,
> please refer to the template source.f in the new distribution for
changes.
> In particular:
> *  No channeling:
>       LCHFLK (NPFLKA) = .FALSE.
>       DCHFLK (NPFLKA) = ZERZER
>
> to be changed into:
> *  No channeling:
>       KCHFLK (NPFLKA) = 0
>       ECRFLK (NPFLKA) = ZERZER
>
> Paola
> .......................
>
>  So, from 2020 You must use new template :
>          find $FLUPRO/ | grep source.f
>
>   i.e remove your OLD code  and write new one.
>
>  good luck
>  Vladimir
>
>
> 29.07.2020 18:29, angeld пишет:
>> Dear all,
>>
>> I am trying to simulate e neutron point source with predefined fluence
>> spectrum. For the purpose, I am using an hsourse.f (please find
attached)
>> which I used before. But now when I try to compile it with the command:
>> $FLUPRO/flutil/fff hsource.f
>>
>> I get the following errors:
>> hsource.f:174:6:
>>
>> 174 | LCHFLK (NPFLKA) = .FALSE.
>> | 1
>> Error: The function result on the lhs of the assignment at (1) must have
>> the pointer attribute.
>> hsource.f:175:6:
>>
>> 175 | DCHFLK (NPFLKA) = ZERZER
>> | 1
>> Error: The function result on the lhs of the assignment at (1) must have
>> the pointer attribute.
>>
>> Is the issue related to obsolete code inside the subroutine I am trying
>> to
>> use or it is elsewhere?
>>
>> Regards,
>> Angel
>
>
>
__________________________________________________________________________
> You can manage unsubscription from this mailing list at
> https://www.fluka.org/fluka.php?id=acc_info

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Jul 31 2020 - 22:06:37 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 31 2020 - 22:06:40 CEST