#51090: slepc @3.6.2_0 +arpack +mpich configure failure ------------------------+-------------------------------- Reporter: aeronova@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: slepc ------------------------+-------------------------------- Dear all, I've got the following configuration error when I tried to build slepc 3.6.2 w/ +arpack +mpich: {{{ ---> Configuring slepc Error: org.macports.configure for port slepc returned: configure failure: command execution failed Please see the log file for port slepc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_slepc/slepc/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} In the main.log file, the error has something to do with petsc: {{{ :info:configure ERROR: Unable to link with PETSc :info:configure ERROR: See "installed-arch- macports/lib/slepc/conf/configure.log" file for details :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_slepc/slepc/work/v3.6.2" && ./configure --prefix=/opt/local --prefix=/opt/local/lib/slepc --with- arpack-dir=/opt/local --with-arpack-flags=-lparpack,-larpack :info:configure Exit code: 1 }}} In the configure.log file, I found that there are undefined symbols: {{{ Undefined symbols for architecture x86_64: "_get_rn_dbl_simple_mpi", referenced from: import-atom in libpetsc.dylib "_init_rng_simple_mpi", 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) makefile:2: recipe for target 'checklink' failed gmake: *** [checklink] Error 1 ERROR: Unable to link with PETSc }}} I'd appreciate it if someone can help me fix this link error. FYI, the active port of petsc is the following: {{{ petsc @3.6.3_2+accelerate+debug+hdf5+hwloc+hypre+ml+mpich+mumps+netcdf+parmetis+sprng+suitesparse+sundials+yaml (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/51090> MacPorts <https://www.macports.org/> Ports system for OS X