sandialabs / GeoTessCPP

A model parameterization and software support system that implements the construction, population, storage and interrogation of data stored in 3D Earth models. This version is in C++ and intended for Linux systems.
Other
7 stars 4 forks source link

Can GeoTess models handle parallel access? #6

Closed rad-lanl closed 1 month ago

rad-lanl commented 1 month ago

Can GeoTess model objects support parallel access (i.e. is there support for multi-threaded environments?)

rad-lanl commented 1 month ago

Im working on a parallel routine that requires accessing a GeoTess model to retrieve path weights. Currently, it seems each parallel instance needs to load the GeoTess model separately for the parallelization to work.

I'm wondering if GeoTess supports multithreaded access to a single model instance.

Specifically, is it possible to load the model once and access its parameters in parallel?

rad-lanl commented 1 month ago

Confirmed GeoTess CPP can handle parallelized access, must avoid serializing the object to make it work.

jkmacc-LANL commented 1 month ago

Thanks for leaving breadcrumbs on this!