

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


tid^ ) call^ pvmfexit(^
info^ ) call^ pvmfkill(^
tid,^ info^ ) call^ pvmfaddhost(
host,^ info^ ) call^ pvmfdelhost(
host,^ info^ ) call^ pvmfnotify(a
bout,^ msgtag,^ ntask,
tids,^ info) call^ pvmfspawn(
task,^ flag,^ where,ntask,^ tids,^ numt
tid^ ) call^ pvmfperror(
msg,^ info^ ) call^ pvmftidtohos
t(^ tid,^ dtid^ ) call^ pvmfconfig(
nhost,^ narch,^
dtid,^ host,arch, speed, info) call^ pvmftasks(
which,^ ntask,
tid,^ ptid,^ dtid,flag, task, info) call^ pvmfgetopt(
what,^ val^ ) call^ pvmfsetopt(
what,^ val,^ oldval
p(^ group,^ inum^
call^ pvmflvgroup(
group,^ info^
call^ pvmfgsize(
group,^ size
call^ pvmfgettid(
group,^ inum,
tid^ ) call^ pvmfgetinst(
group,^ tid,^
inum^ ) call^ pvmfbarrier(
group,^ count,
info^ ) call^ pvmfbcast(
group,^ msgtag,
info^ ) call^ pvmfreduce(
op,^ xp,^ nitem,
type,^ tag,group, root, info^ )
PvmSum^ PvmProdu
ct
call^ pvmfmkbuf(
encoding,^ bufid
call^ pvmffreebuf(
bufid,^ info^ ) call^ pvmfgetsbuf(
bufid^ ) call^ pvmfgetrbuf(
bufid^ ) call^ pvmfsetsbuf(
bufid,^ oldbuf^
call^ pvmfsetrbuf(
bufid,^ oldbuf^
call^ pvmfinitsend
(^ encoding,^ bufid
PvmDataDefault^
PvmDataRaw^
PvmDataInplace^
type,^ xp,^ nitem,
stride,^ info^ )
call^ pvmfsend(^
tid,^ msgtag,^
info^ ) call^ pvmfmcast(
ntask,^ tids,^ msgtag,
info^ ) call^ pvmfpsend(
tid,^ msgtag,^ xp,
nitem,^ type,^ info
tid,^ msgtag,^ bufid
call^ pvmfprobe(
tid,^ msgtag,^ bufid
call^ pvmfnrecv(
tid,^ msgtag,^ bufid
call^ pvmftrecv(
tid,^ msgtag,^ sec,
usec,^ bufid^ ) call^ pvmfprecv(
tid,^ msgtag,^ xp,
nitem,^ type, rtid,^ rtag,^ ritem,
info^ ) call^ pvmfbufinfo
(bufid,^ bytes,^
msgtag,^ tid,^ info) call^ pvmfunpack(
type,^ xp,^ nitem,
stride,^ info^ )
out,^ bu^ d,^ count,^ dtid,
enco^ ding INTEGER^ ag,^
info,^ inum,^ msgtag,
mstat INTEGER^ narch,
nhost,^ nitem,^ ntask,
numt INTEGER^ oldbuf,
oldset,^ oldval,^ pstat,
ptid INTEGER^ ritem,
ro^ ot,^ rtag,^ rtid,^ sec,
set INTEGER^ signum,
sp^ eed,^ stride,^ tid INTEGER^ tids(ntask),
typ^ e,^ usec,^ which CHARACTER^ arch,
group,^ host,^ msg,^ task,
where 'typ^ e'^ xp(nitem*stride) ERROR^ CODE^
MEANING PvmOk^
0 okay PvmBadParam^
-2^ bad^ parameter PvmMismatch^
-3^ barrier^ count^
mismatch PvmNoData^
-5^ read^ past^ end
of^ bu^ er PvmNoHost^
-6^ no^ such^ host PvmNoFile^
-7^ no^ such^ executable PvmNoMem^
-10^ can't^ get^ mem
ory PvmBadMsg^
-12^ can't^ deco^ de
received^ msg PvmSysErr^
-14^ pvmd^ not^ resp
onding PvmNoBuf^
-15^ no^ current^ bu
er PvmNoSuchBuf^
-16^ bad^ message
id PvmNullGroup^
-17^ null^ group^ name
is^ ill^ egal PvmDupGroup^
-18^ already^ in^ group PvmNoGroup^
-19^ no^ group^ with
that^ name PvmNotInGroup^
-20^ not^ in^ group PvmNoInst^
-21^ no^ such^ instance
in^ group PvmHostFail^
-22^ host^ failed PvmNoParent^
-23^ no^ parent^ task PvmNotImpl^
-24^ function^ not^
implemented PvmDSysErr^
-25^ pvmd^ system
error PvmBadVersion^
-26^ pvmd-pvmd^
proto^ col^ mismatch PvmOutOfRes^
-27^ out^ of^ resources PvmDupHost^
-28^ host^ already^
con^ gured PvmCantStart^
-29^ failed^ to^ exec
new^ slave^ pvmd PvmAlready^
-30^ already^ doing
op^ eration PvmNoTask^
-31^ no^ such^ task PvmNoEntry^
-32^ no^ such^ (group,instance) PvmDupEntry^
-33^ (group,instance)
already^ exists
send^ index^ from
C^ Interface #include^ "pvm3.h" Pro^ cess^ Control int^ tid^ =^ pvm_mytid
(void) int^ info^ =^ pvm_exit(
void) int^ info^ =^ pvm_kill(
int^ tid) int^ info^ =^ pvm_addho
sts(char^ **hosts
,^ int^ nhost,int *infos) int^ info^ =^ pvm_delho
sts(char^ **hosts
,^ int^ nhost,int *infos) int^ numt^ =^ pvm_spawn
(char^ *task,^ char
**argv, int^ flag,^ char^
*where, int^ ntask,^ int^
*tids)
PvmTaskDefault^
PvmTaskHost^
PvmTaskArch^
PvmTaskDebug^
PvmTaskTrace^
PvmHostCompl^
Information int^ tid^ =^ pvm_paren
t(void) int^ dtid^ =^ pvm_tidto
host(int^ tid) int^ info^ =^ pvm_perro
r(char^ *msg) int^ info^ =^ pvm_confi
g(int^ *nhost,^ int
*narch, struct^ hostinfo
**hostp) int^ info^ =^ pvm_tasks
(int^ which,^ int
*ntask,struct taskinfo^ **taskp) int^ val^ =^ pvm_get
opt(int^ what) int^ oldval^ =^ pvm_set
opt(int^ what,^ int
val)
PvmRoute^
t
PvmDebugMask^
|^ PvmAllowDirec
t
PvmAutoErr^
PvmOutputTid^
PvmOutputCode^
PvmTraceTid^
PvmTraceCode^
PvmFragSize^
Signalling int^ info^ =^ pvm_sends
ig(int^ tid,^ int
signum) int^ info^ =^ pvm_notif
y(int^ about,^ int
msgtag,int ntask, int *tids)
PvmTaskExit^
PvmHostDelete^
PvmHostAdd^
Message^ Bu^
ers int^ bufid^ =^ pvm_mkbu
f(int^ encoding) int^ info^ =^ pvm_free
buf(int^ bufid) int^ bufid^ =^ pvm_gets
buf(void) int^ bufid^ =^ pvm_getr
buf(void) int^ oldbuf^ =^ pvm_sets
buf(int^ bufid) int^ oldbuf^ =^ pvm_setr
buf(int^ bufid) int^ bufid^ =^ pvm_init
send(int^ encoding
PvmDataDefault^
PvmDataRaw^
PvmDataInPlace^
Sending int^ info^ =^ pvm_pack
f(^ printf-like
format...^ ) int^ info^ =^ pvm_pkby
te(^ char^ *cp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_pkcp
lx(^ float^ *xp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_pkdc
plx(^ double^ *zp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_pkdo
uble(double^ *dp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_pkfl
oat(^ float^ *fp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_pkin
t(^ int^ *np,
int^ cnt,^ int^ std
int^ info^ =^ pvm_pklo
ng(^ long^ *np,
int^ cnt,^ int^ std
int^ info^ =^ pvm_pksh
ort(^ short^ *np,
int^ cnt,^ int^ std
int^ info^ =^ pvm_pkst
r(^ char^ *cp
int^ info^ =^ pvm_send
(^ int^ tid,^ int
msgtag^ ) int^ info^ =^ pvm_mcas
t(^ int^ *tids,^ int
ntask,^ int^ msgtag
int^ info^ =^ pvm_psen
d(^ int^ tid,^ int
msgtag,void *vp, int^ cnt,^ int^ type
Receiving int^ bufid^ =^ pvm_rec
v(^ int^ tid,^ int
msgtag^ ) int^ bufid^ =^ pvm_pro
be(^ int^ tid,^ int
msgtag^ ) int^ bufid^ =^ pvm_nre
cv(^ int^ tid,^ int
msgtag^ ) int^ bufid^ =^ pvm_pre
cv(^ int^ tid,^ int
msgtag,void *vp, int^ cnt,^ int^ typeint *rtid, int^ *rtag,^ int^ *rlen
int^ bufid^ =^ pvm_tre
cv(^ int^ tid,^ int
msgtag,struct timeval^ *tmout^ ) int^ info^ =^ pvm_bufi
nfo(^ int^ bufid,
int^ *bytes,int *msgtag,^ int^ *tid) int^ info^ =^ pvm_unpa
ckf(^ printf-li
ke^ format...^ ) int^ info^ =^ pvm_upkb
yte(^ char^ *cp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_upkc
plx(^ float^ *xp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_upkd
cplx(^ double^ *zp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_upkd
ouble(double^ *dp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_upkf
loat(^ float^ *fp,
int^ cnt,^ int^ std
int^ info^ =^ pvm_upki
nt(^ int^ *np,
int^ cnt,^ int^ std
int^ info^ =^ pvm_upkl
ong(^ long^ *np,
int^ cnt,^ int^ std
int^ info^ =^ pvm_upks
hort(^ short^ *np,
int^ cnt,^ int^ std
int^ info^ =^ pvm_upks
tr(^ char^ *cp
Group^ Op^ erations int^ inum^ =^ pvm_join
group(char^ *group) int^ info^ =^ pvm_lvgr
oup(^ char^ *group) int^ size^ =^ pvm_gsiz
e(^ char^ *group) int^ tid^ =^ pvm_gett
id(^ char^ *group,
int^ inum) int^ inum^ =^ pvm_geti
nst(^ char^ *group,
int^ tid) int^ info^ =^ pvm_barr
ier(^ char^ *group,
int^ count) int^ info^ =^ pvm_bcas
t(^ char^ *group,
int^ msgtag) int^ info^ =^ pvm_redu
ce(^ void^ *op,^ void
*vp,^ int^ cnt, int^ type,^ int^ msgtag,
char^ *group,^ int
root)
PvmMax^ PVM_BYT
PvmMin^ PVM_SHO
PvmSum^ PVM_INT
PvmProduct^ PVM_LON
Starting^ PVM pvmd^ [-nhostname
]^ [-d
[hostfile] pvm^ [hostfile]^
PVM^ Console
Commands help^ [command]^
conf^
add^ host(s)^
delete^ host(s)^
spawn^ [opt]^ file
ps^ [-a]^
alias^
unalias^
setenv^
echo^
version^
id^
sig^ num^ tid^
kill^ tid^
reset^
quit^
halt^
Compiling^ PVM
Applications cc^ -o^ task^ myprog.
c^ libpvm3.a f77^ -o^ task^ myprog
.f^ libfpvm3.a^ libpvm3.a
.a