Today I reran the trivial test on two nodes with (via the --scratch
option) to a NFS share that is accessible to all nodes in hostlist (as
suggested by Ethan).But still no luck.
I have shared
"/root/mtt-svn/samples/installs/nRpF/tests/trivial/test_get__trivial" on
my head node which is accessible to client node.
Then I ran test as "cat samples/developer.ini samples/trivial.ini |
client/mtt --scratch
/root/mtt-svn/samples/installs/nRpF/tests/trivial/test_get__trivial
--verbose - " but still its giving me the same error which I was getting
earlier.

and after this we ran the test and we were able to run it successfully.

Does this mean we manually have to either copy the test executables to
client nodes or we have to mount the test executables directory?

Can you please guide us on this to proceed further.

Regards,
Vishal

> Hi All,
> >
> > I have one issue with MTT trivial tests.All tests are not getting
> > passed,Please read below for detailed description.
> >
> > Today I ran mtt trivial tests with latest ofed package
> > OFED-1.5-20091217-0600 (ompi-1.4), between two machines,I was
able to run
> > the MTT trivial tests manually but not through MTT framework. I
think we
> > are missing some configuration steps since it is unable to find
the test
> > executables in the test run phase of the MTT.
> >
> > -> When we ran it through MTT it gave us the error and exits.
> > I ran the test as "cat developer.ini trivial.ini | ../client/mtt
> > --verbose - "
> >
> > -> When we analyzed error from
> > /root/mtt-svn/samples/Test_Run-trivial-my_installation-1.4.txt
file we
> > found it is not getting the executable files of the different
test to
> > execute.
> >
> > -> Then we found that those executables were being generated
only on one
> > of the machine out of two machines. So, we manually copied the
tests from
> >
/root/mtt-svn/samples/installs/nRpF/tests/trivial/test_get__trivial/c_ring
> > to another machine.
> >
> > -> And we ran it manually as shown below and it worked fine:
> > mpirun --host 102.77.77.64,102.77.77.68 -np 2 --mca btl
openib,sm,self
> > --prefix
> >
/usr/mpi/gcc/openmpi-1.4/root/mtt-svn/samples/installs/nRpF/tests/trivial/test_get__trivial/c_ring
> >
> > -> I am attaching file trivial.ini,developer.ini and
> > /root/mtt-svn/samples/Test_Run-trivial-my_installation-1.4.txt.
> >
> > Let us know if I am missing some configuration steps.
> >

You need to set your scratch directory (via the --scratch option) to
an NFS share that is accessible to all nodes in your hostlist. MTT
won't copy local files onto each node for you.

Regards,
Ethan

#
# Copyright (c) 2007 Sun Microystems, Inc. All rights reserved.
#

# Template MTT configuration file for Open MPI developers. The intent
# for this template file is to establish at least some loose
# guidelines for what Open MPI core developers should be running
# before committing changes to the OMPI repository. This file is not
# intended to be an exhaustive sample of all possible fields and
# values that MTT offers. Each developer will undoubtedly have to
# edit this template for their own needs (e.g., pick compilers to use,
# etc.), but this file provides a baseline set of configurations that
# we intend for you to run.
#
# Sample usage:
# cat developer.ini intel.ini | client/mtt - alreadyinstalled_dir=/your/install
# cat developer.ini trivial.ini | client/mtt - alreadyinstalled_dir=/your/install
#