Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Open MPI 1.4.4 Configuration Lefover from 1.4.2
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-11-22 07:45:35


That is very strange. That sym link does not exist in the 1.4.4 tarball -- it is generated during "make".

You didn't accidentally vpath build using the OMPI v1.2 source, did you? The rules in the opal/asm/Makefile.am refer to the top_srcdir, which should implicitly point to the top directory of the source code. There's no explicit reference to any specific directory -- they're all relative to the top source directory.

See https://svn.open-mpi.org/trac/ompi/browser/branches/v1.4/opal/asm/Makefile.am#L21.

On Nov 21, 2011, at 3:38 PM, Bruce Foster wrote:

> I configured the 1.4.4 release with the following:
>
> #!/bin/sh
>
> NUVER=1.4.4
>
> rm -f config.cache
> rm -f NUInstall.configure
>
> #/bef/OpenMPI/openmpi-${NUVER}/configure \
> ../../openmpi-${NUVER}/configure \
> --prefix=/opt/openmpi/GNU \
> --with-tm=/usr/pbs \
> --enable-static \
> --disable-dlopen \
> --build=x86_64-redhat-linux-gnu \
> --host=x86_64-redhat-linux-gnu \
> --target=x86_64-redhat-linux-gnu \
> 2>&1 | tee NUInstall.configure
>
> I don’t see any problems in the configuration output. However, when I try to make the results, there is an explicit reference to release 1.4.2, and the make fails:
>
> [root_at_seldon GNU]# more NUInstall.make.all
> Making all in config
> make[1]: Entering directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/config'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/config'
> Making all in contrib
> make[1]: Entering directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/contrib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/contrib'
> Making all in opal
> make[1]: Entering directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/opal'
> Making all in include
> make[2]: Entering directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/opal/include'
> make all-am
> make[3]: Entering directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/opal/include'
> make[3]: Leaving directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/opal/include'
> make[2]: Leaving directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/opal/include'
> Making all in asm
> make[2]: Entering directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/opal/asm'
> make[2]: *** No rule to make target `../../../../openmpi-1.4.2/opal/asm/asm.c', needed
> by `asm.lo'. Stop.
> make[2]: Leaving directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/opal/asm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sscc/opt/Apps/OpenMPI/Configs/GNU/opal'
> make: *** [all-recursive] Error 1
>
> Looking at the configured opal/asm directory, there’s a bad symlink to the 1.4.2 release:
>
> [bef_at_seldon GNU]# cd opal/asm
> [bef_at_seldon asm]# ls -l
> total 199
> -rw-r--r-- 1 bef bef 264 May 5 2010 asm.lo
> -rw-r--r-- 1 bef bef 935 May 5 2010 asm.o
> -rw-r--r-- 1 bef bef 285 May 5 2010 atomic-asm.lo
> -rw-r--r-- 1 bef bef 1115 May 5 2010 atomic-asm.o
> lrwxrwxrwx 1 bef bef 65 May 5 2010 atomic-asm.S -> ../../../../openmpi-1.4.2/opal/asm/generated/atomic-amd64-linux.s
> -rw-r--r-- 1 bef bef 873 May 5 2010 libasm.la
> -rw-r--r-- 1 bef bef 54526 Oct 14 16:19 Makefile
>
> Bruce
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/