Laryssa,

The bundled boost package only includes the files that are used within
deal.II. If you want to use additional boost features, you should build
boost yourself (and tell deal.II where to find it).

Best,
Daniel

On Tue, Mar 21, 2023 at 1:19 PM Laryssa Abdala <[email protected]> wrote:

>
> Great, that solved the problem. Thank you.
> The problem was that I had extracted the boost headers locally and had not
> built/installed it. David Wells (thanks David!) reported the issue here:
> https://github.com/dealii/dealii/issues/14925. Since then, I have been
> trying to link one of my projects against deal.ii (copy with bundled boost)
> and I get this error:
>
> c++: error: unrecognized command line option ‘-fopenmp-simd’
> make[2]: *** [Tests/CodimHeatEquation/CMakeFiles/demo.dir/demo.cc.o] Error
> 1
> make[1]: *** [Tests/CodimHeatEquation/CMakeFiles/demo.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [  6%] Building CXX object CMakeFiles/fchep.dir/src/Datafile.cpp.o
> [ 13%] Building CXX object CMakeFiles/fchep.dir/src/EPSolver.cpp.o
> [ 13%] Building CXX object
> CMakeFiles/fchep.dir/src/IonicModels/FentonKarma4v.cpp.o
> [ 16%] Building CXX object
> CMakeFiles/fchep.dir/src/IonicModels/IonicModel.cpp.o
> [ 20%] Building CXX object
> CMakeFiles/fchep.dir/src/IonicModels/MinimalModel.cpp.o
> [ 23%] Building CXX object
> CMakeFiles/fchep.dir/src/IonicModels/NashPanfilov.cpp.o
> [ 26%] Building CXX object
> CMakeFiles/fchep.dir/src/IonicModels/Passive.cpp.o
> [ 30%] Building CXX object
> CMakeFiles/fchep.dir/src/IonicModels/Ryzhii.cpp.o
> [ 40%] Building CXX object CMakeFiles/fchep.dir/src/Timer.cpp.o
> [ 40%] Building CXX object CMakeFiles/fchep.dir/src/TimeData.cpp.o
> [ 40%] Building CXX object
> CMakeFiles/fchep.dir/src/IonicModels/vanderPolDuffing.cpp.o
> In file included from
> /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/support/tag_of.hpp:14:0,
>                  from
> /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/support/category_of.hpp:11,
>                  from
> /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/adapted/struct/detail/extension.hpp:14,
>                  from
> /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/adapted/struct/adapt_struct.hpp:22,
>                  from
> /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/adapted/std_pair.hpp:14,
>                  from
> /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/include/std_pair.hpp:11,
>                  from /nas/longleaf/home/laryssa/fch-ep/src/Datafile.h:11,
>                  from /nas/longleaf/home/laryssa/fch-ep/src/Datafile.cpp:8:
>
> /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/support/detail/is_mpl_sequence.hpp:12:69:
> fatal error: boost/fusion/support/detail/is_native_fusion_sequence.hpp: No
> such file or directory
>  #include <boost/fusion/support/detail/is_native_fusion_sequence.hpp>
>                                                                      ^
> compilation terminated.
>
> Shouldn't fusion be available once I use the bundled version of boost? I
> am not sure what to get out of this error message.
>
> Thanks again,
> Laryssa
>
>
> On Monday, March 20, 2023 at 1:51:24 PM UTC-4 Wolfgang Bangerth wrote:
>
>> On 3/19/23 15:47, Laryssa Abdala wrote:
>> >
>> > I've tried using different versions of boost, but have not been
>> > successful with any. I've attached the detailed.log if anyone could
>> help
>> > me.
>>
>> Laryssa, I don't know specifically what causes this error, but you can
>> almost certainly avoid it if you use the bundled version of deal.II. I
>> believe that you can achieve that by passing
>> -DEAL_II_FORCE_BUNDLED_BOOST=ON
>> to cmake when you configure. In the output, cmake currently reports
>> (based on the file you had attached) this:
>> # DEAL_II_WITH_BOOST set up with external dependencies
>> With the flag above, it should then say that it is using the 'bundled'
>> version of BOOST instead.
>>
>> Best
>> W.
>>
>>
>> --
>> ------------------------------------------------------------------------
>> Wolfgang Bangerth email: [email protected]
>> www: http://www.math.colostate.edu/~bangerth/
>>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/261cbc2d-7920-4000-8cc3-154d148b32a4n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/261cbc2d-7920-4000-8cc3-154d148b32a4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbLtDA3q5KiV1yu5doeAfRaDMWU8Sy7DcwnX9Uo2hma8XA%40mail.gmail.com.

Reply via email to