Dear AMD User,
Did you try with FC configure option? If not could you please try installing openMPI with below configure options and confirm?
CFLAGS=" -O3 -fPIC -fopenmp "
CXXFLAGS=" -O3 -fPIC -fopenmp "
FCFLAGS=" -O3 -fPIC -fopenm"
./configure --prefix=${PREFIX_PATH} CC=clang CXX=clang++ FC=flang \
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" FCFLAGS="$FCFLAGS" \
--enable-mpi-fortran --enable-shared=yes --enable-static=yes \
--enable-mpi1-compatibility --disable-hwloc-pci
Thanks