OpenCoarrays icon indicating copy to clipboard operation
OpenCoarrays copied to clipboard

Defect: OpenCoarrays follows links too aggressively (for MPI)

Open zbeekman opened this issue 6 years ago • 3 comments

Defect/Bug Report

  • OpenCoarrays Version: cmake
  • Fortran Compiler: gcc-8
  • C compiler used for building lib: apple clang
  • Installation method: homebrew package manager
  • Output of uname -a: Darwin localhost.local 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; x86_64
  • MPI library being used: OpenMPI 3.1.3
  • Machine architecture and number of physical cores: quad core AMD64
  • Version of CMake: 3.12

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

zbeekman avatar Nov 06 '18 15:11 zbeekman

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] avatar Mar 29 '19 09:03 stale[bot]

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] avatar Apr 26 '19 15:04 stale[bot]

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//

zbeekman avatar Apr 26 '19 17:04 zbeekman