sourceryinstitute / OpenCoarrays

A parallel application binary interface for Fortran 2018 compilers.
http://www.opencoarrays.org
BSD 3-Clause "New" or "Revised" License
246 stars 55 forks source link

Defect: OpenCoarrays follows links too aggressively (for MPI) #604

Open zbeekman opened 6 years ago

zbeekman commented 6 years ago

Defect/Bug Report

Observed Behavior

caf scripts point to de-referenced path to MPI libs; this breaks caf when user upgrades mpi

Expected Behavior

Try to link to the output of $(brew --prefix openmpi) which should be /usr/local/opt/open-mpi or similar on most machines

Steps to Reproduce

Install current binary distribution of open coarrays on homebrew

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

zbeekman commented 5 years ago

This is either a bug in CMake or in Homebrew. Homebrew fixes some paths, but not others.

For builds for homebrew or with brewed MPI it would be nice to fixup the paths to point to /usr/local/opt/ instead of /usr/local/Cellar//