well I have modified settings.xml file as suggested. I submit the job on the server (managed as OpenPBS), by the command qsub bat.sh (attched below).
But I get the error saying
Missing: program name
Program mdrun either does not exist, is not
executable, or is an erroneous argument to mpirun.
run_or_exit: '/opt/mpich-mx-gcc-32/bin/mpirun -np 8 mdrun -s topol.tpr ' failed
though mdrun is in my path.
-------------------
bat.sh
--------------------
# supported. Request nodes only as above.
##PBS -l ncpus=16
#
#
# Option: -l walltime, request this amount of wall
# clock time for your job. Format is hh:mm:ss
# The default is 1 hour, the limit is 3 days.
# The following requests 5 hours.
#PBS -l walltime=01:10:00
#
#
# Option: -j oe, combines stdout and stderr into a
# single file.
#PBS -j oe
#
# Option: -o, specifies the name of the output file
# which will be found in ${PBS_O_WORKDIR} after your
# job completes.
#PBS -o spce_ibm.out
#
# Option: -N, names the job
#PBS -N spce_ibm
#
# Change directories to the directory where the qsub
# command was issued.
#cd ${PBS_O_WORKDIR}
#
# Copy in a fresh version of the hello++.
cd $HOME/VOTCA/tutorials/spce/ibm
rjq -mpirun run.sh
thanks
sikandar