[torqueusers] Call For Test Cases

DuChene, StevenX A stevenx.a.duchene at intel.com
Mon Apr 30 12:56:35 MDT 2012

Here is some additional MPI testing info.

Simple MPI code:

/* program hello */
/* Adapted from mpihello.f by drs */

#include <mpi.h>
#include <stdio.h>

int main(int argc, char **argv)
  int *buf, i, rank, nints, len;
  char hostname[256];

  MPI_Comm_rank(MPI_COMM_WORLD, &rank);
  printf("Hello world!  I am process number: %d on host %s\n", rank, hostname);
  return 0;

After installing openmpi this is how to compile that code:

mpicc  mpi_hello_hostname.c -o mpi_hello_hostname

To run this code within torque I use the following PBS job script:

#PBS -l nodes=7:Viking:ppn=1
#PBS -l arch=xeon
#PBS -N MPI_7nodes_viking

mpirun --machinefile $PBS_NODEFILE /home/sadX/mpi_test/mpi_hello_hostname > hello_out_viking7nodes

and this is run with a simple qsub command:

qsub script_viking_7nodes.pbs

The expected output should be:

Hello world!  I am process number: 2 on host viking12.sep.here
Hello world!  I am process number: 0 on host viking13.sep.here
Hello world!  I am process number: 1 on host viking14.sep.here
Hello world!  I am process number: 3 on host viking15.sep.here
Hello world!  I am process number: 6 on host viking11.sep.here
Hello world!  I am process number: 4 on host viking17.sep.here
Hello world!  I am process number: 5 on host viking16.sep.here

From: torqueusers-bounces at supercluster.org [mailto:torqueusers-bounces at supercluster.org] On Behalf Of David Beer
Sent: Monday, April 30, 2012 10:56 AM
To: Torque Users Mailing List
Subject: Re: [torqueusers] Call For Test Cases

On Mon, Apr 30, 2012 at 11:36 AM, DuChene, StevenX A <stevenx.a.duchene at intel.com<mailto:stevenx.a.duchene at intel.com>> wrote:
That is great but what use cases or QA tests are you already covering?

I am running torque-4.0.1 with maui-3.3.1 as the scheduler and I usually test with some simple MPI tests using openmpi-1.4.4 (what I have installed now). These MPI tests are simple things like hello world programs that run mpi tasks across several nodes and report back with task numbers and hostnames. I have some more complex MPI tests but the simple ones have to work first before I move onto them.
Steven DuChene


There are currently a few hundred regression tests, but the bugs you've found have helped us realize that especially in MPI integration our tests aren't very good. Currently our test cases use pbsdsh to exercise the TM interface and verify that it is working. We recognize that this is inadequate and that's part of the reason we're doing this. You'd probably be interested to know that regression tests are being written about the cases that you've reported as part of fixing the bug (this is a prerequisite for any bug to be considered fixed).

The first thing we plan to tackle in this initiative is to get some openmpi regression tests written in addition to just using pbsdsh. Specific scripts you'd like to see tested would be very helpful.

Currently, there are no regression tests written around Maui, and I apologize as I know you did that testing for us. I will try to pull this in to the initiative but I feel I should warn you that I know this will be considered a lower priority than the MPI tests.


From: torqueusers-bounces at supercluster.org<mailto:torqueusers-bounces at supercluster.org> [mailto:torqueusers-bounces at supercluster.org<mailto:torqueusers-bounces at supercluster.org>] On Behalf Of David Beer
Sent: Monday, April 30, 2012 9:58 AM
To: Torque Users Mailing List
Subject: [torqueusers] Call For Test Cases


I don't know how much of this has been announced officially to the community, but for the past several months TORQUE has become more integrated with our company's QA processes. We have had hundreds of new regression tests written for TORQUE and as of 4.0 we have started writing unit tests for TORQUE functions (obviously the unit tests are a work in progress). We're really excited about the fact that TORQUE is getting more QA love from our company and we feel its going to help us produce far more reliable releases.

However, one problem we face is that sometimes our test cases aren't matching up well with what some of our users are doing, especially when it comes to integrating with different pieces of middleware. We would love to start creating regression tests (or adapting existing ones) to match people's use cases more fully. Obviously, I can't promise that all of the test cases will be written this week, but this is something our company is committed to. We know that improving this will only make all of our lives easier.

What we're hoping to receive would be detailed use cases that should be tested. Please remember that most of our QA team aren't experts in TORQUE, so the use cases should be explained in as much detail as possible - step by step instructions are excellent. If it requires using a specific library, or a specific MPI, etc., please include how to download these things. Additionally, if you have some test scripts that mirror what your users do in production, I'm sure our QA guys would appreciate it. Please submit these use cases through bugzilla so that we can keep them as organized as possible. We appreciate your help as we try to greatly improve the quality of TORQUE.

David Beer | Software Engineer
Adaptive Computing

torqueusers mailing list
torqueusers at supercluster.org<mailto:torqueusers at supercluster.org>

David Beer | Software Engineer
Adaptive Computing

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20120430/e65e61f4/attachment-0001.html 

More information about the torqueusers mailing list