[petsc-users] error using GetType in FORTRAN
Satish Balay
balay at mcs.anl.gov
Fri May 29 10:23:45 CDT 2015
I tried building on edison - and can't reproduce this problem.
./configure --COPTFLAGS="-fast -no-ipo" --CXXOPTFLAGS="-fast -no-ipo" --FOPTFLAGS="-fast -no-ipo" --with-ssl=0 --with-cc=cc --with-clib-autodetect=0 --with-cxx=CC --with-cxxlib-autodetect=0 --with-debugging=0 --with-fc=ftn --with-fortranlib-autodetect=0 --with-shared-libraries=0 --with-x=0 --with-mpiexec=aprun LIBS=-lstdc++ --with-64-bit-indices PETSC_DIR=$PWD PETSC_ARCH=arch-xc30-opt64-intel --prefix=$HOME/soft/test
The error message you get is puzzling..
> Unable to find bfort-base.txt config file in /global/homes/m/madams/petsc_install/petsc/arch-xc30-opt64-intel/share*******
Can you attempt a build from a 'clean' repo?
rm -rf arch*
git clean -f -d -x
./configure....
Satish
On Fri, 29 May 2015, Mark Adams wrote:
> Barry, It looks like you blew it.
>
> On Wed, May 27, 2015 at 4:03 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> >
> > Apparently all people with access to the PETSc repository (i.e.
> > everyone in the world with internet access) have caught a rare disease that
> > has caused their fingers to fall off, making them incapable of fixing this.
> >
> > I have added all the PETSc enums to this file in master and next. Make
> > sure you run make allfortranstubs to regenerate the stubs.
> >
> > Barry
> >
> >
> >
> > > On May 27, 2015, at 2:15 PM, Mark Adams <mfadams at lbl.gov> wrote:
> > >
> > > FYI, this does not seem to be fixed.
> > >
> > > On Sat, Apr 18, 2015 at 5:49 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> > >
> > > Looks like a bunch of these things are missing from
> > lib/petsc/conf/bfort-petsc.txt it should be listed under native
> > >
> > > Barry
> > >
> > >
> > >
> > > > On Apr 17, 2015, at 4:43 PM, Matthew Knepley <knepley at gmail.com>
> > wrote:
> > > >
> > > > Does bfort have to be told that PCCompositeType is an enum?
> > > >
> > > > Matt "bfort's biggest fan"
> > > >
> > > > On Fri, Apr 17, 2015 at 4:37 PM, Mark Adams <mfadams at lbl.gov> wrote:
> > > > It looks like fieldsplitf.c has an extra PetscToPointer. type is
> > already a pointer:
> > > >
> > > > PETSC_EXTERN void PETSC_STDCALL pcfieldsplitgettype_(PC
> > pc,PCCompositeType *type, int *__ierr ){
> > > > *__ierr = PCFieldSplitGetType(
> > > > (PC)PetscToPointer((pc) ),
> > > > (PCCompositeType* )PetscToPointer((type) ));
> > > > }
> > > >
> > > > On Fri, Apr 17, 2015 at 4:12 PM, Barry Smith <bsmith at mcs.anl.gov>
> > wrote:
> > > >
> > > > Likely need to run in the debugger to see what generates the error.
> > Perhaps a missing ierr?
> > > >
> > > > Barry
> > > >
> > > >
> > > > > On Apr 17, 2015, at 9:10 AM, Mark Adams <mfadams at lbl.gov> wrote:
> > > > >
> > > > > I declare
> > > > >
> > > > > PCCompositeType::pcctype
> > > > >
> > > > > But PCFieldSplitGetType does not seem to like it?
> > > > >
> > > > > Mark
> > > > >
> > > > > [1]PETSC ERROR: --------------------- Error Message
> > --------------------------------------------------------------
> > > > > [1]PETSC ERROR: Invalid pointer
> > > > > [1]PETSC ERROR: Invalid Pointer to Int: Parameter # 2
> > > > > [1]PETSC ERROR: See
> > http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
> > > > > [1]PETSC ERROR: Petsc Development GIT revision:
> > v3.5.3-2702-g1f714da GIT Date: 2015-04-16 11:32:06 -0500
> > > > > [1]PETSC ERROR: ../../XGC1_3/xgc-em on a arch-macosx-gnu-g named
> > MacBook-Pro.local by markadams Fri Apr 17 10:06:09 2015
> > > > > [1]PETSC ERROR: Configure options --download-hypre=1
> > --download-p4est --download-superlu=1 --download-mumps --download-scalapack
> > --download-superlu_dist=1 --download-parmetis=1 --download-metis=1
> > --download-triangle=1 --with-hdf5-dir=/Users/markadams/Codes/hdf5
> > --with-x=0 --with-debugging=1 PETSC_ARCH=arch-macosx-gnu-g
> > > > > [1]PETSC ERROR: #1 PCFieldSplitGetType() line 2046 in
> > /Users/markadams/Codes/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > What most experimenters take for granted before they begin their
> > experiments is infinitely more interesting than any results to which their
> > experiments lead.
> > > > -- Norbert Wiener
> > >
> > >
> >
> >
>
More information about the petsc-users
mailing list