On Mon, 4 Aug 2003, sukma kayangan wrote:
> I am a pvfs user (version 1.5.6) and would like to use LAM-MPI version 7
> to support the pvfs-test (the pvfs built-in measurement tool)...would
> anyone please guide me to configure LAM-MPI especially ROMIO to be used
> over the PVFS regarding i need it to support pvfs-test tool....
Another user pointed out a flaw in 7.0 that there wasn't a good way to
compile ROMIO with PVFS support because LAM's wrapper compilers would not
do the Right Things. Specifically, LAM's wrapper compilers would not get
the right -L and -l flags, making compiling LAM+ROMIO+PVFS MPI
applications impossible). This has been fixed in CVS.
> i have invoked the LAM-MPI "./configure" with
> "--with-romio-flags=FLAGS" without understanding what's to enter the
> FLAGS....after invoked the LAM-MPI "make install", i then configured the
> romio separately by using several arguments : -mpi, -mpiincdir, and
> -mpilib....
Unfortunately, there isn't an easy way to do this with the 7.0 tarball.
Getting ROMIO to do the Right Thing is not hard; it's passing the right
flags to LAM's wrapper compilers that there really isn't an easy
workaround for.
This has been fixed on the 7.0 branch in CVS and on the CVS head. The
new LAM configure option --with-romio-libs allows behavior such as the
following:
./configure ... \
--with-romio-flags=-file_system=pvfs+nfs \
--with-romio-libs="-L/path/to/pvfs/install -lpvfs"
This adds the -L/-l flags to LAM's wrapper compilers so that when ROMIO is
built with PVFS support, compiling LAM+ROMIO+PVFS MPI programs with mpicc
and friends becomes possible. This is documented in the Installation
Guide on the 7.0 branch and the CVS head.
You can either grab LAM from CVS on the 7.0 branch (CVS tag: branch-7-0),
or grab one of the nightly snapshot tarballs (from the CVS head, and
therefore will someday be 7.1). Be aware that the snapshot tarballs are
already a little different from 7.0 (but nothing hugely different from a
user perspective yet).
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|