You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xavier Bonnin edited this page May 28, 2026
·
3 revisions
How can I speed up the SOLPS-ITER build?
Note: This experimental feature currently exists only in the feature/parallel_build fork.
Use a top-level -j flag to run compilation in parallel across all submodules:
make -j $(nproc) solps
make -j 16 solps_openmp
This lets GNU make's jobserver share compile jobs across B2.5, Eirene, Carre, Uinp, etc. simultaneously. Typical speed-up on 32 cores: ~40% wall-clock reduction compared to the older MAKE_OPTIONS=-j8 approach.
Note: The older form make MAKE_OPTIONS=-j8 is still supported but only parallelises within each submodule — it does not share jobs across modules.
Running in debug mode
b2run -d b2mn means you want to run b2mn inside the debugger (defined by your DBX environment variable).
While set_debug ; b2run b2mn will just run the b2mn executable compiled with the debug options, and built from gmake solps_debug.