Re: [MTT users] mtt reports arrive without subject.

2008-01-10 Thread Jeff Squyres
BTW, you can run quick tests to see if the e-mail reporter is working  
-- do something like:


./client/mtt ...your normal MTT command line args... \
  --section trivial --test-build --force --section reporter

This will just build the "trivial" section (which is just 8 small  
apps: ring and hello in C, C++, F77, F90) and then submit a report,  
including the email reporter.


It's a quick-n-dirty way to test your reporter without doing a full- 
blown MTT run.




On Jan 10, 2008, at 2:44 PM, Ethan Mallove wrote:


On Thu, Jan/10/2008 06:27:03PM, Pavel Shamis (Pasha) wrote:

Ethan Mallove wrote:

Hi Pasha,

I confess that I don't use the Email reporter. I think the
email_subject is out-of-date. Try this:

 email_subject = MPI test results: ¤t_section()

I'm unsure about the empty email body, but have an idea.
What does this output for you?

 $ which Mail mailx mail rmail mutt elm


which Mail mailx mail rmail mutt elm
/usr/bin/Mail
/usr/bin/mailx
/usr/bin/mail
/usr/bin/mutt


I'm guessing the problem is that your mail agent has a
problem with doing this:

 $ cat foo.txt |  -s "MTT Mail Test"  
pa...@mellanox.co.il

 $ cat foo.txt
 Subject:
 start_timestamp: blah blah


the command : cat foo.txt  |  /usr/bin/Mail -s "MTT Mail Test"
pa...@mellanox.co.il
worked nice for me, I got the mail with the subj.



I might've misread your last email. Did the new
email_subject INI parameter from above solve your issue? I'd
have to see the --debug output to know why the Subject was
blank.



...
email_subject = MPI test results: $phase / $sectiona

In mail body I got:

Subject:
start_timestamp: Thu Jan 10 12:25:56 2008



Was the body of the email okay, or was it really blank
following the start_timestamp line?

Thanks,
Ethan




Thanks.

--
Pavel Shamis (Pasha)
Mellanox Technologies





Pasha
___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users

___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users



--
Jeff Squyres
Cisco Systems



Re: [MTT users] mtt reports arrive without subject.

2008-01-10 Thread Ethan Mallove
On Thu, Jan/10/2008 06:27:03PM, Pavel Shamis (Pasha) wrote:
> Ethan Mallove wrote:
> > Hi Pasha,
> >
> > I confess that I don't use the Email reporter. I think the
> > email_subject is out-of-date. Try this:
> >
> >   email_subject = MPI test results: ¤t_section()
> >
> > I'm unsure about the empty email body, but have an idea.
> > What does this output for you?
> >
> >   $ which Mail mailx mail rmail mutt elm
> >   
> which Mail mailx mail rmail mutt elm
> /usr/bin/Mail
> /usr/bin/mailx
> /usr/bin/mail
> /usr/bin/mutt
> 
> > I'm guessing the problem is that your mail agent has a
> > problem with doing this:
> >
> >   $ cat foo.txt |  -s "MTT Mail Test" pa...@mellanox.co.il
> >   $ cat foo.txt
> >   Subject:
> >   start_timestamp: blah blah
> >   
> the command : cat foo.txt  |  /usr/bin/Mail -s "MTT Mail Test" 
> pa...@mellanox.co.il
> worked nice for me, I got the mail with the subj.


I might've misread your last email. Did the new
email_subject INI parameter from above solve your issue? I'd
have to see the --debug output to know why the Subject was
blank.


> ...
> email_subject = MPI test results: $phase / $sectiona
>
> In mail body I got:
>
> Subject:
> start_timestamp: Thu Jan 10 12:25:56 2008


Was the body of the email okay, or was it really blank
following the start_timestamp line?

Thanks,
Ethan


>
> Thanks.
>
> --
> Pavel Shamis (Pasha)
> Mellanox Technologies


> 
> Pasha
> ___
> mtt-users mailing list
> mtt-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users


Re: [MTT users] hostlist enhancement

2008-01-10 Thread Jeff Squyres

Ya, that's a bozo on my part.  I'll commit without the //.


On Jan 10, 2008, at 11:21 AM, Pavel Shamis (Pasha) wrote:


Here is reply from Oleg :

The Patch didn't work.
Broken code -  my $ret = join(/$delimiter/, @hosts); in
lib/MTT/Values/Functions.pm > sub hostlist_hosts
Must be $ret = join($delimiter, @hosts);



Ethan Mallove wrote:

Works for me.

-Ethan

On Thu, Jan/10/2008 08:48:20AM, Jeff Squyres wrote:


Mellanox told me that the MTT &hostlist() funclet is returning a
comma-delimited list of hosts (and &hostlist_hosts()).  That is  
fine for
Open MPI, but it is not for MVAPICH -- MVAPICH requires a space- 
delimited

list of hosts for their mpirun.

Here's a patch that introduces an optional parameter to  
&hostlist() and
&hostlist_hosts().  The optional parameter is a delimiter for the  
hostlist.

So if you call:

&hostlist_hosts()

you'll get the same comma-delimited list that is returned today.   
But if

you call

&hostlist_hosts(" ")

you should get a space-delimited list.

Can Mellanox try this patch and see if it works for them?  If so,  
I'll

commit it to the MTT trunk.

--
Jeff Squyres
Cisco Systems








___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users



___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users





--
Pavel Shamis (Pasha)
Mellanox Technologies

___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users



--
Jeff Squyres
Cisco Systems



Re: [MTT users] mtt reports arrive without subject.

2008-01-10 Thread Pavel Shamis (Pasha)

Ethan Mallove wrote:

Hi Pasha,

I confess that I don't use the Email reporter. I think the
email_subject is out-of-date. Try this:

  email_subject = MPI test results: ¤t_section()

I'm unsure about the empty email body, but have an idea.
What does this output for you?

  $ which Mail mailx mail rmail mutt elm
  

which Mail mailx mail rmail mutt elm
/usr/bin/Mail
/usr/bin/mailx
/usr/bin/mail
/usr/bin/mutt


I'm guessing the problem is that your mail agent has a
problem with doing this:

  $ cat foo.txt |  -s "MTT Mail Test" pa...@mellanox.co.il
  $ cat foo.txt
  Subject:
  start_timestamp: blah blah
  
the command : cat foo.txt  |  /usr/bin/Mail -s "MTT Mail Test" 
pa...@mellanox.co.il

worked nice for me, I got the mail with the subj.

Pasha


Re: [MTT users] hostlist enhancement

2008-01-10 Thread Pavel Shamis (Pasha)

Here is reply from Oleg :

The Patch didn't work.
Broken code -  my $ret = join(/$delimiter/, @hosts); in
lib/MTT/Values/Functions.pm > sub hostlist_hosts
Must be $ret = join($delimiter, @hosts);



Ethan Mallove wrote:

Works for me.

-Ethan

On Thu, Jan/10/2008 08:48:20AM, Jeff Squyres wrote:
  
Mellanox told me that the MTT &hostlist() funclet is returning a 
comma-delimited list of hosts (and &hostlist_hosts()).  That is fine for 
Open MPI, but it is not for MVAPICH -- MVAPICH requires a space-delimited 
list of hosts for their mpirun.


Here's a patch that introduces an optional parameter to &hostlist() and 
&hostlist_hosts().  The optional parameter is a delimiter for the hostlist. 
 So if you call:


&hostlist_hosts()

you'll get the same comma-delimited list that is returned today.  But if 
you call


&hostlist_hosts(" ")

you should get a space-delimited list.

Can Mellanox try this patch and see if it works for them?  If so, I'll 
commit it to the MTT trunk.


--
Jeff Squyres
Cisco Systems




  

  

___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users



___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users

  



--
Pavel Shamis (Pasha)
Mellanox Technologies



Re: [MTT users] hostlist enhancement

2008-01-10 Thread Ethan Mallove
Works for me.

-Ethan

On Thu, Jan/10/2008 08:48:20AM, Jeff Squyres wrote:
> Mellanox told me that the MTT &hostlist() funclet is returning a 
> comma-delimited list of hosts (and &hostlist_hosts()).  That is fine for 
> Open MPI, but it is not for MVAPICH -- MVAPICH requires a space-delimited 
> list of hosts for their mpirun.
>
> Here's a patch that introduces an optional parameter to &hostlist() and 
> &hostlist_hosts().  The optional parameter is a delimiter for the hostlist. 
>  So if you call:
>
>   &hostlist_hosts()
>
> you'll get the same comma-delimited list that is returned today.  But if 
> you call
>
>   &hostlist_hosts(" ")
>
> you should get a space-delimited list.
>
> Can Mellanox try this patch and see if it works for them?  If so, I'll 
> commit it to the MTT trunk.
>
> -- 
> Jeff Squyres
> Cisco Systems


>

> ___
> mtt-users mailing list
> mtt-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users



Re: [MTT users] mtt reports arrive without subject.

2008-01-10 Thread Ethan Mallove
Hi Pasha,

I confess that I don't use the Email reporter. I think the
email_subject is out-of-date. Try this:

  email_subject = MPI test results: ¤t_section()

I'm unsure about the empty email body, but have an idea.
What does this output for you?

  $ which Mail mailx mail rmail mutt elm

I'm guessing the problem is that your mail agent has a
problem with doing this:

  $ cat foo.txt |  -s "MTT Mail Test" pa...@mellanox.co.il
  $ cat foo.txt
  Subject:
  start_timestamp: blah blah
  ...

The body of the mail message *should* be something like this:

  Subject: MPI test results: mpi install: mpi-developer
  start_timestamp: Thu Jan  3 16:35:53 2008
  bitness: 4
  compiler_name: sun
  compiler_version: 5.9 2007/07/12;
  configure_arguments: blah blah ...
  duration: 0 seconds
  endian: 0
  ENVIRONMENT_BEGIN
  prepend_path PATH /ws/ompi-tools/SUNWspro/SOS12-ML/bin
  ENVIRONMENT_END
  exit_signal: -1
  exit_value: 0
  merge_stdout_stderr: 1
  mpi_install_section_name: mpi-developer
  mpi_name: ompi-nightly-v1.0
  mpi_version: 1.0.3a1r11129
  os_version: s10x_u4wos_12
  phase: MPI Install
  result_message: blah blah ...
  start_timestamp: Thu Jan  3 16:37:16 2008
  test_result: 0
  vpath_mode: 0

Regards,
Ethan



On Thu, Jan/10/2008 02:55:10PM, Pavel Shamis (Pasha) wrote:
> Hi,
> I'm running MTT trunk (r1126) and I'm getting mail reports without any 
> subject.
> 
> In ini file I have:
> [Reporter: send email]
> module = Email
> email_to = pa...@mellanox.co.il
> email_subject = MPI test results: $phase / $sectiona
> 
> In mail body I got:
> 
> Subject:
> start_timestamp: Thu Jan 10 12:25:56 2008
> 
> Thanks.
> 
> -- 
> Pavel Shamis (Pasha)
> Mellanox Technologies
> 
> ___
> mtt-users mailing list
> mtt-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users


Re: [MTT users] hostlist enhancement

2008-01-10 Thread Pavel Shamis (Pasha)

Mellanox will try.
10x!

Jeff Squyres wrote:
Mellanox told me that the MTT &hostlist() funclet is returning a 
comma-delimited list of hosts (and &hostlist_hosts()).  That is fine 
for Open MPI, but it is not for MVAPICH -- MVAPICH requires a 
space-delimited list of hosts for their mpirun.


Here's a patch that introduces an optional parameter to &hostlist() 
and &hostlist_hosts().  The optional parameter is a delimiter for the 
hostlist.  So if you call:


&hostlist_hosts()

you'll get the same comma-delimited list that is returned today.  But 
if you call


&hostlist_hosts(" ")

you should get a space-delimited list.

Can Mellanox try this patch and see if it works for them?  If so, I'll 
commit it to the MTT trunk.





___
mtt-users mailing list
mtt-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
  



--
Pavel Shamis (Pasha)
Mellanox Technologies



[MTT users] hostlist enhancement

2008-01-10 Thread Jeff Squyres
Mellanox told me that the MTT &hostlist() funclet is returning a comma- 
delimited list of hosts (and &hostlist_hosts()).  That is fine for  
Open MPI, but it is not for MVAPICH -- MVAPICH requires a space- 
delimited list of hosts for their mpirun.


Here's a patch that introduces an optional parameter to &hostlist()  
and &hostlist_hosts().  The optional parameter is a delimiter for the  
hostlist.  So if you call:


&hostlist_hosts()

you'll get the same comma-delimited list that is returned today.  But  
if you call


&hostlist_hosts(" ")

you should get a space-delimited list.

Can Mellanox try this patch and see if it works for them?  If so, I'll  
commit it to the MTT trunk.


--
Jeff Squyres
Cisco Systems


hostlist.patch
Description: Binary data




[MTT users] mtt reports arrive without subject.

2008-01-10 Thread Pavel Shamis (Pasha)

Hi,
I'm running MTT trunk (r1126) and I'm getting mail reports without any 
subject.


In ini file I have:
[Reporter: send email]
module = Email
email_to = pa...@mellanox.co.il
email_subject = MPI test results: $phase / $sectiona

In mail body I got:

Subject:
start_timestamp: Thu Jan 10 12:25:56 2008

Thanks.

--
Pavel Shamis (Pasha)
Mellanox Technologies