Newsgroups: comp.parallel.pvm
From: haferman@icaen.uiowa.edu (Jeff Haferman)
Subject: Need help with aimk/make and pvm...
Organization: University of Iowa, Iowa City, IA, USA
Date: 28 Sep 1994 01:51:31 GMT
Message-ID: <36ai73$9b6@nexus.uiowa.edu>


I'm running PVM 3.2.2 (I know, old version, but it does what I need)
on a cluster of HP 7xx/9000 running HPUX 9.04, but this is a generic
problem that perhaps others have come across, and is perhaps more of
a problem with "make" than anything else...

Anyway, I have several fortran source programs that must be compiled
and linked into one executable.  I basically took the Makefile.aimk
that was supplied with the PVM source, and tweaked it to my needs.
However, aimk assumes that the resulting object code will be 
placed in $PVM_ARCH (in this case "HPPA), and that the source code
lives in the parent directory of $PVM_ARCH.  Problem is, when I
update a source code file, make doesn't know this, and since all
of the object code lives in $PVM_ARCH, make simply relinks without
recompiling the new source code.  

With the Makefile.aimk that was supplied, source code was recompiled
everytime "aimk" was issued, whether needed or not.

Has anybody else figured out a way to do this, assuming I am
just using the HPUX vanilla make?  (I look into GNU make, but it's
huge and I don't want to also have to carry this around to every system
I port my code to...)

Thanks,
Jeff

-- 
==============================================================================
+            Jeff Haferman                         PH: (319) 335-5384        +
+ Department of Mechanical Engineering             FX: (319) 335-5669        +
+  and Center for Global and Regional            The University of Iowa      +
+        Environmental Research                   Iowa City, IA  52242       +
==============================================================================
+ http://www.cgrer.uiowa.edu/people/haferman e-mail:haferman@icaen.uiowa.edu +
==============================================================================


