name='PyNomad' needed for setuptools (otherwise defaults to UNKNOWN for the egg info)
drop nomadCySimpleInterface.cpp from sources (is already #included in generated PyNomad.cpp, leading to duplicated (static, so mostly harmless) code)
BB_MAX_BLOCK_SIZE was moved to ControlGlobalParams (the lookup as-is always fails, even if set)
In the python tests, I changed the exception printing to have a clear error message (needed for debugging the above lookup problem), removed some whitespace, and the unnecessary repacking/unpacking into lists of return values.
With these changes, the Python interface and its tests build and run for me with 4.0.0 beta 2.
Building and running the PyNomad interface did not work for me, using 4.0.0 beta 2. This PR fixes a couple of issues:
NOMAD::CacheBase::getInstance()
interface change (fix follows MainStep.cpp)name='PyNomad'
needed for setuptools (otherwise defaults toUNKNOWN
for the egg info)nomadCySimpleInterface.cpp
from sources (is already#include
d in generatedPyNomad.cpp
, leading to duplicated (static
, so mostly harmless) code)BB_MAX_BLOCK_SIZE
was moved to ControlGlobalParams (the lookup as-is always fails, even if set)In the python tests, I changed the exception printing to have a clear error message (needed for debugging the above lookup problem), removed some whitespace, and the unnecessary repacking/unpacking into lists of return values.
With these changes, the Python interface and its tests build and run for me with 4.0.0 beta 2.