LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2004-09-29 18:19:16


Note that the LAM/MPI Install Guide marked --with-blcr as a deprecated
configure flag. The new flag is --with-cr-blcr. Can you try that?

On Sep 29, 2004, at 5:17 PM, xferfile wrote:

> I have some problem configure the lam-mpi with blcr. I have configure
> it successfully with lam 7.0 and blcr 0.2.3. It is fine. But when I
> tried to switch to lam7.1.1, the blcr can not be configured and it
> switched to self.
> My OS is linux 2.4.20-20.7smp i686 with GNU. I attached the
> config.log of blcr.
> Please help.
> lam-7.1.1/share/ssi/crlam/blcr/config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by configure, which was
> generated by GNU Autoconf 2.59. Invocation command line was
>
> $ ./configure --with-blcr=/usr/local/blcr --with-rpi=crtcp
> --prefix=/home/ducong/lam --cache-file=/dev/null --srcdir=.
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = mgt5
> uname -m = i686
> uname -r = 2.4.20-20.7smp
> uname -s = Linux
> uname -v = #1 SMP Mon Aug 18 14:46:14 EDT 2003
>
> /usr/bin/uname -p = unknown
> /bin/uname -X = unknown
>
> /bin/arch = i686
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo = unknown
> /bin/machine = unknown
> /usr/bin/oslevel = unknown
> /bin/universe = unknown
>
> PATH: /home/ducong/bin
> PATH: /home/ducong/bitkeeper
> PATH: /usr/local/bin
> PATH: /bin
> PATH: /usr/bin
> PATH: /usr/X11R6/bin
> PATH: /usr/local/pbs/bin
> PATH: /usr/local/pbs/sbin
> PATH: /usr/local/maui/bin
> PATH: /opt/xcat/bin
> PATH: /opt/xcat/sbin
> PATH: /opt/xcat/i686/bin
> PATH: /opt/xcat/i686/sbin
> PATH: /sbin
> PATH: /usr/local/blcr/bin
> PATH: /usr/local/lam_cr/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1667: checking for a BSD-compatible install
> configure:1722: result: /usr/bin/install -c
> configure:1733: checking whether build environment is sane
> configure:1776: result: yes
> configure:1833: checking for gawk
> configure:1849: found /bin/gawk
> configure:1859: result: gawk
> configure:1869: checking whether make sets $(MAKE)
> configure:1889: result: yes
> configure:2065: checking build system type
> configure:2083: result: i686-pc-linux-gnu
> configure:2111: checking host system type
> configure:2125: result: i686-pc-linux-gnu
> configure:2304: checking if want the blcr crlam to be the default
> configure:2323: result: no
> configure:2336: checking if want module to be run-time loadable
> configure:2378: result: no
> configure:2517: checking if want debugging output support
> configure:2531: result: no
> configure:2592: checking for gcc
> configure:2608: found /usr/bin/gcc
> configure:2618: result: gcc
> configure:2862: checking for C compiler version
> configure:2865: gcc --version </dev/null >&5
> 2.96
> configure:2868: $? = 0
> configure:2870: gcc -v </dev/null >&5
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
> configure:2873: $? = 0
> configure:2875: gcc -V </dev/null >&5
> gcc: argument to `-V' is missing
> configure:2878: $? = 1
> configure:2901: checking for C compiler default output file name
> configure:2904: gcc -O3 -pthread -DLAM_BUILDING=1 conftest.c
> >&5
> configure:2907: $? = 0
> configure:2953: result: a.out
> configure:2958: checking whether the C compiler works
> configure:2964: ./a.out
> configure:2967: $? = 0
> configure:2984: result: yes
> configure:2991: checking whether we are cross compiling
> configure:2993: result: no
> configure:2996: checking for suffix of executables
> configure:2998: gcc -o conftest -O3 -pthread -DLAM_BUILDING=1
> conftest.c >&5
> configure:3001: $? = 0
> configure:3026: result:
> configure:3032: checking for suffix of object files
> configure:3053: gcc -c -O3 -pthread -DLAM_BUILDING=1 conftest.c >&5
> configure:3056: $? = 0
> configure:3078: result: o
> configure:3082: checking whether we are using the GNU C compiler
> configure:3106: gcc -c -O3 -pthread -DLAM_BUILDING=1 conftest.c >&5
> configure:3112: $? = 0
> configure:3116: test -z
> || test ! -s conftest.err
> configure:3119: $? = 0
> configure:3122: test -s conftest.o
> configure:3125: $? = 0
> configure:3138: result: yes
> configure:3144: checking whether gcc accepts -g
> configure:3165: gcc -c -g -DLAM_BUILDING=1 conftest.c >&5
> configure:3171: $? = 0
> configure:3175: test -z
> || test ! -s conftest.err
> configure:3178: $? = 0
> configure:3181: test -s conftest.o
> configure:3184: $? = 0
> configure:3195: result: yes
> configure:3212: checking for gcc option to accept ANSI C
> configure:3282: gcc -c -O3 -pthread -DLAM_BUILDING=1 conftest.c >&5
> configure:3288: $? = 0
> configure:3292: test -z
> || test ! -s conftest.err
> configure:3295: $? = 0
> configure:3298: test -s conftest.o
> configure:3301: $? = 0
> configure:3319: result: none needed
> configure:3337: gcc -c -O3 -pthread -DLAM_BUILDING=1 conftest.c >&5
> conftest.c:2: parse error before `me'
> configure:3343: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> | choke me
> | #endif
> configure:3487: checking for style of include used by make
> configure:3515: result: GNU
> configure:3543: checking dependency style of gcc
> configure:3633: result: gcc3
> configure:3656: checking how to run the C preprocessor
> configure:3691: gcc -E -DLAM_BUILDING=1 conftest.c
> configure:3697: $? = 0
> configure:3729: gcc -E -DLAM_BUILDING=1 conftest.c
> conftest.c:18:28: ac_nonexistent.h: No such file or directory
> configure:3735: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_SSI_CRLAM_BLCR_MAJOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_MINOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_RELEASE_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_ALPHA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_BETA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_CVS_VERSION
> | #define LAM_SSI_CRLAM_BLCR_VERSION "1.1"
> | #define LAM_SSI_CRLAM_BLCR_DEFAULT 0
> | #define LAM_WANT_DEBUG 0
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:3774: result: gcc -E
> configure:3798: gcc -E -DLAM_BUILDING=1 conftest.c
> configure:3804: $? = 0
> configure:3836: gcc -E -DLAM_BUILDING=1 conftest.c
> conftest.c:18:28: ac_nonexistent.h: No such file or directory
> configure:3842: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_SSI_CRLAM_BLCR_MAJOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_MINOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_RELEASE_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_ALPHA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_BETA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_CVS_VERSION
> | #define LAM_SSI_CRLAM_BLCR_VERSION "1.1"
> | #define LAM_SSI_CRLAM_BLCR_DEFAULT 0
> | #define LAM_WANT_DEBUG 0
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:3886: checking for egrep
> configure:3896: result: grep -E
> configure:3902: checking whether gcc needs -traditional
> configure:3944: result: no
> configure:3962: checking for AIX
> configure:3984: result: no
> configure:3994: checking if need special C compiler/linker flags
> configure:4027: result: none needed
> configure:4239: checking for C optimization flags
> configure:4241: result: -O3 -pthread
> configure:4428: checking if C compiler and POSIX threads work as is
> configure:4487: gcc -o conftest -O3 -pthread -DLAM_BUILDING=1
> -DLAM_BUILDING=1 conftest.c >&5
> configure:4493: $? = 0
> configure:4497: test -z
> || test ! -s conftest.err
> configure:4500: $? = 0
> configure:4503: test -s conftest
> configure:4506: $? = 0
> configure:4526: result: yes
> configure:4817: checking for working POSIX threads package
> configure:4820: result: yes
> configure:4859: checking if C compiler and Solaris threads work
> configure:4894: gcc -o conftest -D_REENTRANT conftest.c -lthread
> >&5
> conftest.c:19:20: thread.h: No such file or directory
> configure:4900: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_SSI_CRLAM_BLCR_MAJOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_MINOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_RELEASE_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_ALPHA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_BETA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_CVS_VERSION
> | #define LAM_SSI_CRLAM_BLCR_VERSION "1.1"
> | #define LAM_SSI_CRLAM_BLCR_DEFAULT 0
> | #define LAM_WANT_DEBUG 0
> | #define LAM_CC "gcc"
> | /* end confdefs.h. */
> | #include <thread.h>
> | int
> | main ()
> | {
> | thread_t th; thr_join(th, 0, 0);
> | thr_create(0,0,0,0,0,0);
> | ;
> | return 0;
> | }
> configure:4936: result: no
> configure:4966: checking for working Solaris threads package
> configure:4972: result: no
> configure:4980: checking for type of thread support
> configure:5045: result: posix
> configure:5109: checking if threads have different pids (pthreads on
> linux)
> configure:5154: gcc -o conftest -O3 -pthread -DLAM_BUILDING=1
> -DLAM_BUILDING=1 conftest.c >&5
> configure:5157: $? = 0
> configure:5159: ./conftest
> configure:5162: $? = 1
> configure: program exited with status 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_SSI_CRLAM_BLCR_MAJOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_MINOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_RELEASE_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_ALPHA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_BETA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_CVS_VERSION
> | #define LAM_SSI_CRLAM_BLCR_VERSION "1.1"
> | #define LAM_SSI_CRLAM_BLCR_DEFAULT 0
> | #define LAM_WANT_DEBUG 0
> | #define LAM_CC "gcc"
> | #define LAM_HAVE_SOLARIS_THREADS 0
> | #define LAM_HAVE_POSIX_THREADS 1
> | /* end confdefs.h. */
> | #include <pthread.h>
> | #include <sys/types.h>
> | #include <unistd.h>
> | #include <stdlib.h>
> | void *checkpid(void *arg);
> | int main(int argc, char* argv[]) {
> | pthread_t thr;
> | int pid, retval;
> | pid = getpid();
> | pthread_create(&thr, NULL, checkpid, &pid);
> | pthread_join(thr, (void **) &retval);
> | exit(retval);
> | }
> | void *checkpid(void *arg) {
> | int ret;
> | int ppid = *((int *) arg);
> | if (ppid == getpid())
> | ret = 0;
> | else
> | ret = 1;
> | pthread_exit((void *) ret);
> | }
> configure:5180: result: yes
> configure:5253: checking for cr_register_callback in -lcr
> configure:5283: gcc -o conftest -O3 -pthread -DLAM_BUILDING=1
> -DLAM_BUILDING=1 conftest.c -lcr >&5
> /usr/bin/ld: cannot find -lcr
> collect2: ld returned 1 exit status
> configure:5289: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define LAM_SSI_CRLAM_BLCR_MAJOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_MINOR_VERSION 1
> | #define LAM_SSI_CRLAM_BLCR_RELEASE_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_ALPHA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_BETA_VERSION 0
> | #define LAM_SSI_CRLAM_BLCR_CVS_VERSION
> | #define LAM_SSI_CRLAM_BLCR_VERSION "1.1"
> | #define LAM_SSI_CRLAM_BLCR_DEFAULT 0
> | #define LAM_WANT_DEBUG 0
> | #define LAM_CC "gcc"
> | #define LAM_HAVE_SOLARIS_THREADS 0
> | #define LAM_HAVE_POSIX_THREADS 1
> | #define LAM_THREADS_HAVE_DIFFERENT_PIDS 1
> | /* end confdefs.h. */
> |
> | /* Override any gcc2 internal prototype to avoid an error. */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> | builtin and then its argument prototype would still apply. */
> | char cr_register_callback ();
> | int
> | main ()
> | {
> | cr_register_callback ();
> | ;
> | return 0;
> | }
> configure:5315: result: no
> configure:5369: checking if want LBNL checkpoint support
> configure:5372: result: no
> configure:5374: error: cannot continue
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=i686-pc-linux-gnu
> ac_cv_build_alias=i686-pc-linux-gnu
> ac_cv_c_compiler_gnu=yes
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=set
> ac_cv_env_CFLAGS_value='-O3 -pthread'
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_CPPFLAGS_value=' -DLAM_BUILDING=1 '
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_value=
> ac_cv_env_CXXCPP_set=
> ac_cv_env_CXXCPP_value=
> ac_cv_env_CXXFLAGS_set=set
> ac_cv_env_CXXFLAGS_value='-O3 -pthread'
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_F77_set=set
> ac_cv_env_F77_value=g77
> ac_cv_env_FFLAGS_set=set
> ac_cv_env_FFLAGS_value='-O -pthread'
> ac_cv_env_LDFLAGS_set=set
> ac_cv_env_LDFLAGS_value=' '
> ac_cv_env_build_alias_set=
> ac_cv_env_build_alias_value=
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_exeext=
> ac_cv_host=i686-pc-linux-gnu
> ac_cv_host_alias=i686-pc-linux-gnu
> ac_cv_lib_cr_cr_register_callback=no
> ac_cv_objext=o
> ac_cv_path_install='/usr/bin/install -c'
> ac_cv_prog_AWK=gawk
> ac_cv_prog_CPP='gcc -E'
> ac_cv_prog_ac_ct_CC=gcc
> ac_cv_prog_cc_g=yes
> ac_cv_prog_cc_stdc=
> ac_cv_prog_egrep='grep -E'
> ac_cv_prog_gcc_traditional=no
> ac_cv_prog_make_make_set=yes
> am_cv_CC_dependencies_compiler_type=gcc3
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ACLOCAL='${SHELL}
> /home/ducong/software/lam-7.1.1/share/ssi/crlam/blcr/config/missing
> --run aclocal-1.8'
> AMDEPBACKSLASH='\'
> AMDEP_FALSE='#'
> AMDEP_TRUE=''
> AMTAR='${SHELL}
> /home/ducong/software/lam-7.1.1/share/ssi/crlam/blcr/config/missing
> --run tar'
> AR=''
> AUTOCONF='${SHELL}
> /home/ducong/software/lam-7.1.1/share/ssi/crlam/blcr/config/missing
> --run autoconf'
> AUTOHEADER='${SHELL}
> /home/ducong/software/lam-7.1.1/share/ssi/crlam/blcr/config/missing
> --run autoheader'
> AUTOMAKE='${SHELL}
> /home/ducong/software/lam-7.1.1/share/ssi/crlam/blcr/config/missing
> --run automake-1.8'
> AWK='gawk'
> CC='gcc'
> CCDEPMODE='depmode=gcc3'
> CFLAGS='-O3 -pthread'
> CLEANFILES='*~'
> CPP='gcc -E'
> CPPFLAGS=' -DLAM_BUILDING=1 -DLAM_BUILDING=1'
> CXX=''
> CXXCPP=''
> CXXDEPMODE=''
> CXXFLAGS='-O3 -pthread'
> CYGPATH_W='echo'
> DEFS=''
> DEPDIR='.deps'
> ECHO='echo'
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP='grep -E'
> EXEEXT=''
> F77='g77'
> FFLAGS='-O -pthread'
> INSTALL_DATA='${INSTALL} -m 644'
> INSTALL_PROGRAM='${INSTALL}'
> INSTALL_SCRIPT='${INSTALL}'
> INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
> LAM_BINDIR='/home/ducong/lam/bin'
> LAM_BUILD_CRTCP='0'
> LAM_BUILD_LOADABLE_MODULE_FALSE=''
> LAM_BUILD_LOADABLE_MODULE_TRUE=''
> LAM_EXEC_PREFIX='/home/ducong/lam'
> LAM_MANDIR='/home/ducong/lam/man'
> LAM_PREFIX='/home/ducong/lam'
> LDFLAGS=' '
> LIBCR_INCLUDE=''
> LIBCR_LDFLAGS=''
> LIBCR_LIBS=''
> LIBOBJS=''
> LIBS=' '
> LIBTOOL=''
> LN_S=''
> LTLIBOBJS=''
> MAKEINFO='${SHELL}
> /home/ducong/software/lam-7.1.1/share/ssi/crlam/blcr/config/missing
> --run makeinfo'
> OBJEXT='o'
> PACKAGE='crlam-blcr'
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_VERSION=''
> PATH_SEPARATOR=':'
> RANLIB=''
> SET_MAKE=''
> SHELL='/bin/sh'
> STRIP=''
> VERSION='1.1'
> WRAPPER_EXTRA_LDFLAGS=''
> WRAPPER_EXTRA_LIBS=''
> ac_ct_AR=''
> ac_ct_CC='gcc'
> ac_ct_CXX=''
> ac_ct_F77=''
> ac_ct_RANLIB=''
> ac_ct_STRIP=''
> ac_prefix_program=''
> am__fastdepCC_FALSE='#'
> am__fastdepCC_TRUE=''
> am__fastdepCXX_FALSE=''
> am__fastdepCXX_TRUE=''
> am__include='include'
> am__leading_dot='.'
> am__quote=''
> bindir='${exec_prefix}/bin'
> build='i686-pc-linux-gnu'
> build_alias=''
> build_cpu='i686'
> build_os='linux-gnu'
> build_vendor='pc'
> datadir='${prefix}/share'
> exec_prefix='NONE'
> host='i686-pc-linux-gnu'
> host_alias=''
> host_cpu='i686'
> host_os='linux-gnu'
> host_vendor='pc'
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> install_sh='/home/ducong/software/lam-7.1.1/share/ssi/crlam/blcr/
> config/install-sh'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> mandir='${prefix}/man'
> mkdir_p='mkdir -p -- .'
> oldincludedir='/usr/include'
> prefix='/home/ducong/lam'
> program_transform_name='s,x,x,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
> top_lam_builddir='$(top_builddir)/../../../..'
> top_lam_srcdir='$(top_srcdir)/../../../..'
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define LAM_CC "gcc"
> #define LAM_HAVE_POSIX_THREADS 1
> #define LAM_HAVE_SOLARIS_THREADS 0
> #define LAM_SSI_CRLAM_BLCR_ALPHA_VERSION 0
> #define LAM_SSI_CRLAM_BLCR_BETA_VERSION 0
> #define LAM_SSI_CRLAM_BLCR_CVS_VERSION
> #define LAM_SSI_CRLAM_BLCR_DEFAULT 0
> #define LAM_SSI_CRLAM_BLCR_MAJOR_VERSION 1
> #define LAM_SSI_CRLAM_BLCR_MINOR_VERSION 1
> #define LAM_SSI_CRLAM_BLCR_RELEASE_VERSION 0
> #define LAM_SSI_CRLAM_BLCR_VERSION "1.1"
> #define LAM_THREADS_HAVE_DIFFERENT_PIDS 1
> #define LAM_WANT_DEBUG 0
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_NAME ""
> #define PACKAGE_STRING ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
>
> configure: exit 1
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/