Newsgroups: comp.parallel.pvm
From: fantauzz@pluto.sm.dsi.unimi.it (Francesco Fantauzzi)
Subject: instrumenting PVM with TAPE/PVM
Organization: Computer Science Dep. - Milan University
Date: 5 Jun 1995 16:58:20 GMT
Message-ID: <3qvd3c$gmv@ghost.sm.dsi.unimi.it>

I just installed pvmtape to instrument my PVM programs. I tryied it with
gexample.c, tha comes with pvmtape, and everything works fine: ParaGraph
can read and process the tracefile.

I wrote a Master/Slave program (to do Stochastic Optimization), and I compiled
it with:

==============================================

tapepp -fDB master.c 
tapepp -fDB slave.c
tapepp -fDB osl.c

xlc -I$PVM_ROOT/include -I$TAPE_ROOT/include -losl -lxlf -lm  -L/u/France/pvm3/l
ib/RS6K -L$TAPE_ROOT/$PVM_ARCH -lpvm3 -lgpvm3 -ltape -g master_t.c osl_t.c -omas
ter_t
xlc -I$PVM_ROOT/include -I$TAPE_ROOT/include -losl -lxlf -lm -L/u/France/pvm3/li
b/RS6K -L$TAPE_ROOT/$PVM_ARCH -lpvm3 -lgpvm3 -ltape -g slave_t.c osl_t.c -oslave
_t
cp slave_t /u/France/pvm3/bin/RS6K
===============================================

To say it in a word: I have master process, made up by master.c and osl.c,
and slave process, made up by slave.c and osl.c (again).

I run master_t, and master_t spawns slave_t process, generating a trace file.
But, when i try to load that tracefile with ParaGraph I get:

   preprocessing file 
   Missing trace data for node 1 (open not found): exiting

Does any one out there know what hell is happening?
My master_t program is in my home directory, and slave_t program is in
pvm3/bin/RS6K

tape.<number> is generated in my home directory.

My DB file is:

1       /u/France/master.c      master_t.c
2       /u/France/slave.c       slave_t.c
3       /u/France/osl.c osl_t.c
4       /u/France/gexample.c    gexample_t.c

Thanks for any hint, anything is well accepted: I really don't know what 
to do :(

Francesco G. Fantauzzi

fantauzz@ghost.sm.dsi.unimi.it

