<div dir="ltr"><div><div><div>Hi all,<br><br>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:<br><br>./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<br>
<br></div>Then when I run 'make all test' I get the following errors:<br><br>Undefined symbols for architecture x86_64:<br> "_MatPartitioningCreate_Parmetis", referenced from:<br> import-atom in libpetsc.dylib<br>
"_PETSC_VIEWER_HDF5_", referenced from:<br> import-atom in libpetsc.dylib<br> "_PetscViewerCreate_HDF5", referenced from:<br> import-atom in libpetsc.dylib<br> "_PetscViewerHDF5GetFileId", referenced from:<br>
import-atom in libpetsc.dylib<br> "_PetscViewerHDF5GetGroup", referenced from:<br> import-atom in libpetsc.dylib<br> "_PetscViewerHDF5GetTimestep", referenced from:<br> import-atom in libpetsc.dylib<br>
"_PetscViewerHDF5HasAttribute", referenced from:<br> import-atom in libpetsc.dylib<br> "_PetscViewerHDF5PopGroup", referenced from:<br> import-atom in libpetsc.dylib<br> "_PetscViewerHDF5PushGroup", referenced from:<br>
import-atom in libpetsc.dylib<br> "_PetscViewerHDF5ReadAttribute", referenced from:<br> import-atom in libpetsc.dylib<br> "_PetscViewerHDF5SetTimestep", referenced from:<br> import-atom in libpetsc.dylib<br>
"_PetscViewerHDF5WriteAttribute", referenced from:<br> import-atom in libpetsc.dylib<br>ld: symbol(s) not found for architecture x86_64<br>clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
make[3]: [ex19] Error 1 (ignored)<br>/bin/rm -f ex19.o<br><br></div>Any help appreciated, thanks<br><br></div>Justin<br></div>