Subject: Re: [MTT users] question on MTT setup instructions.
From: Ethan Mallove (ethan.mallove_at_[hidden])
Date: 2008-01-23 17:44:30


Hi Jennis,

FWIW, I run MTT using an MTT source code checkout. (This is
admittedly not the Right Way to distribute software, but it
works.) Try this:

  $ svn checkout https://svn.open-mpi.org/svn/mtt/branches/ompi-core-testers
  $ cd ompi-core-testers
  $ client/mtt --file samples/ompi-core-template.ini --verbose

On Wed, Jan/23/2008 02:44:37PM, Jennis Pruett wrote:
>
> I'm following the instructions on the MTT setup page.

What's the URL for this page?

>
> Would someone clarify the <your dir> parameters below.
> PREFIX is logically (to me) "where I am putting MTT" ,
> yes?
>
> But LIB is always confusing. Is this some MPI lib
> directory, a perl library or the same as <your dir>
> above - where I am putting MTT.

LIB is where you want to put the supporting perl libraries.
PREFIX is where you want to put the mtt executables (which
are perl scripts).

>
> And if so, how do I find where those happen to reside?
>
> Pointing PERLLIB means setting the env var, right?
>

Yes, PERLLIB (and also PERL5LIB) is an env var. You only
need it if, e.g., a certain perl module needed by MTT is in
a non-standard location. E.g., if you get errors like the
below, you will need to set PERLLIB (and PERL5LIB) to the
location of the missing module:

  Can't locate Foo.pm in @INC (@INC contains: /ws/ompi-tools/perl/lib/sun4-solaris-64int /ws/ompi-tools/perl/lib /ws/ompi-tools/perl/lib/usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.

Let me know if you get something like the above (in some odd
perl installations LWP::UserAgent won't be found).

-Ethan

> New to this, thanks.,
> Jenny
> -----
>
> If you do not have root access:
>
> $ perl Makefile.PL LIB=<your dir> PREFIX=<your dir>
> $ make
> $ make install
>
> You will then need to point PERLLIB to <your dir> to run MTT.
> _______________________________________________
> mtt-users mailing list
> mtt-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users