Re: [FLASH-USERS] Grid at level 1

From: Anshu Dubey <dubey@tagore.uchicago.edu>
Date: Thu Feb 03 2005 - 11:36:49 CST

One very hacky fix would be to run initialization first, set lrefinemax to
whatever level uniform grid you want and checkpoint it. Then restart from
checkpoint, but this time your lrefine_min should be set to the previous
lrefine_max. It still doesn't become 1, but your grid won't derefine below
that level.

On Thu, 3 Feb 2005, Claudio Dalla Vecchia wrote:

>
> I know that. I've already got 16^3 blocks, but I noticed larger values
> create cache fitting problems.
>
> Thanks,
> Claudio
>
> On Thu, 3 Feb 2005 kmolson@pop900.gsfc.nasa.gov wrote:
>
> > Claudio,
> >
> > One other way you can acheive what you want to do is reset the size of each
> > individual block (nxb, nyb, and nzb) to have larger values than the default of
> > 8. This should allow you to set Nblockx, Nblocky, and Nblockz to smaller
> > values, yet still get the resolution of the uniform mesh that you want.
> >
> > Kevin
> >
> > Quoting Claudio Dalla Vecchia <claudio.dalla-vecchia@durham.ac.uk>:
> >
> > >
> > > Yes, what I would like to do is to set up a high resolution uniform grid
> > > at lrefine_min = 1.
> > >
> > > On Thu, 3 Feb 2005 kmolson@pop900.gsfc.nasa.gov wrote:
> > >
> > > > Can you tell me specifically what kind of mesh you are trying to set up?
> > > Are
> > > > you trying to create a mesh which is uniform everywhere ? What I suggested
> > > to
> > > > you in my previous e-mail will do that.
> > > >
> > > > Kevin
> > > >
> > > > Quoting Claudio Dalla Vecchia <claudio.dalla-vecchia@durham.ac.uk>:
> > > >
> > > > >
> > > > > Thanks, I knew that. What I would like to do is not having any level of
> > > > > refinement below the minimum one.
> > > > >
> > > > > Claudio
> > > > >
> > > > > On Thu, 3 Feb 2005 kmolson@pop900.gsfc.nasa.gov wrote:
> > > > >
> > > > > > Dear Claudio,
> > > > > >
> > > > > > Try setting NBLOCKX NBLOCKY and NBLOCKZ to values so that everything
> > > fits
> > > > > in
> > > > > > memory. Then, set lrefine_max to allow for several levels of
> > > refinement
> > > > > > (enough for your specific problem). Finally, set the refinement
> > > tolerance
> > > > > so
> > > > > > that it forces all blocks to refine everywhere. This will force
> > > PARAMESH
> > > > > to
> > > > > > redistribute the blocks each time a refinement is done without
> > > overflowing
> > > > > the
> > > > > > value of maxblocks.
> > > > > >
> > > > > > If you need more details about how to do this, let me know.
> > > > > >
> > > > > > Kevin Olson
> > > > > >
> > > > > > Quoting Claudio Dalla Vecchia <claudio.dalla-vecchia@durham.ac.uk>:
> > > > > >
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I am trying to setup a simulation with (NBLOCKX x NBLOCKY x NBLOCKZ)
> > > > > > > blocks at the first level of refinement, but I noticed the MasterPE
> > > hits
> > > > > > > MAXBLOCKS before redistributing the blocks. I can't compile with
> > > larger
> > > > > > > MAXBLOCKS because of memory restrictions. Is there any workaround -
> > > > > > > that is not increasing the size of the blocks - to solve this
> > > problem?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Claudio
> > > > > > >
> > > > > > > --
> > > > > > >
> > > ***********************************************************************
> > > > > > > Claudio Dalla Vecchia e-mail:
> > > claudio.dalla-vecchia@durham.ac.uk
> > > > > > > Institute for Computational web:
> > > http://star-www.dur.ac.uk/~caius/
> > > > > > > Cosmology, South Road tel: +44 (0)191 33 43787 linux
> > > user
> > > > > > > Durham DH1 3LE - UK fax: +44 (0)191 33 43645
> > > #275369
> > > > > > >
> > > -----------------------------------------------------------------------
> > > > > > > "Do you know how far this has gone? / Just how damaged have I
> > > become?
> > > > > > > When I think I can overcome / It runs even deeper"
> > > > > > > ("Even Deeper" - Nine Inch Nails)
> > > > > > >
> > > ***********************************************************************
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > ***********************************************************************
> > > > > Claudio Dalla Vecchia e-mail: claudio.dalla-vecchia@durham.ac.uk
> > > > > Institute for Computational web: http://star-www.dur.ac.uk/~caius/
> > > > > Cosmology, South Road tel: +44 (0)191 33 43787 linux user
> > > > > Durham DH1 3LE - UK fax: +44 (0)191 33 43645 #275369
> > > > > -----------------------------------------------------------------------
> > > > > "Do you know how far this has gone? / Just how damaged have I become?
> > > > > When I think I can overcome / It runs even deeper"
> > > > > ("Even Deeper" - Nine Inch Nails)
> > > > > ***********************************************************************
> > > > >
> > > >
> > > >
> > >
> > > --
> > > ***********************************************************************
> > > Claudio Dalla Vecchia e-mail: claudio.dalla-vecchia@durham.ac.uk
> > > Institute for Computational web: http://star-www.dur.ac.uk/~caius/
> > > Cosmology, South Road tel: +44 (0)191 33 43787 linux user
> > > Durham DH1 3LE - UK fax: +44 (0)191 33 43645 #275369
> > > -----------------------------------------------------------------------
> > > "Do you know how far this has gone? / Just how damaged have I become?
> > > When I think I can overcome / It runs even deeper"
> > > ("Even Deeper" - Nine Inch Nails)
> > > ***********************************************************************
> > >
> >
> >
>
>

-- 
Anshu Dubey
Astronomy & Astrophysics
University of Chicago
5640 S. Ellis Ave.  Chicago IL 60637
Tel : (773) 834 2999
Fax : (773) 834 3230
Received on Thu Feb 3 11:48:03 2005

This archive was generated by hypermail 2.1.8 : Thu Aug 31 2006 - 21:20:48 CDT