Newsgroups: comp.parallel.pvm
From: orenl@mangal.cs.huji.ac.il (Oren Laden)
Subject: Re: Compiling PVM with Fortran
Organization: The Hebrew U. of Jerusalem, Computer Science Dept.
Date: 5 Nov 1995 13:59:40 GMT
Message-ID: <47ig0c$kdj@pretzel.cs.huji.ac.il>

In article <47c24l$qq0@news.ust.hk>, ma_csw@uxmail.ust.hk (Chong Shu Wing) writes:
|> Hi
|> 	I have some problem about compiling PVM Fortran.
|> 	A header file for Fortran (fpvm3.h) include in my programme.
|> 	When i type "f77 -L$PVM_ROOT/lib/$PVM_ARCH -lfpvm3 -lgpvm3 -lpvm3
|>	parallel.f" to compile my programme, it compiles fail with undefined
|>	symbol such as _pvmfspawn_, _pvm
|> 	Is any problems about the command?
|> 	Need any linking to other libraries?

You have to describe the system you are working on (OS, architecture etc) in
as much details as possible.

The problem is obviously a linking problem. The message indicates a problem
with finding the functions, not the libraries themselves.

I had a similar problem, while working with PC's (80X86) and BSD/OS. The
problem was that due to unknown reason PVM was not configured correctly
for this architecture (blame the programmers :-) ). Therefore its library 
functions were copmiled with additional or missing underscores, or even
uppercase names instead lowercase names. In short, the function calls of
fortran in PVM were not named according to the convention on that specific
system. 

I fixed the problem easily in the ARCH_TYPE.m4 (in $PVM_ROOT/conf) script.
You should try it too, or send more information.

Oren.

                                                    ___ 
**************************************** |\/\/\/|  |   \                     
** Oren Laden   (orenl@cs.huji.ac.il) ** |      |  |___/   /\     ___     
** ---------------------------------- ** |      |  |   \  /  \   |   \ _____
** Distributed Operating Systems lab. ** | (0)(0)  |___/ /----\  |___/   |  
**     Computer Science Institute     ** c      _)      /      \ |  \    |
** The Hebrew University of Jerusalem **  | ,___|                |   \   |   
**      Jerusalem,  Israel 91904      **  |   /                          |
**************************************** /____\     S  I  M  P  S  O  N
     " Ouch ....   Quit It ! "          /      \       


