[mpich-discuss] /lib/cpp fails sanity check
Balaji, Pavan
balaji at anl.gov
Tue Dec 30 21:00:27 CST 2014
Laura,
You are using an ancient version of mpich. Can you try the latest version from our download page:
http://www.mpich.org
-- Pavan
> On Dec 30, 2014, at 3:04 PM, Laura Fowler <ldfowler58 at icloud.com> wrote:
>
> Hello:
>
> I am trying to compile mpich2-1.5 using OS X 10.10.1 on my laptop. I installed gfortran-5.0 and gcc-5.0. I used the following configurations:
>
> export FC=/usr/local/bin/gfortran
> export F77=/usr/local/bin/gfortran
> export CC=/usr/local/bin/gcc
> export CXX=/usr/local/bin/g++
> export CPP=/usr/local/bin/cpp
> export CXXCPP=/usr/local/bin/cpp
>
> I ran sudo ./configure --prefix=/usr/local/mpich2-1.5-gfortran-5.0/ 2>&1 | sudo tee c.txt to install mpich2 in my /usr/local directory.
>
> I got the following error message at the bottom of the c.txt file:
>
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking whether make supports nested variables... (cached) yes
> checking for c++... c++
> checking whether we are using the GNU C++ compiler... no
> checking whether c++ accepts -g... no
> checking dependency style of c++... none
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: in `/usr/local/src/mpich2/mpich2-1.5':
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details
>
> Also see attached config.log file. I do not understand where the error comes from and I need help figuring it out. Note that using the same configuration, I was able to completely install mpich-3.1.3, so I do not undertand where the configure crashes in this case. I hope that somebody can help me figure this out as I really need to use mpich2 and not mpich.
>
> Thanks,
> Laura
>
> !=====================================================
> ! Laura D. Fowler
> ! e-mail: ldfowler58 at icloud.com
> ! Phone: 970-215-0516
> !=====================================================
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
--
Pavan Balaji ✉️
http://www.mcs.anl.gov/~balaji
_______________________________________________
discuss mailing list discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list