Ticket #10632 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Clean MPI build of framework no longer works

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Release 3.3
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Pete Peterson

Description

On Ubuntu I get linker errors for APITest

CMakeFiles/APITest.dir/PeakTransformSelectorTest.cpp.o: In function `(anonymous namespace)::MockPeakTransform::MockPeakTransform()':
PeakTransformSelectorTest.cpp:(.text+0x4d5): undefined reference to `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned int)'
PeakTransformSelectorTest.cpp:(.text+0x4fd): undefined reference to `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned int)'
PeakTransformSelectorTest.cpp:(.text+0x525): undefined reference to `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned int)'
...etc

Change History

comment:1 Changed 6 years ago by Martyn Gigg

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Martyn Gigg

  • Status changed from assigned to inprogress

Fix initialization order of MANTIDLIBS cmake variable.

If MPI is enabled then this ensures the Boost_LIBRARIES variable is captured before it is overwritten. Refs #10632

Changeset: 37ccbfa10246ab603f167081b1f1c63815c5880a

comment:3 Changed 6 years ago by Martyn Gigg

  • Status changed from inprogress to verify
  • Resolution set to fixed

This is being verified as pull request #82.

comment:4 Changed 6 years ago by Pete Peterson

Just trying something

comment:5 Changed 6 years ago by Pete Peterson

  • Status changed from verify to verifying
  • Tester set to Pete Peterson

comment:6 Changed 6 years ago by Pete Peterson

  • Status changed from verifying to closed

Merge pull request #82 from mantidproject/bugfix/10632_fix_clean_mpi_build

Fix clean MPI-enabled build

Full changeset: b721ca6bd19abba29edeec28498e75d77a2a456b

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11474

Note: See TracTickets for help on using tickets.