Bug 105550 - math/sdpara build fails with undefined reference to some mpi function
Summary: math/sdpara build fails with undefined reference to some mpi function
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Maho Nakata
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 07:30 UTC by trasz
Modified: 2006-11-19 06:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trasz 2006-11-15 07:30:02 UTC
Build of math/sdpara fails with:

[..]

/usr/local/mpich/bin/mpiCC -O2 -fno-strict-aliasing -pipe -c -I. -I/usr/local/include rsdpa_mpicopy.cpp
/usr/local/mpich/bin/mpif77 -O -c rsdpa_rpdpotrf.f
/usr/local/mpich/bin/mpif77 -O -c rsdpa_rpdpotf2.f
/usr/local/mpich/bin/mpiCC -O2 -fno-strict-aliasing -pipe -c -I. -I/usr/local/include rsdpa_pdpotrf.cpp
/usr/local/mpich/bin/mpiCC -O2 -fno-strict-aliasing -pipe -c -I. -I/usr/local/include rsdpa_cg.cpp
/usr/local/mpich/bin/mpiCC -O3   -o sdpara rsdpa_main.o rsdpa_tool.o rsdpa_algebra.o rsdpa_struct.o rsdpa_parts.o rsdpa_io.o rsdpa_dpotrf.o rsdpa_mpist.o rsdpa_mpicopy.o rsdpa_rpdpotrf.o rsdpa_rpdpotf2.o rsdpa_pdpotrf.o rsdpa_cg.o \
  -L/usr/local/lib -lscalapack -lblacs -lblacsc -lblacs -lalapack -lcblas -lf77blas -latlas -lg2c
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x0): undefined reference to `mpi_conversion_fn_null__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x4): undefined reference to `mpi_type_null_copy_fn__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x8): undefined reference to `mpi_type_null_delete_fn__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0xc): undefined reference to `mpi_type_dup_fn__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x10): undefined reference to `mpi_win_null_copy_fn__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x14): undefined reference to `mpi_win_null_delete_fn__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x18): undefined reference to `mpi_win_dup_fn__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x1c): undefined reference to `mpi_comm_null_copy_fn__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x20): undefined reference to `mpi_comm_null_delete_fn__'
/usr/local/lib/libblacs.a(bi_f77_get_constants.o)(.data+0x24): undefined reference to `mpi_comm_dup_fn__'
gmake: *** [sdpara] Error 1
*** Error code 2

Stop in /usr/ports/math/sdpara.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-11-15 07:30:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->maho

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2006-11-19 06:48:24 UTC
maho        2006-11-19 06:48:16 UTC

  FreeBSD ports repository

  Modified files:
    math/sdpara          Makefile 
    math/sdpara/files    patch-Makefile 
  Log:
  Fix build error. Now blacs/scalapack are linked
  against mpich2, and sdpara should not link
  against mpich. Mixing mpich2/mpich caused an error.
  
  PR:             105550
  
  Revision  Changes    Path
  1.15      +1 -1      ports/math/sdpara/Makefile
  1.3       +3 -3      ports/math/sdpara/files/patch-Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Maho Nakata freebsd_committer freebsd_triage 2006-11-19 06:48:33 UTC
State Changed
From-To: open->closed

Acutally this is not my error.  
In your updates, blacs/scalapack are linked 
against mpich2. However, sdpara should not link 
against mpich. Mixing mpich2/mpich caused an error. 
I think we should move to mpich2, so I committed a fix. 
thanks for your report.