Hi Tim:
 
Thanks for your response!
 
I checked mpif77. It seems provided by openmpi.
 
[root@xblade08 ~]# whereis mpif77
mpif77: /usr/bin/mpif77
[root@xblade08 ~]# file /usr/bin/mpif77
/usr/bin/mpif77: symbolic link to `/etc/alternatives/mpif77'
[root@xblade08 ~]# file /etc/alternatives/mpif77
/etc/alternatives/mpif77: symbolic link to `/usr/bin/opal_wrapper-1.2.5-gcc-32'
[root@xblade08 ~]# rpm -qf /usr/bin/opal_wrapper-1.2.5-gcc-32
openmpi-devel-1.2.5-2.el5
Since I am testing openmpi, I would like keep its Fortran compiler. How can I know the largest data type supported? And which modification is needed for me?
 
Wang Wen Hao
 
 

在2008-05-06,"Tim Prince" <TimothyPrince@sbcglobal.net> wrote:
The message is a bit strange, but it should tell you that your Fortran 
compiler doesn't support the real*16 extension.  You could rebuild lam 
with a compiler which does support such an extension, such as the compiler 
you must have used with openmpi.
By old-style, the message presumably refers to the standard way, since 15 
years ago, of specifying data types with selected_real_kind.  However, 
making a cosmetic change to your source won't allow it to compile, unless 
you change your source to select the largest data type supported by the 
compiler.



网上订比萨天天有奖