-
Notifications
You must be signed in to change notification settings - Fork 84
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
Build and install of a shared libmpm
library
#723
Comments
Hi @lgiraldi Thanks. We use to have a There was some performance reason why we don't do it anymore....digging through the history of CMakelists.txt might provide a better insight on why we don't do that anymore. Happy to help integrate your data analysis tool. If you can provide a little more detail, maybe using HDF5 files could be a viable option? |
Thanks for the quick reply. I could find the issue #662 and the PR #664 related to the commit you were mentioning. add_executable(mpm ${mpm_SOURCE_DIR}/src/main.cc ${mpm_src} ${mpm_vtk})
if(MPM_BUILD_LIB)
add_library(lmpm SHARED ${mpm_src} ${mpm_vtk})
endif() Otherwise, would using a static library solve #662 ? Sorry for the ingenuous question, I am no MPI expert. Regarding our tool, it is related to a research project whose goal is to update the simulation state using external data sources (data assimilation) for an experimental process. I am willing to give you more details about my research through another private channel. |
Describe the feature
Split the current
mpm
CMake target into ampm
executable and alibmpm
shared library.For the context, we are planning to build a data analysis tool for simulation results while reusing
mpm
particles and grid functionalities as much as possible. Therefore, we would greatly appreciate to link our software to such "libmpm
" shared library.Describe alternatives
libmpmfunctions
,libmpmio
,libmpmbase
, ...),Additional context
I already have a minimal example up and running for a single shared library, I can provide a PR.
The text was updated successfully, but these errors were encountered: