[Pkg-openmpi-maintainers] Bug#752785: Fwd: Bug#752785: openmpi: Please add mpi.pc

Alastair McKinstry mckinstry at debian.org
Fri Jun 27 10:18:56 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Thanks to Jeff Squyres for the note below.
I've tested and mpi.pc -> ompi.pc is not sufficient for Fortran, just C.

There seem to be two approaches:
(1) foo-f90.pc etc. versions of the pc packages.
(2) adding fflags, fcflags, etc. to the pc packages.

(2) seems to be used in most packages that support fortran; adding
variables that match
the GNU configure, etc. conventions: ie. FFLAGS, FCFLAGS, CXXFLAGS, etc.
Approach (1) has the semantic problem of using 'pkg-config --cflags
ompi-f90" to get Fortran, not C, flags.
There is the minor bug that `pkg-config --variables=fflags --libs mpi`
doesn't work as an alternative,
for which I've submitted a report against pkg-config.

So I will create a patch to enhance ompi.pc by adding fflags, etc. support.
For libs, this has the problem of requiring "-lmpi_f90" on the libs line
even if F90 is not being
used (for example), but adding "-Wl,--as-needed" _should_ clear this.
(Work testing this is required).

regards
Alastair



- -------- Original Message --------
Subject:     Bug#752785: openmpi: Please add mpi.pc
Date:     Thu, 26 Jun 2014 16:08:19 +0000
From:     Jeff Squyres (jsquyres) <jsquyres at cisco.com>
To:     mckinstry at debian.org <mckinstry at debian.org>



Google alerts found this bug for me...

Don't forget about "mpifort", which is the replacement for
now-deprecated mpif77 and mpif90.

I don't remember offhand whether MPICH supports mpifort or not, but Open
MPI has deprecated mpif77 and mpif90 in favor of the name "mpifort".

- -- 
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTrUUPAAoJEN9LdrZRJ3QsCfYQALfgztKhnM5gADHKxslYjRW/
KAiB8aKcDwjH4OVv5vclzDdUZAyKg0Tt/yCtgofyKQy7Ret6/p8qnU5CtOcP7t3z
MK7gC0JphNV9MN4vOyy4FsXg7tkr4ldNMtJlHSstdnlXs4bZvFnL3iDvADpxrbVU
8xwE8EvfdEz62inj1zjoEQg8VkqSsE0U3dpQ82c7bXqCmfAFPJDIjgGJUOyG4T4p
bRJbgV0y3El9Y9NYp9HldyidDhsMpwK3P3aki3Z+TtvvbpBE+dsFaFH8qMrQTr7G
En5ZCVEnQ80MVLdcLDap/3IwQtp8nPcjBMoZ8gTl1AlLUoHGSdRQkrkfkSTHON0y
VWl0gHitGl1F5N4GdTYnkPABFKUz2wvVZKzpLn11Uprh3uhPsg6axC9/iVQc2rct
/46P98dkfpChXqtCocYBML5G3Ax55GPTbDkbEMEmpvjWIIIPjcyg20rKFvfMQ8W7
PM+CtzSWKIoVrmtAy6GfnHQrP+NmprOY+CqiYbpB5Bqgxr3BS37fMGs/VWrtFrHL
9f4S6hWyFpY7Dxrc07bYRsb85yd2tnyUPmQe6UhpcMLfIUoDNDosWeqCkF7rpAun
lfrkdaTPXmS0FNj38E5e4c8nanP2eSWoz0XZJMgYqlWidOxyYFQ7C+x70MEL5pdt
Vfzuun9aFYM3Z7u6/86u
=zgbY
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-openmpi-maintainers/attachments/20140627/819a58d3/attachment-0002.html>


More information about the Pkg-openmpi-maintainers mailing list