Coder Social home page Coder Social logo

Comments (3)

hgmeier1185 avatar hgmeier1185 commented on August 13, 2024

Well, I made a little progress, I found that by default cmake uses C Compiler 4.8.5 no matters that a later version is installed.
I managed to go a little further specifying the desired compiler when run cmake:
CC=/path/c_compiler(version 8.3.0)
cmake ../src -DMOAB_DIR=$HOME/dagmc_bld/MOAB
-DBUILD_MCNP6=ON
-DBUILD_MCNP_MPI=ON
-DCMAKE_INSTALL_PREFIX=$HOME/DAGMC_MCNP602
-DMCNP6_DATAPATH=$HOME/user/MCNP6.02/data
-DCMAKE_CXX_COMPILER=$HOME/dagmc_bld/mpich-install/bin/mpicxx

Then when run make it goes a little further but later I found the next error:

Error copying Fortran module "src/mcnp/mcnp6/gkssim.mod". Tried "src/mcnp/mcnp6/GKSSIM.mod" and "src/mcnp/mcnp6/gkssim.mod".
make[2]: *** [src/mcnp/mcnp6/CMakeFiles/mcnp6.mpi.dir/gkssim.mod.stamp] Error 1
make[1]: *** [src/mcnp/mcnp6/CMakeFiles/mcnp6.mpi.dir/all] Error 2
make: *** [all] Error 2

I tried also specifying CXX=/path/cxx_compiler and FC=/path/fortran_compiler, and I got the same error,

Thank in advance again,

from dagmc.

hgmeier1185 avatar hgmeier1185 commented on August 13, 2024

Well, if it useful for someone, I researched and gkssim is related with plotting, so I used -DBUILD_MCNP_PLOT=ON and was able to installed it!!!

from dagmc.

gonuke avatar gonuke commented on August 13, 2024

Thanks for the info @hgmeier1185, and sorry that we left you on your own to figure this out. It should be possible to build without plotting, so this may still be an issue we need to keep an eye out for. However, we'll focus on non-beta versions COE that.

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.