[MacPorts] #18944: linking with mpicc fails with undefined symbols
#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
#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: mpich ----------------------------------+----------------------------------------- Changes (by jmr@…): * port: => mpich -- Ticket URL: <http://trac.macports.org/ticket/18944#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18944: linking with mpicc fails with undefined symbols -----------------------------------+---------------------------------------- Reporter: greg.novak@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: duplicate | Keywords: Port: mpich | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #10256 -- Ticket URL: <http://trac.macports.org/ticket/18944#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts