From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-05-08 08:39:53


On May 1, 2007, at 9:11 PM, Rob wrote:

> A few emails back I reported that I could build
> openmpi on Alpha system (except the static libraries).
> However, it seems that the built result is unusable.
> With every simple program (even non-mpi) I compile,
> I get:
>
> $ mpicc myprog.c --showme:version
> mpicc: Open MPI 1.2.1 (Language: C)
>
> $ mpicc myprog.c
> gcc: dummy: No such file or directory
> gcc: ranlib: No such file or directory
>
> $ mpicc myprog.c --showme
> /opt/gcc/bin/gcc -I/opt/openmpi/include/openmpi
> -I/opt/openmpi/include -pthread -mfp-trap-mode=su
> myprog.c -L/opt/openmpi/lib -lmpi -lopen-rte
> -lopen-pal -ldl dummy ranlib
>
> (Note: the "-mfp-trap-mode=su" prevents a runtime
> SIGSEGV crash with GNU compiler on Alpha system)
>
> $ mpicc myprog.c --showme:link
> -pthread -mfp-trap-mode=su myprog.c
> -L/opt/openmpi/lib -lmpi -lopen-rte -lopen-pal
> -ldl dummy ranlib
>
> What is the "dummy" and "ranlib" doing here?

This specific problem may be due to a bug that Brian just found/fixed
in the configure script last night (due to a bug report from Paul Van
Allsburg). Could you try any nightly trunk tarball after r14600 (the
fix hasn't made its way over to the 1.2 release branch yet; I assume
it will soon)?

> I'm now trying the nightly build from SVN
> (version 1.3a1r14551), but I'm afraid that Alpha
> support is still not there.....if that's the case,
> is there any chance to fix openmpi for Alpha?

So I think you're having 2 issues (right?):

1. The opal missing symbol when you compile dynamically
2. The dummy/ranlib arguments in mpicc and friends

#2 may be fixed; #1 will require a closer look (per my previous mail).

> My OS is CentOS 4.4
> (the equivalent of RedHat Enterprise Edition 4).
> Hence, my packages are not so up-to-date versions:
>
> autoconf-2.59-5
> automake15-1.5-13
> automake-1.9.2-3
> automake14-1.4p6-12
> automake17-1.7.9-5
> automake16-1.6.3-5
> libtool-1.5.6-4.EL4.1.c4.2
> libtool-libs-1.5.6-4.EL4.1.c4.2
> flex-2.5.4a-33
> (what else is essential to build OpenMpi?)

Building from SVN will require more recent versions of these tools
(libtool in particular) -- see: http://www.open-mpi.org/svn/
building.php. The HACKING file has good instructions on how to get
recent versions of the tools without hosing your system: http://
svn.open-mpi.org/svn/ompi/trunk/HACKING.

-- 
Jeff Squyres
Cisco Systems