List Info

Thread: Re: LAM: can lam-7.1.2 work together with lamtests-7.1.4?




Re: LAM: can lam-7.1.2 work together with lamtests-7.1.4?
user name
2008-05-07 19:21:19
Hi Tim:
 
[rootxblade08 ~]# 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" <TimothyPrincesbcglobal.net> дµÀ£º
Steven wrote:
&gt; 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.





ÍøÉ϶©±ÈÈøÌìÌìÓн±
Re: LAM: can lam-7.1.2 work together with lamtests-7.1.4?
user name
2008-05-07 19:30:16
Steven wrote:
> Hi Tim:
>  
> [rootxblade08 ~]# 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?
>  
I'm a little rusty on configuring lam, but you must specify
gfortran as 
the Fortran compiler. gcc as the C compiler, and g++ as C++
compiler. 
If you look at lam FAQ, the recommended method is to set the
environment 
variables
CC=gcc
CXX=g++
FC=gfortran
and then run ./configure
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )