[mpich2-commits] r8064 - in mpich2/trunk/test/mpid: . ch3

gropp at mcs.anl.gov gropp at mcs.anl.gov
Sat Feb 26 11:54:37 CST 2011


Author: gropp
Date: 2011-02-26 11:54:37 -0600 (Sat, 26 Feb 2011)
New Revision: 8064

Modified:
   mpich2/trunk/test/mpid/Makefile.sm
   mpich2/trunk/test/mpid/ch3/Makefile.sm
Log:
Fixed incorrect use of explicit MPILIBNAME in rarely used mpid tests

Modified: mpich2/trunk/test/mpid/Makefile.sm
===================================================================
--- mpich2/trunk/test/mpid/Makefile.sm	2011-02-26 17:22:59 UTC (rev 8063)
+++ mpich2/trunk/test/mpid/Makefile.sm	2011-02-26 17:54:37 UTC (rev 8064)
@@ -1,5 +1,6 @@
 SUBDIRS = ch3
 
+MPILIBNAME = @MPILIBNAME@
 # This is temporary
 # Don't build atomic by default
 EXTRA_PROGRAMS = atomic atomic_fai
@@ -7,9 +8,9 @@
 # Atomic tests (correctness and performance) some atomic operations.  This
 # is a temporary test.
 atomic_SOURCES = atomic.c
-atomic_LDADD = -L../../lib -lmpich
+atomic_LDADD = -L../../lib -l$(MPILIBNAME)
 atomic_fai_SOURCES = atomic_fai.c
-atomic_fai_LDADD = -L../../lib -lmpich
+atomic_fai_LDADD = -L../../lib -l$(MPILIBNAME)
 INCLUDES = -I../../src/include -I${top_srcdir}/src/include 
 
 #

Modified: mpich2/trunk/test/mpid/ch3/Makefile.sm
===================================================================
--- mpich2/trunk/test/mpid/ch3/Makefile.sm	2011-02-26 17:22:59 UTC (rev 8063)
+++ mpich2/trunk/test/mpid/ch3/Makefile.sm	2011-02-26 17:54:37 UTC (rev 8064)
@@ -2,4 +2,6 @@
 LDADD = -L../../../lib 
 DEPADD = ../../../lib/lib${MPILIBNAME}.a
 
+MPILIBNAME = @MPILIBNAME@
+
 reorder_SOURCES = reorder.c



More information about the mpich2-commits mailing list