John Pye
John Pye
the default setting in st_simulate seems to be to turn off LOG_SUCCESS notification since we already capture and report non-success via other routes (I think) and turning of stdout (has...
It seems we must either remove these 'suppressions' (maximises support for different omc vesions) or else update them for new omc command syntax (keeps output as similar as possible to...
As discussed, would be great if we can develop a GHA build for this new ubuntu version as well as for much more recent omc. See .github/actions/main.yml
i tried to resolve the MSYS linking issue with testmpi.c -- let's see if it works
ok the linking issue seems to be solved, now the issue is that a test case is still passing the -stdout option... FAILED test_solstice_oelt.py::test_solstice_oelt - subprocess.CalledProcessError: Command '['./TestSolsticeOELT', '-override', 'startTime=0.0,stopTime=10.0,stepSize=0.1,tolerance=1e-04',...
after a bit of digging, I think this is a fault in solsticepy rather than in solartherm. https://github.com/anustg/solstice-scripts/issues/3
i also posted here: https://discord.com/channels/792780131906617355/792780132398006315/1168061777699946556
here is an expanded example that shows why this is a problem: ``` #include #include int main(void) { PyConfig config; PyConfig_InitIsolatedConfig(&config); PyStatus status = Py_InitializeFromConfig(&config); if (PyStatus_Exception(status)) { Py_ExitStatusException(status); exit(1);...
Further testing on MSYS2. If I configure embedded Python as follows: ``` PyConfig config; PyConfig_InitIsolatedConfig(&config); config.platlibdir = L"c:\\msys64\\mingw64\\lib"; PyStatus status = Py_InitializeFromConfig(&config); ``` then I get this output: ``` john@windo...
> just curious, does the last error go away if you set `PYTHONLEGACYWINDOWSDLLLOADING=1`? Yes, it does work! Here is an updated minimal example. ```c #include #include #include int main(void) {...