[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#884939: mumps: FTBFS on m68k: mpi-fort.pc not found, mpi_* undefined



Source: mumps
Version: 5.1.1-3+b1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-68k@lists.debian.org
Usertags: m68k

Builds of mumps for m68k (admittedly not a release architecture) have
been failing as detailed in [1]:

  Package mpi-fort was not found in the pkg-config search path.
  Perhaps you should add the directory containing `mpi-fort.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'mpi-fort' found
  gfortran -shared lr_common.o ana_omp_m.o [...] mumps_save_restore_C.o -Wl,-soname,libmumps_common_ptscotch-5.1.2.so -L../lib -L../PORD/lib/ -lpord_ptscotch -L/usr/lib -lptesmumps -lptscotch -lptscotcherr -lscotch -lpthread  -lmpi -o ../lib/libmumps_common_ptscotch-5.1.2.so -Wl,-z,defs
  mumps_static_mapping.o: In function `__mumps_static_mapping_MOD_mumps_init_arch_parameters':
  mumps_static_mapping.F:(.text+0xd0d8): undefined reference to `mpi_comm_rank_'
  [...]
  tools_common.F:(.text+0x13b4): undefined reference to `mpi_bcast_'
  collect2: error: ld returned 1 exit status
  Makefile:177: recipe for target '../lib/libmumps_common_ptscotch.so' failed
  make[5]: *** [../lib/libmumps_common_ptscotch.so] Error 1

I'm not sure where mpi-fort.pc is expected to come from -- the only
.pc file I see in [2] is mpich.pc -- but perhaps it would help to link
(and for that matter, compile) with mpifort rather than directly
invoking and attempting to tune gfortran.

Could you please take a look?

Thanks!

[1] https://buildd.debian.org/status/fetch.php?pkg=mumps&arch=m68k&ver=5.1.2-2&stamp=1513807447&raw=0
[2] https://packages.debian.org/sid/m68k/libmpich-dev/filelist

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu


Reply to: