[petsc-users] Error configuring with Parmetis and HDF5 on iMac

Justin Chang jychang48 at gmail.com
Mon Aug 11 17:31:00 CDT 2014


Hi all,

I am trying to install petsc-3.5.1 onto my school's iMac (version 10.9.2)
and I have run configure with the following options:

./configure --with-cc=gcc --with-cxx=g++ --with-f2c=gfortran
--download-f2cblaslapack --download-mpich --with-debugging=1
--download-ctetgen --download-triangle --with-valgrind=1 -with-cmake=cmake
--download-metis --download-parmetis --download-netcdf --download-hdf5
--download-exodusii

Then when I run 'make all test' I get the following errors:

Undefined symbols for architecture x86_64:
  "_MatPartitioningCreate_Parmetis", referenced from:
      import-atom in libpetsc.dylib
  "_PETSC_VIEWER_HDF5_", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerCreate_HDF5", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5GetFileId", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5GetGroup", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5GetTimestep", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5HasAttribute", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5PopGroup", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5PushGroup", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5ReadAttribute", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5SetTimestep", referenced from:
      import-atom in libpetsc.dylib
  "_PetscViewerHDF5WriteAttribute", referenced from:
      import-atom in libpetsc.dylib
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[3]: [ex19] Error 1 (ignored)
/bin/rm -f ex19.o

Any help appreciated, thanks

Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140811/35c03d25/attachment.html>


More information about the petsc-users mailing list