I am using OpenMC which I installed without MPI option. Now I would like to install another instance of OpenMC with MPI option. I would like to preserve the first installation and name the mpi version differently, such as ‘openmcmpi’.
Assuming you are building from source, what you can do is use a different CMAKE_INSTALL_PREFIX for the MPI version at the time you’re running cmake. For example,