Patch for TotalView support with MPICH2/MVAPICH2

Frank Mietke frank.mietke at informatik.tu-chemnitz.de
Fri Apr 11 03:18:42 EDT 2008


Hi,

On Thu, Apr 10, 2008 at 05:42:05PM -0400, Pete Wyckoff wrote:
> frank.mietke at informatik.tu-chemnitz.de wrote on Wed, 02 Apr 2008 14:33 +0200:
> > As attachment the revised patch. I made some minor changes:
> > 
> > 	- added two header files in tv_attach.c so that variables are known
> > 	- inserted a nanosleep() in MPIR_Breakpoint to prevent optimization by the
> > 	  compiler. You could do something else there if you think or you forbid
> > 	  optimization during compilation of tv_attach.c
> >    - nc + bash support, see below
> >    - README.tv file
> 
> Okay, merged these changes then glued the whole thing into the repo.

great, thank you.

> 
> > Communication through /dev/tcp is a feature of the shell. The shell opens a
> > socket and starts communication.
> > Okay, two issues. On our systems nc isn't installed, and Debian/Ubuntu systems
> > deactivated this feature in the bash and suggest using nc. I changed the script
> > above in this way that I check for nc first and if it is not there try using the
> > bash way. I have added some remarks to the README.tv file. 
> 
> I played again with the nc/bash code.  Doing "test -x nc" doesn't
> work unless you're sitting in /usr/bin.  So I changed it to "hash
> nc", hoping we find it in the path somewhere.  Neither this nor the
> shell approach are very rock solid.  Hard to know if the shell
> approach even works, and we can't do it at configure time as compute
> nodes are possibly different from the "front end" none on which
> configure generally runs.  Oh well, cross fingers; we made a

A good thing would be to have some kind of translation from tm_task_id to pid in the tm
interface.


> 
> This will surely help lots of MPICH2 users who would like to use Totalview
> with mpiexec.  Thanks again,

At least ours. ;)

Frank


> 
> 		-- Pete
> 

-- 
Dipl.-Inf. Frank Mietke     |     Fakultätsrechen- und Informationszentrum
Tel.: 0371 - 531 - 35538    |     Fak. für Informatik
Fax:  0371 - 531 8 35538    |     TU-Chemnitz
Key-ID: 60F59599            |     frank.mietke at informatik.tu-chemnitz.de


More information about the mpiexec mailing list