Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Updating the trunk
From: Brian Barrett (brbarret_at_[hidden])
Date: 2009-06-30 20:24:44

On Jun 30, 2009, at 5:57 PM, Ralph Castain wrote:

> If you are updating a prior checkout of the OMPI trunk with r21568,
> please be aware that there is an additional step required to make it
> build. Due to a quirk of the build system, you will need to do:
> rm ompi/tools/ompi_info/.deps/*
> and then re-run autogen/configure in order to build.
> The reason this is required is that the new ompi_info implementation
> generates .o files of the same name as the prior C++ implementation.
> As a result, the .deps files do not get updated - and therefore
> insist on looking for the old .cc files.
> Removing the .deps and re-running autogen/configure will resolve the
> problem.
> If you are doing a fresh checkout of the OMPI trunk, this will not
> affect you.

Slightly less safe, but you can also do the rm command Ralph gave,
followed by a "make -k", which will regenerate just that makefile,
then update the .deps files, then build the sources. You probably
want to do a plain-old make after that to make sure nothing failed in
the build, as Make will report an error occurred during "make -k".