Skip to content

Defect: install.sh should tell users to set DYLD_LIBRARY_PATH not LD_LIBRARY_PATH on macOS #563

@zbeekman

Description

@zbeekman
Avg response time
Issue Stats

Defect/Bug Report

See #562 for context. Thanks to @dtabell for bringing this to our attention.

  • OpenCoarrays Version: All known version to date
  • Fortran Compiler: GFortran 8.1 and previous
  • C compiler used for building lib: GCC (but same issue for clang etc.)
  • Installation method: install.sh
  • Output of uname -a: all macOS machines
  • MPI library being used: MPICH & OpenMPI affected
  • Machine architecture and number of physical cores: All
  • Version of CMake: Latest in install.sh but CMake version irrelavent

Observed Behavior

install.sh instructs the user to set LD_LIBRARY_PATH no matter what the OS, but this should be DYLD_LIBRARY_PATH on macOS. Under some circumstances, particularly for advanced users (who should probably realize this to begin with...) or other users who install all/most pre-requisites with install.sh on macOS it might be possible that runtime errors are encountered if dylibs are linked in that have been installed to non-standard locations.

Expected Behavior

Correct instructions/environment settings on macOS

Steps to Reproduce

Install OpenCoarrays with install.sh and read the text & file to be sourced at the end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions