[mvapich-discuss] mvapich2-1.9a2 configure error...

Jonathan Perkins perkinjo at cse.ohio-state.edu
Fri Nov 9 10:05:55 EST 2012


Thanks for the note Evren.  I've taken a look at your issue and I found
the problematic area.

Can you apply the attached patch at the top level of the mvapich2 source
using the following command.  Make sure to replace patch-file with
whatever the name of the downloaded patch is.

    patch -p1 < patch-file

Then you'll need to run ./autogen.sh.  This requires autoconf >= 2.67,
automake >= 1.12.3, and libtool >= 2.4.

    ./autogen.sh

After this you should be able to configure and compile mvapich2 as
expected.  Please let us know if this resolves your problem or if you
encounter any further issues.

On Fri, Nov 09, 2012 at 03:30:41PM +0200, Evren Yurtesen IB wrote:
> I am trying to configure mvapich2 with the following options:
> 
> ./configure --prefix=/export/modules/apps/mvapich2/1.9a2/gnu
> --enable-fast=all,O3 --enable-shared --enable-mpe --with-pmi=slurm
> --with-pm=no --with-valgrind=$VALGRIND_INCLUDE
> 
> The end result is:
> 
> ...
> ...
> ...
> checking for malloc in -lefence... no
> checking for strstr... yes
> checking target system type... x86_64-unknown-linux-gnu
> checking for javah in user's PATH... not found
> checking for javah in user's PATH... not found
> configure: WARNING:  Invalid JNI include dir, exit!
> configure: WARNING: SLOG2SDK: No sub-package has been configured
> MPE2:  "src/misc" "src/callstack" "src/logging" "src/wrappers"
> "src/graphics" "src/collchk" "src/slog2sdk" have been configured
> configure: ===== done with src/mpe2 configure =====
> checking size of OPA_ptr_t... 8
> checking the sizeof MPI_Offset... 8
> checking whether the Fortran Offset type works with Fortran 77... yes
> checking whether the Fortran Offset type works with Fortran 90... yes
> configure: creating ./config.lt
> config.lt: creating libtool
> checking that generated files are newer than configure... done
> configure: error: conditional "WANT_RDYNAMIC" was never defined.
> Usually this means the macro was only invoked conditionally.
> -bash-4.1$
> 
> 
> I could install 1.9a version earlier with the same options. I am not
> sure why configure is giving this error. Any ideas?
> 
> 
> Thanks,
> Evren
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
> 

-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo

-------------- next part --------------
>From 45c37eeb6a4da9001c80d7fec11a484a9ed38be5 Mon Sep 17 00:00:00 2001
From: Jonathan Perkins <perkinjo at cse.ohio-state.edu>
Date: Fri, 9 Nov 2012 09:19:28 -0500
Subject: [PATCH] always set conditionals used by mpirun_rsh

AM_COND_IF([BUILD_PM_MPIRUN],[
...
    AM_CONDITIONAL([WANT_RDYNAMIC], [test "x$GCC" = xyes])
...
])

The conditional must be set in all cases but yet its inside of an if
statement.  This problem will occur whenever BUILD_PM_MPIRUN isn't set
to true which is the case when --with-pm=no is set.

Signed-off-by: Jonathan Perkins <perkinjo at cse.ohio-state.edu>
---
 src/pm/mpirun/subconfigure.m4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pm/mpirun/subconfigure.m4 b/src/pm/mpirun/subconfigure.m4
index 08f6969..dc96e22 100644
--- a/src/pm/mpirun/subconfigure.m4
+++ b/src/pm/mpirun/subconfigure.m4
@@ -180,14 +180,14 @@ if test "$enable_rsh" = "yes"; then
     AC_DEFINE(USE_RSH, 1, [Define to enable use of rsh for command execution by default.])
 fi
 
-AM_CONDITIONAL([WANT_RDYNAMIC], [test "x$GCC" = xyes])
-AM_CONDITIONAL([WANT_CKPT_RUNTIME], [test "x$enable_ckpt" = xyes])
-
 # MVAPICH2_VERSION is exported from the top level configure
 AC_DEFINE_UNQUOTED([MVAPICH2_VERSION], ["$MVAPICH2_VERSION"], [Set to current version of mvapich2 package])
 
 ])
 
+AM_CONDITIONAL([WANT_RDYNAMIC], [test "x$GCC" = xyes])
+AM_CONDITIONAL([WANT_CKPT_RUNTIME], [test "x$enable_ckpt" = xyes])
+
 dnl AC_MSG_NOTICE([RUNNING CONFIGURE FOR MPIRUN PROCESS MANAGERS])
 # do nothing extra here for now
 
-- 
1.7.11.7



More information about the mvapich-discuss mailing list