sstsimulator / sst-macro

SST Macro Element Library
http://sst-simulator.org/
Other
34 stars 41 forks source link

All mpi tests fail for sst-core parallel simulation with more than 2 ranks #638

Closed jpkenny closed 2 years ago

jpkenny commented 2 years ago

All mpi tests fail for sst-core build when testing with more the 2 simulation ranks (1 and 2 ranks pass tests).

True for devel and probably everything.

jpkenny commented 2 years ago

Our mpi tests run via an externally compiled "apitest" app. It gets loaded via the following python config:

import sst.macro
sst.macro.loadLibrary("libsstmac_api_mpi_test.so")
sst.macro.setupDeprecated()

loadLibrary only results in that library being loaded in the root mpi rank that runs the python input script, other ranks will fail with error: cannot find builder 'apitest' in library 'macro' for base type App

So the problem is much more general than mpi tests / installcheck.

jpkenny commented 2 years ago

Fixed by PR #645