Dear readers
Could anyone point me in the right direction if I want to include F90 as well
as F77 bindings in Lam-
mpi? I have a large NASA code that consists of mixed F77, F90 and C code. This
has been implemented
many times over and very routinely using MPICH on AMD machines. However, I
found that MPICH is
extremely hard to configure and build successfully with the -comm=shared
option. (The tcp/ip comm
mode obviously was very slow for dual cpu machines).
I've heard that LAM has much better support for shared-memory nodes (dual
Xserve G5s) with the
usysv and sysv rpi modules. I am able to build LAM nicely with
export CC=/usr/bin/gcc
export CFLAGS="-O3 -mpowerpc-gpopt -mpowerpc64"
export CPP=/usr/bin/cpp
export CPPFLAGS=""
export CXX=/usr/bin/g++
export FC=/opt/ibmcmp/xlf/8.1/bin/xlf
export FFLAGS="-qextname"
./configure --without-dash-pthread --with-purify --with-rpi=usysv
--prefix=/usr/local/lam
However, only mpif77 appears in my lam bin directory, and obviously the F90
bindings were not made.
If I use FC=xlf90, then F77 bindings won't be made... (correct?).
MPICH allows one to make bindings for both; does anyone know if this is
possible in LAM as well?
Also, since I'll be using SMP nodes; should I use xlf_r and xlf90_r instead of
xlf and xlf90?
Thanks for your time.
Jan Theron
Dr. Johannes N. Theron
Adjunct Professor
Mechanical Engineering Department
College of Engineering and Technology
Building 69
South McConnell Drive
Northern Arizona University
Flagstaff
AZ 86011-5600
http://www.cet.nau.edu/~jnt7
|