← Back to team overview

dolfin team mailing list archive

Re: Fwd: [Branch ~dolfin-core/dolfin/wells] Rev 6282: Merge Boost MPI code.

 

On 28 September 2011 18:47, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
> On 28 September 2011 12:48, Johannes Ring <johannr@xxxxxxxxx> wrote:
>> On Tue, Sep 27, 2011 at 9:25 AM, Johannes Ring <johannr@xxxxxxxxx> wrote:
>>> On Tue, Sep 27, 2011 at 9:19 AM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
>>>> This change will break the buildbots until Boost is updated on the buildbots.
>>>
>>> Yes, I'm working on this now (two fixed, two to go).
>>
>> The buildbots has been upgraded with Boost.MPI, however, there are
>> problems on mac-osx and linux64-exp. I have built Boost 1.47 like this
>> (modified boost.package from Dorsal):
>>
>>  ./bootstrap.sh --prefix=${INSTALL_PATH}
>>  echo "using mpi ;" > user-config.jam
>>  ./bjam --with-program_options \
>>      --with-filesystem \
>>      --with-serialization \
>>      --with-thread \
>>      --with-iostreams \
>>      --with-system \
>>      --with-mpi \
>>      --user-config=user-config.jam \
>>      install
>>
>> The mac-osx buildbot fails because of some undefined symbols. See the
>> buildbot page for details:
>>
>> http://www.fenicsproject.org:8080/builders/dolfin-mac-osx/builds/1863/steps/dolfin%20build/logs/stdio
>>
>> Any idea?
>>
>> The linux64-exp buildbot fails because of a warning:
>>
>> cc1plus: warnings being treated as errors
>> In file included from
>> /work/fenics/buildbots/main/fenics-src/dolfin/dolfin/io/XMLFile.cpp:31:
>> /work/fenics/local/include/boost/iostreams/filter/gzip.hpp: In
>> constructor 'boost::iostreams::basic_gzip_compressor<Alloc>::basic_gzip_compressor(const
>> boost::iostreams::gzip_params&, int) [with Alloc =
>> std::allocator<char>]':
>> /work/fenics/buildbots/main/fenics-src/dolfin/dolfin/io/XMLFile.cpp:351:
>>  instantiated from here
>> /work/fenics/local/include/boost/iostreams/filter/gzip.hpp:674: error:
>> overflow in implicit constant conversion
>> /work/fenics/local/include/boost/system/error_code.hpp: At global scope:
>> /work/fenics/local/include/boost/system/error_code.hpp:214: error:
>> 'boost::system::posix_category' defined but not used
>> /work/fenics/local/include/boost/system/error_code.hpp:215: error:
>> 'boost::system::errno_ecat' defined but not used
>> /work/fenics/local/include/boost/system/error_code.hpp:216: error:
>> 'boost::system::native_ecat' defined but not used
>>
>> Is there an easy fix or should I turn off -Werror on this slave?
>>
>
> Very strange error. I get it when I build my own Boost code, but not
> with the Ubuntu package.
>
> Anyway, I've pushed a switch from gzip -> zlib which will hopefully
> fix the issue.
>

After a few false attempts, this is now fixed.

Garth

> Garth
>
>> Johannes
>>
>


References