Open robertmaynard opened 6 months ago
I am clueless where these symlinks should live (or where the .pc
files currently are), but if there's an easy fix we'll be happy to take it!
I've been exploring these files for #161, and it appears they are based on openmpi's practices - openmpi installs all of these files, just with a leading o
, so it should just be ln -s ompi-c.pc mpi-c.pc
etc.
mpich doesn't do anything like that, so would need more help. It's not so complex, though, I think.
Solution to issue cannot be found in the documentation.
Issue
Build systems such as CMake rely on the generalized/meta name to search for what MPI is installed on a machine. That way they can support all MPI distributions without the user knowing what specific version is installed on each machine a project is built on.
It looks like conda doesn't install / symlink the installed package config files to the more general names resulting in CMake and other package config users to fail when requesting details on the installed mpi version.
Proposal: Have the openmpi-cxx and other language packages provide the 'normalized' name package config file as well
Prior art: ubuntu etc-alternatives map
mpi.pc
,mpi-c.pc
,mpi-cxx.pc
, andmpi-fort.pc
to the active MPI implementation.Installed packages
Environment info