Re: Getting a series of Fluka seeds

From: Nunzio Tino Burgio <>
Date: Mon, 10 Oct 2011 10:21:33 +0200

probably the files in attachment fit your needs.
The first one is a batch file for bash or sh shell that runs up to 4
jobs on a small AMD opteron system.
Your inp file is manipulated by the awk stream editor that modify the
Randomize card and save a copy of the modified input file in a separate
sub-directory. The script performs also
The individual input files are launched on SLURM queue manager by the
command brun.
When the jobs are terminated the second batch file collects all the
individual output file in a single subdirectory. The files numbering
allows a more easy post processing by flair.
Fell free to modify the scripts to meet your purpose.

On Sat, 2011-10-08 at 17:21 -0700, Howard Matis wrote:
> Paola,
> I do know that. That will not easily work with the way that I run batch
> codes. I want to use the same ".inp" file for each run. If I had to
> modify the RANDOMIZE card, then I would have to generate a script that
> would change the ".inp" file for each run. I was looking for something
> a little easier.
> Right now, I have 99 random numbers and I associate one .inp file with
> each.
> Howard
> On Oct 8, 2011, at 1:40 PM, Paola Sala wrote:
> > Hello
> > maybe I'm going to tell something that you already know, but..
> > The easiest thing is to change the random seed in the what(2) of the
> > RANDOMIZE card. The code will iniitialize by himself a differentrandom
> > sequence for each seed at the first run. Is this what you need?
> > Note also that if the user forces an initial random FILE whose seeddoes
> > not match the one in the randomize card, the file is disregarded andthe
> > sequence is reinitialized with the RANDOMIZE seed.
> > Ciao
> > Paola
> >
> >> To get more statistics, I run many identical jobs in parallel. Sothat
> >> they, are different I start with a different seed file. Is there aneasy
> >> way,
> >> that I can generate say 500 different random seeds? In that way, Ican
> >> run
> >> 500 jobs with the same input file.
> >>
> >> Howard Matis
> >>

Dr. Nunzio Burgio
ENEA - Italian National Agency for New Technologies, Energy and
Sustainable Economic Development
S.P. Anguillarese 310
Roma 00060
Tel +396-3048-3410
It is not important to be better than someone else, but to be better
than yesterday
J. Kano

Received on Mon Oct 10 2011 - 12:10:11 CEST

This archive was generated by hypermail 2.2.0 : Mon Oct 10 2011 - 12:10:12 CEST