Email lists > General LAM MPI mailing list > 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?

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




This post if a part of  this thread

2008-05-07 19:30:16
Re: LAM: can lam-7.1.2 work together with lamtests-7.1.4?
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/

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