OMPI-X / MOC

MPI Open MP Coordination library
0 stars 2 forks source link

This fixes #2, it adds PMIX and MPI libs to the MOC library. #4

Closed gvallee closed 6 years ago

naughtont3 commented 6 years ago

Cool! Q: Should that be on LIBS instead of CPPFLAGS since it is adding linkage library?

naughtont3 commented 6 years ago

OK, yes. This is good and fixes the test case I was using to reproduce error.

For ticket trails, here's the test I used to confirm things worked. (Enable ifdef in test/simple_test.c to exercise use of libmoc.so).

beaker:$ git br
* gv_libsfix
  master
beaker:$ git diff
diff --git a/test/simple_test.c b/test/simple_test.c
index a49fd7c..598b77f 100644
--- a/test/simple_test.c
+++ b/test/simple_test.c
@@ -7,7 +7,7 @@ main (int argc, char **argv)
 {
     int rc;

-#if 0
+#if 1
     rc = MOC_Init (NULL);
     if (rc != MOC_SUCCESS)
     {
beaker:$ ./autogen.sh && \
    ./configure  \
     --prefix=/home/tjn/projects/ompi-ecp/install \
    --with-mpi=/home/tjn/projects/ompi-ecp/install \
    --with-pmix=/home/tjn/projects/ompi-ecp/install \
&& make