I am trying to compile mvapich2-2.0b on CentOS 6.4 with PGI compilers 14.6 with a simple ./configure. These are the pertinent messages for the errors I am receiving:
checking for size of Fortran type integer… configure: WARNING: Unable to compile the C routine for finding the size of a integer
checking for size of Fortran type real… configure: WARNING: Unable to compile the C routine for finding the size of a real
checking for size of Fortran type double precision… configure: WARNING: Unable to compile the C routine for finding the size of a double precision
checking whether integer1 is supported… yes
checking whether integer2 is supported… yes
checking whether integer4 is supported… yes
checking whether integer8 is supported… yes
checking whether integer16 is supported… yes
checking whether real4 is supported… yes
checking whether real8 is supported… yes
checking whether real16 is supported… yes
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
I’ve tried setting the suggested variable to 4 and 8, to no avail. Please help.
Thanks,
Mark