Coder Social home page Coder Social logo

Build error on macOS about njoy21 HOT 14 CLOSED

njoy avatar njoy commented on July 29, 2024
Build error on macOS

from njoy21.

Comments (14)

jlconlin avatar jlconlin commented on July 29, 2024 1

@harterj can you start over from scratch (i.e., with a freshly cloned repository)? It's likely that some underlying component is still broken. We've made a number of changes to the underlying components.

The instructions we provide online are for those who really care about the specific version of NJOY21 they are using. If you don't care and just want the latest and greatest the instructions are easier:

mkdir bin
cd bin
make  -D CMAKE_BUILD+TYPE=Release ../
make
ctest

Going this route, there is no need to run fetch_subprojects.py before doing cmake.

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

@harterj Right now, we only support building with clang version 3.8. That is the problem. If you have gcc 6.4 or higher it should work (although we find the clang compiler to produce a better compiled binary.) There are many options for installing compilers including homebrew and spack, which we have used here at LANL.

Try a different compiler an let us know how well it works.

from njoy21.

harterj avatar harterj commented on July 29, 2024

@jlconlin I'll do that, thank you!

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

@harterj Have you had any success with a different compiler?

from njoy21.

harterj avatar harterj commented on July 29, 2024

@jlconlin I was just trying this out again this morning, but still having trouble. I switch to GCC 8.3, removed extraneous pathing I had for MOOSE in an effort to single this out. This screenshot should help a bit, I hope:
Screen Shot 2019-07-02 at 9 56 51 AM

I've followed the directions up to the "make" command so far, from the github. The procedure was similar for the 2016 version. Here's the start of make, though:
Screen Shot 2019-07-02 at 9 59 27 AM

Any potential advice for me?

Thanks,
Jackson

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

@harterj I noticed this as well when I tried to build NJOY21 recently. This is definitely an issue that we are going to have to figure out.

In the meantime, are you able to build by using one of our signature files?

from njoy21.

harterj avatar harterj commented on July 29, 2024

@jlconlin I'll play around with it a little today. Do you mean to just use a previous signature file, located at https://github.com/njoy/signatures ? And do I only need the NJOY21 signature?

If I can't get NJOY21 to build, I can definitely use NJOY2016, I just wanted to use and read the C++ version 🦑

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

We just made a change to NJOY21 that may help with this. It was addressed in Pull Request #93. Please try it out and let me know if it helps.

from njoy21.

harterj avatar harterj commented on July 29, 2024

@jlconlin I will give this a shot this week, thank you! I was on travel.

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

Any news on this?

from njoy21.

harterj avatar harterj commented on July 29, 2024

Sorry on the delay with this @jlconlin -- I've been busy prepping for some things..still getting an error
Screen Shot 2019-09-19 at 1 47 07 PM

This is using the recent signature 1.0.5-NJOY21.json

from njoy21.

harterj avatar harterj commented on July 29, 2024

Screen Shot 2019-09-19 at 1 49 30 PM
Here's from cmake

from njoy21.

harterj avatar harterj commented on July 29, 2024

That worked! Compiled just fine followed by successful tests. Thanks so much for the help @jlconlin

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

Glad everything is working.

from njoy21.

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.