Thanks for the reply.
I have downloaded open-mpi 4.0.4 on the website https://www.open-mpi.org/software/ompi/v4.0/ and tried to build it.
./configure --prefix=/opt/openmpi/4.0.4 --with-tm=/opt/pbs
In the configuration step, I cannot continue. Here is the error message:
— MCA component ess:tm (m4 configuration macro)
checking for MCA component ess:tm compile mode… static
checking --with-tm value… not found
configure: WARNING: Expected file /opt/pbs/include/tm.h not found
configure: error: Cannot continue
I downloaded rpm file of openpbs 20.0.0 and installed successfully.
How can I resolve it?