[MacPorts] #18944: linking with mpicc fails with undefined symbols
MacPorts
noreply at macports.org
Mon Mar 23 10:30:14 PDT 2009
#18944: linking with mpicc fails with undefined symbols
----------------------------------+-----------------------------------------
Reporter: greg.novak@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port:
----------------------------------+-----------------------------------------
When linking files compiled with mpicc, linking fails with undefined
symbols _PMPI_Allreduce and similar. This is because the build directory
is inserted into the mpicc script. The script contains the line:
prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_mpich/work/destroot/opt/local
whereas it should contain the line:
prefix=/opt/local/
The first prefix line does not exist after building, so mpicc looks in a
non-existant directory for its libraries.
--
Ticket URL: <http://trac.macports.org/ticket/18944>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list