[mpich-discuss] Mpich won't compile with gcc-5
Balaji, Pavan
balaji at anl.gov
Wed Feb 18 04:26:05 CST 2015
Are you using gfortran-5 as well? That seems to be giving an issue. If you don't need fortran, you can disable it by passing --disable-fortran to configure.
-- Pavan
> On Feb 18, 2015, at 4:14 AM, Jan Wittke <wittke at geo.uni-koeln.de> wrote:
>
> Hi,
>
> after installing gcc-5-20150208 from source with
>
> /opt/gcc-5-20150208/configure --program-suffix=-5 --prefix=/usr/local --enable-languages=c,c++,fortran --disable-multilib
>
> I am not able to run the mpich ./configure script properly.
> Doing:
>
> CC=/usr/local/bin/gcc-5 FC=/usr/local/bin/gfortran-5 ./configure --enable-threads
>
> in the mpich-3.2a2 directory I got the error:
>
> configure: error: Unable to configure with Fortran support because configure could not determine the size of a Fortran INTEGER. Consider setting CROSS_F77_SIZEOF_INTEGER to the length in bytes of a Fortran INTEGER
>
> Is there any fix around ?
>
> Thank you,
> Jan
>
>
>
> --
> Jan Wittke
> Geophysicist (M.Sc.)
> Institute of Geophysics and Meteorology
> University of Cologne
> Email: wittke at geo.uni-koeln.de
> Homepage: www.geomet.uni-koeln.de
> Tel.: +49 (0)221 470 6132 / Room 310
>
> _______________________________________________
> 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