Initialize MPI on mdserver #18050
-
Hi everyone, Is it possible to intialize MPI in the mdserver, or the metadata component of a plugin? I am hitting a runtime error in my custom plugin in the metadata component due to MPI not initialized. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Portions of Database plugins are shared between mdserver and engine. The mdserver isn't parallelized, only the engine. If you need MPI in the plugin, you must wrap the parallel code in #ifdef PARALLEL. There are also methods in avtParallel (src/avt/Pipeline/Pipeline) that wrap MPI calls and handle the check for whether or not PARALLEL is defined. |
Beta Was this translation helpful? Give feedback.
-
We have other third party I/O libraries that are MPI-enabled. We end up also building a serial version and use the serial version for the mdserver. |
Beta Was this translation helpful? Give feedback.
We have other third party I/O libraries that are MPI-enabled. We end up also building a serial version and use the serial version for the mdserver.