ISCreateGeneralWithArray got folded into ISCreateGeneral (see, e.g., http://lists.mcs.anl.gov/pipermail/petsc-dev/2010-October/003519.html). ierr = ISCreateGeneral(comm, len, array, PETSC_USE_VALUES, &is); should accomplish what ISCreateGeneralWithArray used to do.
Dmitry. On Tue, Mar 22, 2011 at 1:09 PM, John Peterson <[email protected]> wrote: > On Tue, Mar 22, 2011 at 11:54 AM, Sebastian Steiger <[email protected]> > wrote: >> Hello John >> >> >>> ISCreateLibMesh is a macro located in petsc_macro.h. Is it possible that >>> #if PETSC_VERSION_RELEASE && PETSC_VERSION_LESS_THAN(3,1,1) >>> is false for your PETSc? In that case you would not have this macro >>> defined. >> >> Indeed, PETSC_VERSION_RELEASE=0 for petsc-dev. Here's petscversion.h: >> >> #define PETSC_VERSION_RELEASE 0 >> #define PETSC_VERSION_MAJOR 3 >> #define PETSC_VERSION_MINOR 1 >> #define PETSC_VERSION_SUBMINOR 0 >> #define PETSC_VERSION_PATCH 8 >> #define PETSC_VERSION_DATE "Mar, 25, 2010" >> #define PETSC_VERSION_PATCH_DATE "unknown" > > Interesting. SVN tells me that Roy added the ISCreateLibMesh macro > but according to the mailing list the patch came originally from Jed > Brown. > > Is ISCreateGeneralWithArray removed from petsc-dev? I see it in the > docs for petsc-current but not dev. In any event, our macro should > probably do something sensible when PETSC_VERSION_RELEASE==0... > > -- > John > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
