On Fri, Jul/10/2009 09:51:35AM, Jeff Squyres wrote:
> Ethan - have you seen this?
>
>     https://svn.open-mpi.org/trac/ompi/ticket/1967
>
> Do you have any cycles to try to integrate it into MTT?  I was slammed this 
> past week and am out on vacation last week.  But I would very much like to 
> get this into regular MTT testing...

I think there's a simpler way to do this without having to create
another Analyze/Correctness_VampirTrace.pm module. E.g., I have some
vampirtrace stuff in my INI that look like this:

  [MPI details: Open MPI]
  ...
  exec:vampir_trace = &test_executable() --host &env_hosts() --prefix 
&test_prefix() &test_argv()
  ...

  [Test get: trivial]
  module = Trivial

  [Test build: trivial-VampirTrace]
  test_get = trivial
  module = Trivial

  # Use the VampirTrace wrapper compilers, instead of 
  # the plain vanilla MPI wrappers
  trivial_tests_mpicc  = mpicc-vt
  trivial_tests_mpicxx = mpicxx-vt
  trivial_tests_mpif77 = mpif77-vt
  trivial_tests_mpif90 = mpif90-vt

  [Test run: trivial-VampirTrace]
  test_build = trivial-vampirtrace
  pass = &and(&eq(&test_wexitstatus(), 0), &vampir_trace_files_exist())

  module = Simple
  specify_module = Simple
  simple_only:tests = &find_executables(".")
  simple_only_if_exec_exists = 1
  mpi_details_exec = vampir_trace

The above just gets and builds Trivial tests. Then instead of running
them via "mpirun", MTT executes them directly to create the trace
files:

  $ c_hello --host foo,bar --prefix /ompi/installation <argv>

If files with the .events.z or .def.z extensions have been created,
then &vampir_trace_files_exist() evaluates to true.

Why don't we create another funclet to run "otfinfo" on the trace
files? I can create it, I just need to know what "otfinfo" does to
confirm that the trace files are good.

-Ethan


>
> -- 
> Jeff Squyres
> Cisco Systems
>
> _______________________________________________
> mtt-devel mailing list
> mtt-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel

Reply via email to