[petsc-users] Petsc/3.5.0 make test failed

Kai Song ksong at lbl.gov
Thu Jul 24 17:48:22 CDT 2014


Hi Satish,

I actually changed it to "--with-shared-libraries=0" as my first attempt to
fix.

I just tried as you suggested, and I am still seeing the error:
...
/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
undefined reference to `MatGetFactor_aij_mumps'
/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
undefined reference to `MatGetFactor_baij_mumps'
/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
undefined reference to `MatPartitioningCreate_Parmetis'
/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
undefined reference to `MatGetFactor_sbaij_mumps'
....

Is there anything else that I should try?

Thanks!

Kai



On Thu, Jul 24, 2014 at 5:38 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> Try:
>
> cd /clusterfs/voltaire/home/software/source/petsc-3.5.0
> rm -rf /clusterfs/voltaire/home/software/modules/petsc/3.5.0
> make PETSC_DIR=/clusterfs/voltaire/home/software/source/petsc-3.5.0
> PETSC_ARCH=arch-linux2-c-debug install
>
>
> The previous build was with [default] --with-shared-libraries=1 - but
> the current built is using --with-shared-libraries=0. So the libraries
> installed at the prefix location are inconsistant.
>
> Satish
>
> On Thu, 24 Jul 2014, Kai Song wrote:
>
> > Hi Satish,
> >
> > Thanks for the quick response. I attached the make.log in this email,
> and a
> > quick glance, I didn't see any obvious errors.
> >
> > Please let me know if you need any additional informations.
> >
> > Thanks,
> >
> > Kai
> >
> >
> >
> > On Thu, Jul 24, 2014 at 5:17 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> >
> > > Perhaps there were errors during the build. Can you send us make.log
> > > for this build?
> > >
> > > Satish
> > >
> > > On Thu, 24 Jul 2014, Kai Song wrote:
> > >
> > > > Hi Petsc community,
> > > >
> > > > I just installed petsc/3.5.0 on our RHEL-6 system, with gcc/4.4.7 and
> > > > openmpi/1.6.5
> > > >
> > > > The program built and installed fine, but make test failed on the
> > > following
> > > > error:
> > > > ================
> > > > ...
> > > > mpicc -Wall -Wwrite-strings -Wno-strict-aliasing
> -Wno-unknown-pragmas -g3
> > > > -O0  -o ex19  ex19.o
> > > > -L/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib  -lpetsc
> > > > -Wl,-rpath,/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib
> > > > -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack
> > > > -lflapack -lfblas -lparmetis -lmetis -lX11 -lssl -lcrypto -lpthread
> > > >
> -L/global/software/sl-6.x86_64/modules/gcc/4.4.7/openmpi/1.6.5-gcc/lib
> > > > -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -lmpi_f90 -lmpi_f77
> -lgfortran
> > > -lm
> > > > -lmpi_cxx -lstdc++ -lmpi_cxx -lstdc++ -ldl -lmpi -lnuma -lrt -lnsl
> -lutil
> > > > -lgcc_s -lpthread -ldl
> > > >
> /clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
> > > > undefined reference to `MatGetFactor_aij_mumps'
> > > >
> /clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
> > > > undefined reference to `MatGetFactor_baij_mumps'
> > > >
> /clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
> > > > undefined reference to `MatPartitioningCreate_Parmetis'
> > > >
> /clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
> > > > undefined reference to `MatGetFactor_sbaij_mumps'
> > > > collect2: ld returned 1 exit status
> > > > gmake[3]: [ex19] Error 1 (ignored)
> > > > ...
> > > > ================
> > > >
> > > > I used the following configure line:
> > > > ./configure --prefix=/software/modules/petsc/3.5.0
> > > >  --download-fblaslapack=1 --download-mumps=1 --download-parmetis=1
> > > > --download-scalapack --download-metis=1
> > > >
> > >
> --with-mpi-dir=/global/software/sl-6.x86_64/modules/gcc/4.4.7/openmpi/1.6.5-gcc/
> > > >
> > > > Is there anything that I am missing in the built process? Any help
> would
> > > be
> > > > great appreciated!
> > > >
> > > > Thanks in advance!
> > > >
> > > > Kai
> > > >
> > > >
> > >
> > >
> >
> >
> >
>
>


-- 
Kai Song
<ksong at lbl.gov> 1.510.495.2180
1 Cyclotron Rd. Berkeley, CA94720, MS-50B 3209
High Performance Computing Services (HPCS)
Lawrence Berkeley National Laboratory - http://scs.lbl.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140724/ad29b7b1/attachment.html>


More information about the petsc-users mailing list