Re: [fluka-discuss]: source.f (fwd)

From: Stefan Roesler <sroesler_at_mail.cern.ch>
Date: Wed, 21 Jun 2017 14:10:44 +0200

Dear Dr Fedorov

your print statement goes to output unit 6 which is not the FLUKA output
file but a file called <yourinputname>.out

I suggest to use

WRITE(LUNOUT,*) 'source spectr opened'

which will write to the output file.

Cheers
Stefan



On Tue, 20 Jun 2017, Alfredo Ferrari wrote:

>
>
>
> +----------------------------------------------------------------------+
> | Alfredo Ferrari || Tel.: +41.22.76.76119 |
> | CERN-EN/STI || Fax.: +41.22.76.69474 |
> | 1211 Geneva 23 || e-mail: Alfredo.Ferrari_at_cern.ch |
> | Switzerland || |
> +----------------------------------------------------------------------+
>
> ---------- Forwarded message ----------
> Date: Tue, 20 Jun 2017 09:11:17 +0300
> From: ??????? ???????? <mrvvf_at_yandex.ru>
> To: alfredo.ferrari <alfredo.ferrari_at_cern.ch>
> Subject: source.f
> Resent-Date: Tue, 20 Jun 2017 08:11:23 +0200
> Resent-From: <alfredo.ferrari_at_cern.ch>
>
>  
> Dear Alfredo!
>
> I've already spent 10 days and I can not understand where I'm wrong.
> I'm trying to use the source.f user program to read from the energy particle
> spectrum file. Nothing happens. It seems there is no reference to source.f.
>
> * .. + .... 1 .... + .... 2 .... + .... 3 .... + .... 4 .... + .... 5. ... +
> .... 6 .... + .... 7 ...
> TITLE
> FLUKA Course Exercise
> *
> * Use names everywhere and free format for geometry
> DEFAULTS PRECISIO
> *
> * Beam definitions
> BEAM -3.5 -0.8 -1.7 PROTON
> BEAMPOS -0.1
> SOURCE
> ..................
>
> A simple change to source.f
>
>       IF (LFIRST) THEN
> * | *** The following 3 cards are mandatory ***
>          TKESUM = ZERZER
>          LFIRST = .FALSE.
>          LUSSRC = .TRUE.
> * | *** User initialization ***
>           Print *, 'source spectr opened'
>       END IF
>  
> $FLUPRO/flutil/fff source.f
> $FLUPRO/flutil/lfluka -o myfluka -m fluka source.o
> $FLUPRO/flutil/rfluka -N0 -M5 ?e myfluka ex8.inp
>  
> does not yield any results.
>  
> How to make sure that there is a reference to the program?
> Where is the mistake?
> Please, very necessary!
>  
> Sorry, but for some reason I am unable to access the fluka discuss
>  
>
> Your request to Majordomo_at_smtp2.mi.infn.it:
>
>         subscribe fluka-discuss paralaks_at_mrrc.obninsk.ru
>
> has been forwarded to the owner of the "fluka-discuss" list for approval.
> This could be for any of several reasons:
>
>     You might have asked to subscribe to a "closed" list, where all new
>         additions must be approved by the list owner.
>
>     You might have asked to subscribe or unsubscribe an address other than
>         the one that appears in the headers of your mail message.
>
> When the list owner approves your request, you will be notified.
>
> If you have any questions about the policy of the list owner, please
> contact "fluka-discuss-approval_at_smtp2.mi.infn.it".
>
> Thanks!
>
> There is no response from the month of March.
>
> -- 
>
> Best regards
> V.Fedorov
>  
>
>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Jun 21 2017 - 15:04:45 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 21 2017 - 15:04:47 CEST