r179: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 9 Aug 2000 23:10:55 +0000 (23:10 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 9 Aug 2000 23:10:55 +0000 (23:10 +0000)
tools/Makefile.am
tools/pjrec.cpp

index f724e539ef2c94f184356bcca747c0eb138c1d78..a79c7e211b9b15c348d93b6b6cc07edbd345c81d 100644 (file)
@@ -50,10 +50,10 @@ CC_LAM = $(lamdir)/bin/balky
 LAM_EXTRA_SRC = mpiworld.cpp
 
 pjrec-lam: pjrec.cpp mpiworld.cpp ../include/ct.h  ../libctsim/libctsim.a ../libctsupport/libctsupport.a
-       $(CC_LAM) @DEF@ @lamdefs@ $(CFLAGS) $(INCLUDES) -DHAVE_MPI pjrec.cpp -o pjrec-lam $(LDFLAGS) $(LAM_EXTRA_SRC) @ctlibs@
+       $(CC_LAM) @DEFS@ @lamdefs@ $(CFLAGS) $(INCLUDES) -DHAVE_MPI pjrec.cpp -o pjrec-lam $(LDFLAGS) $(LAM_EXTRA_SRC) @ctlibs@
 
 phm2pj-lam: phm2pj.cpp mpiworld.cpp ../include/ct.h ../libctsim/libctsim.a ../libctsupport/libctsupport.a
-       $(CC_LAM) @DEF@ @lamdefs@ $(CFLAGS) $(INCLUDES) -DHAVE_MPI phm2pj.cpp -o phm2pj-lam $(LDFLAGS) $(LAM_EXTRA_SRC) @ctlibs@
+       $(CC_LAM) @DEFS@ @lamdefs@ $(CFLAGS) $(INCLUDES) -DHAVE_MPI phm2pj.cpp -o phm2pj-lam $(LDFLAGS) $(LAM_EXTRA_SRC) @ctlibs@
 
 phm2if-lam: phm2if.cpp mpiworld.cpp ../include/ct.h ../libctsim/libctsim.a ../libctsupport/libctsupport.a
        $(CC_LAM) @DEFS@ @lamdefs@ $(CFLAGS) $(INCLUDES) -DHAVE_MPI phm2if.cpp -o phm2if-lam $(LDFLAGS) $(LAM_EXTRA_SRC) @ctlibs@
index bab43e7a36ac1c947cca57c31b4467aa3ffc7fec..bee3d47c99925a8d6ed65ca7e395a33115bd3bf5 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: pjrec.cpp,v 1.10 2000/08/03 09:57:29 kevin Exp $
+**  $Id: pjrec.cpp,v 1.11 2000/08/09 23:10:55 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -49,7 +49,7 @@ static struct option my_options[] =
   {0, 0, 0, 0}
 };
 
-static const char* g_szIdStr = "$Id: pjrec.cpp,v 1.10 2000/08/03 09:57:29 kevin Exp $";
+static const char* g_szIdStr = "$Id: pjrec.cpp,v 1.11 2000/08/09 23:10:55 kevin Exp $";
 
 void 
 pjrec_usage (const char *program)
@@ -390,7 +390,7 @@ ReduceImageMPI (MPIWorld& mpiWorld, ImageFile* imLocal, ImageFile* imGlobal)
 {
   ImageFileArray vLocal = imLocal->getArray();
 
-  for (int ix = 0; ix < imLocal->nx(); ix++) {
+  for (unsigned int ix = 0; ix < imLocal->nx(); ix++) {
     void *recvbuf = NULL;
     if (mpiWorld.getRank() == 0) {
       ImageFileArray vGlobal = imGlobal->getArray();