[mpich-discuss] installing mpich2 into mac os
chan at mcs.anl.gov
chan at mcs.anl.gov
Thu Jun 4 16:23:04 CDT 2009
Is the reason of using -no-multibyte-chars is to avoid a null locale setting ?
If so, you may want to set LANG=C or/and LC_ALL=en_US in your shell setup file
(i.e. .cshrc/.bashrc) and drop all -no-multibyte-chars to all compilers and
preprocessor.
PS. I have no access to mac with intel compiler, so can't confirm this.
A.Chan
----- "Anthony Chan" <chan at mcs.anl.gov> wrote:
> Your config.log has this line testing the CXXCPP
>
> configure:28723: icpc -E
> -I/Volumes/dali/progs/mpich2-1.1/src/openpa/src
> -I/Volumes/dali/progs/mpich2-1.1/src/openpa/src conftest.cpp
> Catastrophic error: could not set locale "" to allow processing of
> multibyte characters
> configure:28730: $? = 4
>
> Since you added -no-multibyte-chars, perhaps you may want to try
> CXXCPP="icpc -no-multibyte-chars -E". Also, you want to set
> F90FLAGS="-O3 -xT -align all -fno-alias -m64" so f77 and
> f90 compilers are consistent to each other.
>
> A.Chan
>
> ----- "Ufuk Utku Turuncoglu" <turuncu at ucar.edu> wrote:
>
> > Hi,
> >
> > I try to install mpich2 1.1 to mac os x 10.5.7 using intel
> compilers.
> > If
> > i leave blank CXX option, it installs without error. I am using
> > following environment variables and configuration command,
> >
> > export FC=ifort
> > export F77=ifort
> > export F90=ifort
> > export FFLAGS="-O3 -xT -align all -fno-alias -m64"
> > export CC=icc
> > export CFLAGS="-no-multibyte-chars -O3 -m64"
> >
> > ./configure --prefix=`pwd` --disable-rlog --enable-fast=O3
> >
> > but if i set environment variables to use intel C++ compiler icpc
> >
> > export CXX=icpc
> > export CXXFLAGS="-no-multibyte-chars -O3 -m64"
> > export CXXCPP="icpc -E"
> >
> > it gives sanity check error for icpc compiler. I also unset CXXCPP
> but
> > i
> > get still sanity check error. Is there any specific flag to solve
> > this?
> > The intel compiler versions are,
> >
> > Intel(R) Fortran Compiler for applications running on Intel(R) 64,
> > Version 10.1 Build 20070913 Package ID: m_fc_b_10.1.006
> > Intel(R) C Compiler for applications running on Intel(R) 64, Version
> > 10.1 Build 20070913 Package ID: m_cc_p_10.1.006
> > Intel(R) C++ Compiler for applications running on Intel(R) 64,
> Version
> >
> > 10.1 Build 20070913 Package ID: m_cc_p_10.1.006
> >
> > Thanks,
> >
> > --ufuk
More information about the mpich-discuss
mailing list