LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Steven (wangwenhao025_at_[hidden])
Date: 2008-05-07 20:21:19


Hi Tim:
 
[root_at_xblade08 ~]# mpif77 -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-41)

Besides gcc, is there any other Fortran compiler shipped in RHEL5? How should I configure lam?
 
Thanks!
 
Wen Hao Wang
 
 

ÔÚ2008-05-07£¬"Tim Prince" <TimothyPrince_at_[hidden]> дµÀ£º

Steven wrote:
> Hi Tim:
>
> Thanks for your response!
>
> I checked mpif77. It seems provided by openmpi.
>

>
> 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?
>

You should be able to verify which compilers were used for your openmpi, e.g.
mpif77 -v
As mpif77 would be just a wrapper, the actual compiler (g95, or a gfortran
of the last 2 years, or a commercial Fortran?) should also be present on
that system. In order to make a lam mpif77 with the same Fortran
extensions, you would need to configure and build lam with the same
Fortran compiler.