Newsgroups: comp.parallel.pvm
From: Kwon Yun Han <archi90@pc021216.yeungnam.ac.kr>
Subject: Psend & Precv Link Error
Organization: Department of  Architectural Engineering, Yeungnam University
Date: Wed, 22 Jul 1998 21:57:54 +0900
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="------------DA8DD6DD4F77AC8D71910EC7"
Message-ID: <35B5E1D2.CFB7BEB6@pc021216.yeungnam.ac.kr>


--------------DA8DD6DD4F77AC8D71910EC7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Win32 version- pvm3.4.beta4

I received following error messages,
error LNK2001: unresolved external symbol _PVMFPRECV@28
.......

I can't link with library. I guess that it is not  equal to number of
parameter of lib-file with Users'Guide book(page 230, page 235 )

 Fortran Code    !!!!!!!!!
In  /pvm_root/src, the number of parameter of pvmfpsend and pvmfprecv is
7 and 10,
but 6 and 9  in Users'Guide book.



pvmfpsend Source file
/* $Id: Pvmfpsend.c,v 1.1 1997/06/27 16:29:59 pvmsrc Exp $ */

#ifdef WIN32
#include "..\..\include\pvm3.h"
#include "..\..\src\pvmwin.h"
#else
#include "pvm3.h"
#endif

#include "pvm_consts.h"

void /*__stdcall*/ __fortran
PVMFPSEND (tid, msgtag, buf, buf_len, len, dt, info)
   int *tid, *msgtag, *len, *dt, *info;
   char *buf; int buf_len;
{
   *info = pvm_psend(*tid, *msgtag, buf, *len, *dt);
}

---------------------------------------------------------------
User's Guide page 235

Fortran      call pvmfpsend( tid, msgtag, buf, len, datatype, info)
==================================================
It is equal in case Pvmfprecv



--

 Yun-Han, Kwon
 Department of Architectural Engineering
 Yeungnam University of Kyongsan, Kyongbuk, South Korea
 E-mail :  archi90@arch.yeungnam.ac.kr




--------------DA8DD6DD4F77AC8D71910EC7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Win32 version- pvm3.4.beta4

<P>I received following error messages,
<BR>error LNK2001: unresolved external symbol _PVMFPRECV@28
<BR>.......

<P>I can't link with library. I guess that it is not&nbsp; equal to number
of parameter of lib-file with Users'Guide book(page 230, page 235 )

<P>&nbsp;Fortran Code&nbsp;&nbsp;&nbsp; !!!!!!!!!
<BR>In&nbsp; /pvm_root/src, the number of parameter of pvmfpsend and pvmfprecv
is 7 and 10,
<BR>but 6 and 9&nbsp; in Users'Guide book.
<BR>&nbsp;
<BR>&nbsp;

<P>pvmfpsend Source file
<BR>/* $Id: Pvmfpsend.c,v 1.1 1997/06/27 16:29:59 pvmsrc Exp $ */

<P>#ifdef WIN32
<BR>#include "..\..\include\pvm3.h"
<BR>#include "..\..\src\pvmwin.h"
<BR>#else
<BR>#include "pvm3.h"
<BR>#endif

<P>#include "pvm_consts.h"

<P>void /*__stdcall*/ __fortran
<BR>PVMFPSEND (tid, msgtag, buf, <B><FONT COLOR="#000099">buf_len</FONT></B>,
len, dt, info)
<BR>&nbsp;&nbsp; int *tid, *msgtag, *len, *dt, *info;
<BR>&nbsp;&nbsp; char *buf; <B><FONT COLOR="#000099">int buf_len</FONT></B>;
<BR>{
<BR>&nbsp;&nbsp; *info = pvm_psend(*tid, *msgtag, buf, *len, *dt);
<BR>}

<P>---------------------------------------------------------------
<BR>User's Guide page 235

<P>Fortran&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call pvmfpsend( tid, msgtag, buf,
len, datatype, info)
<BR>==================================================
<BR>It is equal in case Pvmfprecv
<BR>&nbsp;
<BR>&nbsp;

<P>--
<BR>&nbsp;
<BR>&nbsp;Yun-Han, Kwon
<BR>&nbsp;Department of Architectural Engineering
<BR>&nbsp;Yeungnam University of Kyongsan, Kyongbuk, South Korea
<BR>&nbsp;E-mail :&nbsp; archi90@arch.yeungnam.ac.kr
<BR>&nbsp;
<BR>&nbsp;
<BR>&nbsp;</HTML>

--------------DA8DD6DD4F77AC8D71910EC7--


