[mpich-discuss] fail to configure mpich 3.1.4 use gcc 5.2.0

广州刘丹 liudaniel at qq.com
Mon Oct 19 20:32:18 CDT 2015


Hello, everyone:   After I upgrade gcc from 4.4.7 to 5.2.0 under oracle linux 6.7, the system can't pass config mpich 3.1.4 when I run: 
./configure -prefix=/usr/local/share/mpich-3.1.4/ |& tee c.txt 


below is error message:
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



When I use gcc 4.4.7, there's no error to make mpich 3.1.4.


and below is the process how to upgrade gcc:
wget ftp://ftp.gnu.org/gnu/gcc/gcc-5.2.0/gcc-5.2.0.tar.bz2
tar -jxvf gcc-5.2.0.tar.bz2
cd gcc-5.2.0
./contrib/download_prerequisites
cd ..
mkdir /usr/local/share/gcc-5.2.0
./gcc-5.2.0/configure --prefix=/usr/local/share/gcc-5.2.0/ --disable-multilib --enable-languages=c,c++,objc,obj-c++,java,fortran
make -j4
sudo make install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151020/697e08c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c.txt
Type: application/octet-stream
Size: 28860 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151020/697e08c2/attachment.obj>
-------------- next part --------------
_______________________________________________
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