Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macOS CI: DYLD Lib Path #587

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Apr 24, 2024

By default, /usr/local/lib should be in DYLD_LIBRARY_PATH, but somehow we suddenly got errors of the form

dyld[18636]: Library not loaded: @rpath/libamrex_3d.dylib
  Referenced from: <03D20F94-E6DD-3FA1-A198-5DDEE51D6D22> /usr/local/bin/impactx.MPI.OMP.DP.OPMD
  Reason: no LC_RPATH's found
/Users/runner/work/_temp/237ddb9c-4150-447e-96f7-89d33bd16a27.sh: line 4: 18636 Abort trap: 6           impactx.MPI.OMP.DP.OPMD examples/fodo/input_fodo.in algo.particle_shape = 1

Adding it manually now.

By default, `/usr/local/lib` should be in `DYLD_LIBRARY_PATH`, but
somehow we suddenly got errors of the form
```
dyld[18636]: Library not loaded: @rpath/libamrex_3d.dylib
  Referenced from: <03D20F94-E6DD-3FA1-A198-5DDEE51D6D22> /usr/local/bin/impactx.MPI.OMP.DP.OPMD
  Reason: no LC_RPATH's found
/Users/runner/work/_temp/237ddb9c-4150-447e-96f7-89d33bd16a27.sh: line 4: 18636 Abort trap: 6           impactx.MPI.OMP.DP.OPMD examples/fodo/input_fodo.in algo.particle_shape = 1
```

Adding it manually now.
@ax3l ax3l added bug Something isn't working machine / system Machine or system-specific issue component: third party Changes in ImpactX that reflect a change in a third-party library component: tests examples, tests and benchmarks labels Apr 24, 2024
@ax3l ax3l requested a review from cemitch99 April 24, 2024 18:10
@ax3l ax3l merged commit 4400cec into ECP-WarpX:development Apr 24, 2024
15 checks passed
@ax3l ax3l deleted the fix-ci-macos-dyld-path branch April 24, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: tests examples, tests and benchmarks component: third party Changes in ImpactX that reflect a change in a third-party library machine / system Machine or system-specific issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant