Opened 16 years ago
Closed 14 years ago
#18944 closed defect (duplicate)
linking with mpicc fails with undefined symbols
Reported by: | greg.novak@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | mpich |
Description
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.
Change History (3)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Port: | mpich added |
---|
comment:2 Changed 16 years ago by (none)
Milestone: | Port Bugs |
---|
comment:3 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Milestone Port Bugs deleted