From: Ralf Kuebler <rk@mechb.uni-stuttgart.de>
Newsgroups: comp.parallel.pvm
Subject: Re: How to compile program on NT
Date: Wed, 24 Feb 1999 09:16:28 +0100
Organization: Comp.Center (RUS), U of Stuttgart, FRG
Message-Id: <36D3B55C.44C387F0@mechb.uni-stuttgart.de>
References: <#Y0Lm87X#GA.78@upnetnews02.moswest.msn.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.pvm:8051


Keiichi Tsujimoto wrote:
> 
> I have used PVM first time.
> 
> I've installed PVM3.4 beta 6 for win32 to my windowsNT machine.
> In my machine, VisualC++ ver.5 is installed.
> But I do not know how to compile sample programs (written in C) under
> /pvm3.4/examples/.
> In the casse of UNIX PVM provides documents which explain how  to compile
> programs in detail, but I can not find the proper documents for win32.
> 
> Can anyone suggest how to compile programs for win32 or inform me of the
> pointers(website, documents)?
> Sorry for easy question.
> 
> Thanks so much.
> 
> mail to:kchi_tsujimoto@msn.com
> 
> KEIICHI

I installed a bash-shell on Windows NT
and set the PVM_ROOT and PVM_ARCH varibales
in the .bashrc. Then I use the following
makefile to compile my source code slave.c:


!include $(PVM_ROOT)\conf\win32.bat
!include $(PVM_ROOT)\conf\win32.def

all: slave

slave: slave.obj
        $(linkexe) $(conflags) slave
$(PVM_ROOT)\lib\$(PVM_ARCH)\libpvm3.lib $(link_f
lags)

slave.obj: slave.c
        $(cc) $(cdebug) $(cflags) $(cvars) slave.c


I hope this will help.

Ralf

-- 
Ralf Kuebler, Institute B of Mechanics, University of Stuttgart
Pfaffenwaldring 9, D-70550 Stuttgart, phone/fax: (+49)-711-685-6396/6400
mailto:rk@mechb.uni-stuttgart.de 
http://www.uni-stuttgart.de/UNIuser/mechb/people/Kuebler/

