[petsc-dev] DMDA_*PERIODIC and DMDA_XYZGHOSTED

Ethan Coon ecoon at lanl.gov
Fri Mar 11 10:16:45 CST 2011


The IOR() intrinsic does this in every fortran compiler I've been able
to test (gnu, pgi, intel, absoft) (yes, I find it sad that I have that
many fortran compilers available to me here... I think we have nag
somewhere as well...).

Will clean them out.

Ethan

On Thu, 2011-03-10 at 19:37 -0600, Barry Smith wrote:
> Ok get rid of them and we'll live with the consequences :-)
> 
>   barry
> 
> On Mar 10, 2011, at 6:57 PM, Lisandro Dalcin wrote:
> 
> > On 10 March 2011 21:45, Barry Smith <bsmith at mcs.anl.gov> wrote:
> >> 
> >> On Mar 10, 2011, at 6:22 PM, Lisandro Dalcin wrote:
> >> 
> >>> On 10 March 2011 20:57, Ethan Coon <ecoon at lanl.gov> wrote:
> >>>> Attached patch makes this change, and updates the website with the API
> >>>> change.
> >>>> 
> >>>> Also it fixes a few stray 'DAPeriodicType's in conf/adic*.init, which
> >>>> I'm guessing was just missed in the previous change to DMDAPeriodicType?
> >>> 
> >>> Do we really need backward compatibility DMDA_XYZPERIODIC and friends?
> >> 
> >>  Is the | business all fine and dandy for Fortran? If so then I agree we should remove the "noise".
> >> 
> > 
> > Well, you can use '+' (with a bit care) in any Fortran, right?. This
> > is the way the MPI standard does things for some enumerations (file
> > modes, RMA assertions).
> > 
> > However, if DMDA_XYZPERIODIC and friends do no go away because of
> > Fortran issues, then we should definitely define
> > DMDA_{XY|XZ|YZ}GHOSTED.
> > 
> > 
> > -- 
> > Lisandro Dalcin
> > ---------------
> > CIMEC (INTEC/CONICET-UNL)
> > Predio CONICET-Santa Fe
> > Colectora RN 168 Km 472, Paraje El Pozo
> > 3000 Santa Fe, Argentina
> > Tel: +54-342-4511594 (ext 1011)
> > Tel/Fax: +54-342-4511169
> 

-- 
------------------------------------
Ethan Coon
Post-Doctoral Researcher
Applied Mathematics - T-5
Los Alamos National Laboratory
505-665-8289

http://www.ldeo.columbia.edu/~ecoon/
------------------------------------




More information about the petsc-dev mailing list