Coder Social home page Coder Social logo

Build error about dagmc HOT 11 CLOSED

Coperbytes avatar Coperbytes commented on August 13, 2024
Build error

from dagmc.

Comments (11)

ebknudsen avatar ebknudsen commented on August 13, 2024 1

@Coperbytes please do - that is where it belongs - I'll see if I can't fix that later today

from dagmc.

gonuke avatar gonuke commented on August 13, 2024

Thanks for making an issue about this. I think @pshriwise and @ebknudsen are working on a fix for this.

from dagmc.

gonuke avatar gonuke commented on August 13, 2024

In the meantime, if you build DAGMC without Double Down, it should work correctly.

from dagmc.

ebknudsen avatar ebknudsen commented on August 13, 2024

@pshriwise fixed this in the develop-branch with this PR: pshriwise/double-down#42. It has however not been merged into the main branch. Did you build double-down from the main branch @Coperbytes? Or use an older build?

from dagmc.

gonuke avatar gonuke commented on August 13, 2024

I think it's merged but without a release yet...?

from dagmc.

ebknudsen avatar ebknudsen commented on August 13, 2024

Nope - it is in develop though. main hasn't been touched for 2 yrs unfortunately. A new release would prob. be a good thing.

from dagmc.

ebknudsen avatar ebknudsen commented on August 13, 2024

I mean to say - the fix was merged into the develop-branch, but not into main

from dagmc.

pshriwise avatar pshriwise commented on August 13, 2024

Agreed on the double-down release, @ebknudsen. I'll try to find some time to work on that soon.

from dagmc.

Coperbytes avatar Coperbytes commented on August 13, 2024

I mean to say - the fix was merged into the develop-branch, but not into main

@ebknudsen I used installed scripts from your other repo openmc_install_scripts

This is the branch that was downloaded from the script

 ~/openmc/DAGMC/DAGMC/ git info

## Remote URLs:

origin	https://github.com/svalinn/DAGMC.git (fetch)
origin	https://github.com/svalinn/DAGMC.git (push)

## Remote Branches:

  origin/HEAD -> origin/develop
  origin/develop

## Local Branches:

* develop

## Submodule(s):

 36a6b4b src/pyne/pyne (0.7.7-34-g36a6b4bf)

## Most Recent Commit:

commit b3e2b132aef7d4bf333af4ee9999c0c2ec752601
Author: Patrick Shriwise 

    Merge pull request #869 from gonuke/doc_review_2023_03

from dagmc.

ebknudsen avatar ebknudsen commented on August 13, 2024

@Coperbytes Sorry - me bad - I meant which branch of double-down. But if you use the openmc_install_scripts then It ought to have been develop for double-down as well. Which platform are you on?

from dagmc.

Coperbytes avatar Coperbytes commented on August 13, 2024

I am installing on Ubuntu 22.04, the double_down-install.sh script has main instead of develop for installation

git clone --single-branch --branch main --depth 1 https://github.com/pshriwise/double-down.git

by changing to develop branch it fixed the build error, now I have issue in installation of openmc should I close this issue and create new issue in openmc_install_scripts repo?

openmc/openmc/tests/cpp_unit_tests/test_file_utils.cpp:2:10: fatal error: catch2/catch_test_macros.hpp: No such file or directory
    2 | #include <catch2/catch_test_macros.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/cpp_unit_tests/CMakeFiles/test_file_utils.dir/build.make:76: tests/cpp_unit_tests/CMakeFiles/test_file_utils.dir/test_file_utils.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:994: tests/cpp_unit_tests/CMakeFiles/test_file_utils.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/kp/openmc/openmc/tests/cpp_unit_tests/test_distribution.cpp:3:10: fatal error: catch2/catch_test_macros.hpp: No such file or directory
    3 | #include <catch2/catch_test_macros.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/cpp_unit_tests/CMakeFiles/test_distribution.dir/build.make:76: tests/cpp_unit_tests/CMakeFiles/test_distribution.dir/test_distribution.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:968: tests/cpp_unit_tests/CMakeFiles/test_distribution.dir/all] Error 2
/home/kp/openmc/openmc/tests/cpp_unit_tests/test_tally.cpp:2:10: fatal error: catch2/catch_test_macros.hpp: No such file or directory
    2 | #include <catch2/catch_test_macros.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/cpp_unit_tests/CMakeFiles/test_tally.dir/build.make:76: tests/cpp_unit_tests/CMakeFiles/test_tally.dir/test_tally.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1020: tests/cpp_unit_tests/CMakeFiles/test_tally.dir/all] Error 2
[ 97%] Linking CXX executable bin/openmc
[ 97%] Built target openmc
make: *** [Makefile:146: all] Error 2

from dagmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.