Newsgroups: comp.parallel.pvm
From: Viktor Vegh <vegh@fsc.qut.edu.au>
Subject: Trouble with linking on Fortran Powerstation on Win32
Organization: Queensland University of Technology
Date: Wed, 06 May 1998 11:35:17 +1000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <354FBE55.383E@fsc.qut.edu.au>

I just got pvm beta 5 and cannot seem to be able to link using the
libraries specified in the help section.

I have included 'fpvm3.h' in the source code. The libraries that I am
using to link are 'libfpvm.lib' and 'libpvm3.lib' as specified in the
help files.

If I include both of these libraries I get about 109 errors. The code is
of the form
        
> program Master
>
> include "fpvm3.h"
>
> integer tid,ierr
>
> call pvmfmytid(tid)
>	
> call pvmfexit(ierr)
>	 
> end 

Now, if I remove the 'libpvm3.lib' library, I only get 5 errors

> Linking...
> Master.obj : error LNK2001: unresolved external symbol __FFljj
> LINK : error LNK2001: unresolved external symbol _mainCRTStartup
> libfpvm.lib(pvmfexit.obj) : error LNK2001: unresolved external symbol _pvm_exit
> libfpvm.lib(pvmfmytid.obj) : error LNK2001: unresolved external symbol _pvm_mytid
> Hilbert_/Hilbert_pvm.exe : fatal error LNK1120: 4 unresolved externals
> Error executing link.exe.
> Hilbert_pvm.exe - 5 error(s), 0 warning(s)

I'm not too sure what it is that I am doing wrong. Could someone please
tell me, over e-mail would be nice, what steps I should be taking to
rectify the situation and get some work done :).

Cheers,

Viktor

p.s. where do I get beta six from ? I get my pvm programs from
http://www.epm.ornl.gov/pvm

