Might be nice to add an --enable-openmp flag to configure, turning on the corresponding compiler flag with ax_openmp, and then use #pragma omp on the test loops also here etc. (which test lots of random points etc.) in the test suite for libctlgeom, to make sure that the ctlgeom functions are thread-safe.
However, in random_object_and_lattice in geomtst.c we will need to add a flag so that it doesn't perturb the global geometry_lattice variable.
Might be nice to add an
--enable-openmpflag toconfigure, turning on the corresponding compiler flag withax_openmp, and then use#pragma ompon the test loops also here etc. (which test lots of random points etc.) in the test suite for libctlgeom, to make sure that the ctlgeom functions are thread-safe.However, in
random_object_and_latticeingeomtst.cwe will need to add a flag so that it doesn't perturb the globalgeometry_latticevariable.