Skip to content

Library / path problem #1

@jlmaccal

Description

@jlmaccal
  1. Fresh install of OpenMM from master. Passes tests.
  2. Fresh install of example plugin from master.
  % make test                                                                                                                                                                                                                              !10215
Running tests...
Test project /Users/jlmaccal/Build/SamplePlugin
    Start 1: TestSerializeExampleForce
1/5 Test #1: TestSerializeExampleForce ........   Passed    0.00 sec
    Start 2: TestReferenceExampleForce
2/5 Test #2: TestReferenceExampleForce ........   Passed    0.00 sec
    Start 3: TestCudaExampleForceSingle
3/5 Test #3: TestCudaExampleForceSingle .......***Exception: Other  0.08 sec
    Start 4: TestCudaExampleForceMixed
4/5 Test #4: TestCudaExampleForceMixed ........***Exception: Other  0.05 sec
    Start 5: TestCudaExampleForceDouble
5/5 Test #5: TestCudaExampleForceDouble .......***Exception: Other  0.04 sec

40% tests passed, 3 tests failed out of 5

Total Test time (real) =   0.18 sec

The following tests FAILED:
      3 - TestCudaExampleForceSingle (OTHER_FAULT)
      4 - TestCudaExampleForceMixed (OTHER_FAULT)
      5 - TestCudaExampleForceDouble (OTHER_FAULT)
Errors while running CTest
make: *** [test] Error 8
  % platforms/cuda/tests/TestCudaExampleForce                                                                                                                                                                                              !10216
dyld: Library not loaded: @rpath/libOpenMMCUDA.dylib
  Referenced from: /Users/jlmaccal/Build/SamplePlugin/platforms/cuda/tests/TestCudaExampleForce
  Reason: image not found
[1]    14860 trace trap  platforms/cuda/tests/TestCudaExampleForce

I have the OpenMM lib dir in my path. I have also tried with and without setting OPENMM_PLUGIN_DIR with the same failure.

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