[mpich-discuss] Problem with MPICH2 install
Anthony Chan
chan at mcs.anl.gov
Tue Nov 1 10:49:31 CDT 2011
Your configure command seems OK. But the ifort on your path is 11.1
which is older than the icc/icpc which are 12.1. Could you try using the
same version of icc/icpc/ifort to configure mpich2 ?
A.Chan
----- Original Message -----
> Hi,
>
> I have some problem while trying to install mpich2 on a linux machine
> (64 bit,
> theo.ne.anl.gov).
> Althoug the make and make install steps appear to have no problem and
> the cpi
> test program is working too. When I try a make installcheck I receive
> a bunch of
> errors relateded to F77 and F90 bindings.
> It is always the same kind of compiling error:
> undefined reference to `__intel_sse2_strrchr'
> undefined reference to `__intel_sse2_strcspn'
> undefined reference to `__intel_sse2_strdup'
>
> I do need mpif77 and mpif90 to work properly as the code I am working
> on is
> written in fortran 90.
>
> Here is more detail about what I am trying to do and I join the files
> m.txt,
> mi.txt and mic.txt
>
> I am using intel compiler icc, icpc and ifort
>
> [b59103 at theo mpich2-1.4.1]$ icc --version
> icc (ICC) 12.1.0 20110811
> Copyright (C) 1985-2011 Intel Corporation. All rights reserved.
>
> [b59103 at theo mpich2-1.4.1]$ ifort --version
> ifort (IFORT) 11.1 20100806
> Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
>
> [b59103 at theo mpich2-1.4.1]$ icpc --version
> icpc (ICC) 12.1.0 20110811
> Copyright (C) 1985-2011 Intel Corporation. All rights reserved.
>
> Here is my compile/install script and I join the files m.txt, mi.txt
> and
> mtesting.txt
>
> cd /software/src
> tar xzf mpich2-1.4.1p1.tar.gz
> mkdir /software/build/mpich2-1.4.1
> cd /software/build/mpich2-1.4.1
> /software/src/mpich2-1.4.1p1/configure
> --prefix=/software/mpich2-install CC=icc
> F77=ifort FC=ifort CXX=icpc \
> MPICH2LIB_CFLAGS="-g -O2" MPICH2LIB_FFLAGS="-g -O2"
> MPICH2LIB_FCFLAGS="-g
> -O2" MPICH2LIB_CXXFLAGS="-g -O2" \
> --with-pm=gforker --enable-g=meminit 2>&1 | tee c.txt
> make 2>&1 | tee m.txt
> make install 2>&1 | tee mi.txt
> make installcheck 2>&1 | tee mic.txt
>
> Thank you,
> Abel
>
> --
> Abel Marin-Lafleche
> Nuclear Engineering Associate
>
> Nuclear Engineering Division
> Argonne National Laboratory
> 9700 S. Cass Avenue
> Argonne, IL 60439 USA
> Phone: 630-252-4622
>
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list