Open MPI logo

MTT Devel Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all MTT Users mailing list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2006-11-20 15:17:56

All --

I added some new functlets on the MTT code base (please do an "svn
up") that will allow for more correct termination of MPI tests. More
specifically, our previous "pass" criteria in ini files was only
checking the exit status of the process (e.g., the value given to exit
() from the C code) -- it was not checking whether the process
actually exited or terminated due to signal. I advise all MTT users
to do the following:

1. Run "svn up" to get all the latest changes
2. Change the "pass" criteria in your INI files to use the new
funclets. By example, here's an old one:

     pass = &eq(&test_exit_status(), 0)

and here's what I suggest for a new one:

     pass = &and(&test_wifexited(), &eq(&test_wexitstatus(), 0))

This will make sure that both a) a test exited normally (i.e., not
via signal), and b) that its exit status was 0.

Jeff Squyres
Server Virtualization Business Unit
Cisco Systems