Re: SOURCE : user-written source

From: Alberto Fasso' <>
Date: Thu, 21 Jul 2011 21:17:16 +0200


in your source, the statement

DO 10 I=1,2

starts in column 1. In fortran 77 (the language FLUKA is written in) all
statements must start in column 7. So you should have:
        DO 10 I=1,2

In the same way, the statement
should be written
(CONTINUE must start in column 7).

But why do you want to load two particles at the time? I don't see the


On Thu, 21 Jul 2011, wrote:

> Hi all,
> In "SOURCE : user-written source",it says:
> "The user can load onto the FLKSTK stack one or more source particles at each call: for each particle loaded
> the pointer must be increased by 1. The template version of SOURCE loads only one particle: if several are
> loaded the following sequence, until the statement CALL SOEVSV not included, must be repeated once for
> each particle, possibly inside a DO loop:"
> I have wrote a source.f to load two particles at each call but it complied failed.I guess my DO loop is worry.
> Could someone help me to modify my source.f, and tell me exactly which part must be repeated?
> Thanks,
> Bob
Received on Fri Jul 22 2011 - 00:27:51 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 22 2011 - 00:27:51 CEST