Hello,
To me there is two possibilities:

Either you have multiple openmpi installed and the wrong one is showing up
Either somehow the compilation didn’t work with the FLAG --with-cuda
(Did you install it on a machine that has cuda installed ?)

Uninstall everything and try again ?
I am afraid I can’t help much more though, sorry…