Installing c++ code

I’d like to install some c++ code on the RSP. While I can find mpic++, I am finding an error when importing MPI

main.cpp:31:3: error: ‘MPI’ has not been declared
31 | MPI::Init ( argc, argv );

Has anyone encountered this issue before? How can I properly make c++ on RSP? Thanks!

g++ should be available. We don’t use the mpic++ wrapper, which is in the conda environment by chance rather than because we requested it. Can you compile outside the RSP and copy in the binary? Do you need MPI support even though you don’t have many cores on the RSP?

I am installing code that is not my own, so I’m unsure of how entrenched the MPI assumption is in compilation. It would be good to have MPI support, yes.