Re: [fluka-discuss]: Subroutine inside source.F

From: Alessandro <alex.calamida2_at_tiscalinet.it>
Date: Tue, 14 May 2019 16:32:13 +0200

Dear Francesco,

Unfortunately I cannot send the code for now, boss orders. I tried with
an example and I succeded to put an indipendent subroutin in the source.
Thank for the help.

Best regards, Alessandro Calamida.

Il 14/05/2019 16:15, Versaci Roberto ha scritto:
>
> Without having your fortran file is difficult to comment.
>
> NOMORE=0 is the first line, so maybe the problem isn't strictly
> related to this line.
>
> What is important for you to take care is the proper declaration of
> variable in each of the routines you will use.
>
> I'd suggest, to check your approach, to make a very small and easily
> verifiable approach, like adding a subroutine that creates one text
> file and writes something in it (beware of the number of primaries)
>
>
>
> ------------------------------------------------------------------------
> *From:* owner-fluka-discuss_at_mi.infn.it
> <owner-fluka-discuss_at_mi.infn.it> on behalf of Alessandro
> <alex.calamida2_at_tiscalinet.it>
> *Sent:* 14 May 2019 15:28
> *To:* Francesco Cerutti
> *Cc:* fluka-discuss_at_fluka.org
> *Subject:* Re: [fluka-discuss]: Subroutine inside source.F
> Dear Francesco,
>
> At the beginning I tried but if gave me errors. The message was about
> the NOMORE=0 variable. I have to change it to insert subroutine?
>
> Best regards, Alessandro Calamida.
>
> Il 14/05/2019 15:23, Francesco Cerutti ha scritto:
> >
> > Hi Alessandro,
> >
> > inside the source user routine you can certainly call an independent
> > subroutine or function of your own, sitting in another file or
> > appended after the end of the source subroutine itself.
> >
> > Kind regards
> >
> > Francesco
> >
> > **************************************************
> > Francesco Cerutti
> > CERN-EN/STI
> > CH-1211 Geneva 23
> > Switzerland
> > tel. +41 22 7678962
> >
> > On Tue, 14 May 2019, Alessandro wrote:
> >
> >> Dear Fluka experts,
> >>
> >> I am using from some time the source.F routine of fluka. I want to
> >> ask if it is possible to insert subroutine inside it to write my code
> >> in a more compact way. I have searched online and it seems that this
> >> is not possible but I want to be sure abaout it.
> >>
> >> Best regards, Alessandro Calamida.
> >>
> >>
> __________________________________________________________________________
>
> >>
> >> You can manage unsubscription from this mailing list at
> >> https://www.fluka.org/fluka.php?id=acc_info
> <https://www.fluka.org/fluka.php?id=acc_info>
> >>
> >>
> >>
> >
> > ---
> > Questa email è stata esaminata alla ricerca di virus da AVG.
> > http://www.avg.com
> AVG 2019 | BEZPLATNÝ antivirus, VPN a ladění výkonu <http://www.avg.com/>
> www.avg.com
> Stáhněte si bezplatnou ochranu před viry a malwarem. Vylaďte si
> Windows, Mac i Android. Zašifrujte si připojení pomocí VPN.
>
>
> >
>
> __________________________________________________________________________
> You can manage unsubscription from this mailing list at
> https://www.fluka.org/fluka.php?id=acc_info
> <https://www.fluka.org/fluka.php?id=acc_info>
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> Mail priva di virus. www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>




__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue May 14 2019 - 18:45:15 CEST

This archive was generated by hypermail 2.3.0 : Tue May 14 2019 - 19:02:47 CEST