TM api on pbspro does not work for me?

fedele,

We hope you have compiled OpenMPI from source as below:

1. tar -xvzf openmpi-XXX.tar.gz  (current stable version as of now )
2. export LIBS=-ldl    
3. source /etc/pbs.conf
4. vi /opt/pbs/bin/pbs-config  (chmod 755 )
	copy paste the script mkaro has suggested in this link http://community.openpbs.org/t/compile-openmpi-with-pbspro-14-1-10/159/4
5. cd openmpi-XXX
6. ./configure --prefix=/appdata/openmpi/XXX --with-tm=/opt/pbs --enable-mpi-interface-warning --enable-shared --enable-static --enable-cxx-exceptions
7. make
8. make install

Note:
/appdata is a shared common applicaiton directory on the headnode and all the compute nodes
/scratch is a shared common directory on the headnode and all the compute nodes
green – headnode (pbs server )
green1 and green2 – compute nodes (pbs mom)
pbsdata - is the standard user

[pbsdata@green scratch]$ qsub -l select=2:ncpus=2:mem=10mb:mpiprocs=2 -l place=scatter – /appdata/openmpi/201/bin/mpirun /bin/hostname
152.green
[pbsdata@green scratch]$ cat STDIN.o152
green1
green2
green2
green1

Please let us know if you have any queries.
pbs-plugin script: Compile OpenMPI with PBSpro 14.1.10