I suggest you contact the Torque user list about this - it is a Torque
configuration issue, not something to do with OMPI.

On Jan 3, 2010, at 10:49 PM, chih lee wrote:

Hello,

I followed the instructions on the FAQ page to configure and compile
openmpi so that it should work with Torque.
./configure --with-tm=/usr/local --prefix=/usr/local
The option --disable-server was used to configure torque on the
compute nodes.
I got openmpi compiled without any error message on the head and
compute nodes.

I can use
$ mpirun -np 2 --host node1,node2 a.out
to run parallel programs without any problem.

Error messages:
/var/spool/torque/mom_priv/jobs/198.my_head_node.SC: 3: PBS: not
found
/var/spool/torque/mom_priv/jobs/198.my_head_node.SC: 4: PBS: not
found
/var/spool/torque/mom_priv/jobs/198.my_head_node.SC: 5: PBS: not
found
/var/spool/torque/mom_priv/jobs/198.my_head_node.SC: 6: PBS: not
found
/var/spool/torque/mom_priv/jobs/198.my_head_node.SC: 7: PBS: not
found
/var/spool/torque/mom_priv/jobs/198.my_head_node.SC: 8: PBS: not
found

I'm new to OpenMPI and Torque. I really appreciate it if you can give
me some insights. Thanks!