Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#50464 closed defect (wontfix)

mpi dependency in dolfin via boost

Reported by: gideonsimpson Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: seanfarley (Sean Farley)
Port: dolfin

Description

There is some kind of problem with the boost variant with mpich. While I could get by without mpi support, py27-ffc appears to require an mpi version of boost. If the boost problem can't be fixed, can we at least get a serial version of dolfin?

Change History (5)

comment:1 Changed 9 years ago by seanfarley (Sean Farley)

Resolution: wontfix
Status: newclosed

dolfin needs boost.MPI so I don't see how.

comment:2 Changed 9 years ago by gideonsimpson

Then it seems that the current version of dolfin is crippled, since boost MPI doesn't work.

comment:3 in reply to:  2 Changed 9 years ago by seanfarley (Sean Farley)

Replying to gideon.simpson@…:

Then it seems that the current version of dolfin is crippled, since boost MPI doesn't work.

What's the exact error? Also, what variants do you have for boost?

comment:4 Changed 9 years ago by gideonsimpson

It's installing boost-1.59.0_2+mpich+no_single+no_static+python27.darwin_15.x86_64.tbz2, and this is the tail of the log file:

:info:build     "/opt/local/bin/mpicxx-mpich-mp" -dynamiclib -Wl,-single_module -install_name "/opt/local/lib/libboost_wave-mt.dylib"  -o "stage/lib/libboost_wave-mt.dylib" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/instantiate_cpp_exprgrammar.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/instantiate_cpp_grammar.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/instantiate_cpp_literalgrs.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/instantiate_defined_grammar.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/instantiate_predef_macros.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/instantiate_re2c_lexer.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/instantiate_re2c_lexer_str.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/token_ids.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/wave_config_constant.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/cpplexer/re2clex/aq.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/threading-multi/cpplexer/re2clex/cpp_re.o" "bin.v2/libs/filesystem/build/darwin-4.2.1/release/threading-multi/libboost_filesystem-mt.dylib" "bin.v2/libs/thread/build/darwin-4.2.1/release/threading-multi/libboost_thread-mt.dylib" "bin.v2/libs/date_time/build/darwin-4.2.1/release/threading-multi/libboost_date_time-mt.dylib" "bin.v2/libs/chrono/build/darwin-4.2.1/release/threading-multi/libboost_chrono-mt.dylib" "bin.v2/libs/system/build/darwin-4.2.1/release/threading-multi/libboost_system-mt.dylib"      -headerpad_max_install_names -Wl,-dead_strip -no_dead_strip_inits_and_terms -L/opt/local/lib -Wl,-headerpad_max_install_names  -arch x86_64 -pipe -arch x86_64 -stdlib=libc++ -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-flat_namespace -Wl,-commons,use_dylibs -undefined dynamic_lookup
:info:build 
:info:build ...failed updating 2 targets...
:info:build ...updated 641 targets...
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_59_0" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_59_0/b2 -d2 --layout=tagged --debug-configuration --user-config=user-config.jam -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib -sICU_PATH=/opt/local variant=release -j4 architecture=x86 address-model=64 link=shared threading=multi 
:info:build Exit code: 1
:error:build org.macports.build for port boost returned: command execution failed
:debug:build Error code: CHILDSTATUS 51152 1
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for boost: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install boost
:debug:build Registry error: mpich not registered as installed & active.
    while executing
"registry::active $portname"
:notice:build Please see the log file for port boost for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/main.log
 

comment:5 Changed 9 years ago by gideonsimpson

I completely deleted my macports installation and installed again, and now I can get boost +mpich built. However, there's now a vtk5 build issue. I'm going to post the issue to that port.

Note: See TracTickets for help on using tickets.