[mpich-discuss] Installation problem Ubuntu 14.04 LTS

Joni-Pekka Kurronen joni.kurronen at gmail.com
Thu Nov 6 07:17:45 CST 2014


CAN NOT FIND -lblcr,... I have blcr version 0.8.6_b4 and
it compiles whitout problem's whit version 3.0.4,...

3.1.3 ./config options have changes,... I assume options
have changed,... 

Here is error message at end of make:

make[2]: Poistutaan hakemistosta "/mpi3/S4/mpich-3.1.3/src/pm/hydra"
Making install in .
make[2]: Siirrytään hakemistoon "/mpi3/S4/mpich-3.1.3"
  GEN      lib/libmpi.la
/usr/bin/ld: cannot find -lblcr
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libmpi.la] Virhe 1
make[2]: Poistutaan hakemistosta "/mpi3/S4/mpich-3.1.3"
make[1]: *** [install-recursive] Virhe 1
make[1]: Poistutaan hakemistosta "/mpi3/S4/mpich-3.1.3"
make: *** [install] Virhe 2
joni at mpi1:~$ 


=========

build script used:

export
JPK_THREADS="-L/usr/lib/x86_64-linux-gnu/libevent_pthreads-2.0.so.5
-L/usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5"

export LD_FLAGS="$JPK_THREADS"

export CFLAGS="-Wl,--no-as-needed -fPIC -m64 -pthread -O3 -fopenmp
-lgomp -L$JPK_BLCR/lib/libcr.so" 

export CC=gcc
export CXX=g++
export FC=gfortran
export F77=gfortran
export MPICH2LIB_CFLAGS="$CFLAGS $JPK_THREADS"
export MPICH2LIB_CXXFLAGS="$CFLAGS $JPK_THREADS"
export MPICH2LIB_CPPFLAGS="$CFLAGS $JPK_THREADS"

export CXXFLAGS=$CFLAGS
export FCFLAGS="$CFLAGS" # -fdefault-real-8 -fdefault-double-8"
export FFLAGS="$CFLAGS" # -fdefault-real-8 -fdefault-double-8"
export F90FLAGS=""
export F77FLAGS=""


if [ "$1" == "c" ]; then
cd $JPK_MPICH2_S
make distclean
fi

cd $JPK_MPICH2_S 

./configure --prefix=$JPK_MPICH2 --enable-fast=all,O3
--with-thread-package=pthreads --with-device=ch3:nemesis --with-gnu-ld
--enable-checkpointing  --with-blcr=$JPK_BLCR --with-blcr-include=
$JPK_BLCR/include --with-blcr-lib=$JPK_BLCR/lib --with-pm=hydra
--with-hydrabss=rsh --enable-threads=runtime --disable-smpcoll
--enable-static --enable-shared 2>&1 | tee
$JPK_MPI_DIR/$JPK_VER_B/mes/mpich2.config


make -j$JPK_JOBS 2>&1 | tee $JPK_MPI_DIR/$JPK_VER_B/mes/mpich2.make
sudo make install 2>&1 | tee $JPK_MPI_DIR/$JPK_VER_B/mes/mpich2.install






More information about the discuss mailing list