plumed / plumed2

Development version of plumed 2
https://www.plumed.org
GNU Lesser General Public License v3.0
364 stars 289 forks source link

Adding GLOBAL keyword to LOAD action #985

Closed Iximiel closed 1 year ago

Iximiel commented 1 year ago
Description

Knowing the problems with the new direction of pycv in Unix I added the possibility to LOAD shared object with the RTLD_GLOBAL option, if needed the standard behaviour is not changed.

I changed some names in the load method of PlumedMain, for readability.

Target release

I would like my code to appear in release 2.10

Type of contribution
Copyright
Tests
codecov-commenter commented 1 year ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (ae54bc5) 84.11% compared to head (7a9de3d) 84.11%.

:exclamation: Current head 7a9de3d differs from pull request most recent head 05ac10b. Consider uploading reports for the commit 05ac10b to get more accurate results

Files Patch % Lines
src/core/PlumedMain.cpp 87.50% 2 Missing :warning:
src/tools/DLLoader.cpp 80.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #985 +/- ## ========================================== - Coverage 84.11% 84.11% -0.01% ========================================== Files 602 602 Lines 56083 56092 +9 ========================================== + Hits 47176 47183 +7 - Misses 8907 8909 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.