LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Dev Anand (danand_at_[hidden])
Date: 2003-12-18 16:58:19


Jeff Squyres wrote:

>On Wed, 17 Dec 2003, Dev Anand wrote:
>
>
>
>> Has anybody had any luck compiling the ASCI purple benchmarks
>>on lam mpi. I have been able to compile only parbench and smg2000.
>>
>>http://www.llnl.gov/asci/purple/benchmarks/limited/code_list.html
>>
>>
>
>I downloaded a few of them; most do not seem to have generic MPI
>specifications -- you need to edit Makefiles to get them to compile.
>
>In general, I did the following:
>
>-----
>CC = mpicc
>FC = mpif77
>LD = mpif77
>M4 = m4
>CPP = cpp
>CPPOPT = -DMPI
>INCDIR = -I/lam/prefix/directory/include
>-----
>
>Ensure that you compiled LAM with Fortran support; you may want to use the
>"--with-fc=f90" (or whatever the name of your F90 compiler is) option when
>configuring LAM. If you didn't, mpif77 will represent a Fortran 77
>compiler. You can override this behavior at mpif77 run time by setting
>the LAMHF77 environment variable to "f90" (or whatever the name of your
>fortran compiler is).
>
>Note that at least some of the benchmarks assume that mpif.h is either in
>the present directory or the specified in the INCDIR macro, so you may
>need to set it as appropriate (replace "/lam/prefix/directory" with the
>actual prefix directory where you installed LAM).
>
>In general, that's all that you need to get it to compile successfully
>with LAM/MPI.
>
>Note that there's also lots of other compiler behavior and optimization
>flags that you may want to tweak depending on what compiler, hardware,
>operating system, etc. you are using. These will likely have a large
>effect on the actual performance of the code.
>
>
>
Thanks.
one more question.
Any suggestions for a Fortran 90 compiler tried the intel one doesn't work.
Dev Anand