Coder Social home page Coder Social logo

Comments (6)

nathangibson14 avatar nathangibson14 commented on July 29, 2024

Hi CK,

Thanks for reaching out. I haven't seen issues like this before, but I also don't have much experience on using NJOY on Windows either.

This looks like a compiler bug. What version of GCC are you using? Do you have access to another compiler or another version on your system?

Thanks,
Nathan

from njoy21.

Kutyreff avatar Kutyreff commented on July 29, 2024

Hello Nathan,

Thanks for getting back to me. And sorry for my slow response. I tried updating GCC and Cygwin to solve the issue, and indeed I am no longer getting the seg fault error. However, I am now faced with a new problem when compiling:

[ 84%] Building CXX object CMakeFiles/njoy21.dir/src/main.cpp.o
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/as: CMakeFiles/njoy21.dir/src/main.cpp.o: too many sections (58183)
/tmp/cc0pEF50.s: Assembler messages:
/tmp/cc0pEF50.s: Fatal error: can't write 56 bytes to section .text of CMakeFiles/njoy21.dir/src/main.cpp.o: 'file too big'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/as: CMakeFiles/njoy21.dir/src/main.cpp.o: too many sections (58183)
/tmp/cc0pEF50.s: Fatal error: can't close CMakeFiles/njoy21.dir/src/main.cpp.o: file too big
make[2]: *** [CMakeFiles/njoy21.dir/build.make:63: CMakeFiles/njoy21.dir/src/main.cpp.o] Error 1
make[2]: Leaving directory '/home/ckuty/NJOY/NJOY21/bin'
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/njoy21.dir/all] Error 2
make[1]: Leaving directory '/home/ckuty/NJOY/NJOY21/bin'
make: *** [Makefile:163: all] Error 2

This is with the updated version of GCC (9.3.0-2), but I can try previous versions (9.2 or 7.4).

Again, grateful for any and all assistance you are willing to offer.

Cheers,

CK

from njoy21.

Kutyreff avatar Kutyreff commented on July 29, 2024

Hello again Nathan,

Just to follow up, I seem to have successfully installed NJOY2016 in this environment (0 of 55 tests failed in the make test stage). I am not sure if this information is diagnostically helpful, but I thought I would share it anyway.

Cheers,

CK

from njoy21.

nathangibson14 avatar nathangibson14 commented on July 29, 2024

Thanks for the information. You seem to be getting the same issue as #110, which just came in last night, so it's good to know this is a consistent problem in Cygwin. Using NJOY2016 was my suggested workaround, so you already found that solution.

I'll try to get a Windows machine up and running to see if I can fix the compile flags leading to that problem.

Thanks,
Nathan

from njoy21.

RokShox avatar RokShox commented on July 29, 2024

Yes I solved this problem. See my updates to #110.

from njoy21.

Kutyreff avatar Kutyreff commented on July 29, 2024

Thanks everybody. I am less savvy than the rest, so I'll stick with NJOY2016 until the Cygwin fixes get implemented. I appreciate all the help!

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.