Newsgroups: comp.parallel.pvm
From: tfa532@cks1.rz.uni-rostock.de (Torsten Jeinsch)
Subject: Problems with compiling and linking WPVM programs
Organization: University of Rostock (Germany)
Date: 15 Dec 1995 12:19:49 GMT
Message-ID: <4arp55$5n9@taiwan.informatik.uni-rostock.de>

					Torsten Jeinsch at University of Rostock, Germany

Problems with compiling and linkPVM programs

I use the Turbo C++ compiler for Windows 3.1 from Borland International, Inc. .
I want to compile the source code pvmpi.c from the directory WPVM16\EXAMPLES\PVMPI and to produce the file pvmpi16.exe.

The project contains the following code.	gr_lib16.lib
						pvmsh.def
						pvmsh16.lib
						pvmshell.res
						wlpvm16.lib
						pvmpi.c

The include-path contains the following code.	stdio.h
						dos.h
						stdlib.h
						string.h
						ctype.h
						time.h
						wlpvm.h
						signal.h
						inc.h
						alloc.h
						shell.h
						winsock.h

While compiling some mistakes occur.

Compiling PVMPI.C:
Error SHELL.H 59: Declaration syntax error
Warning PVMPI.C 127: Both return and return with a value used
Warning PVMPI.C 130: Function should return a value
Warning PVMPI.C 130: Parameter 'argc' is never used
Warning PVMPI.C 130: Parameter 'argv' is never used

Line 59 of file shell.h:		int _RTLENTRY _EXPFUNC getchar(void);

The examples of WPVM16 (pvmpi16.exe and pvm_te16.exe) work.

I want to use WPVM and PVM to transfer data from PC to the workstation. At the workstation it is possible to process files in parallely (PVM & MATLAB).
After this the results are transferred back to the PC.
The same mistakes occur when running the first application.

Can you help me?

 
                        \|/
                       (@^@)
+-------------------o00-(_)-00o-------------------------------+
|        torsten.jeinsch@stud.uni-rostock.de                  |
|        Student aus Leidenschaft!                            |
+-------------------------------------------------------------+

