Comments (6)
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.
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.
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.
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.
Yes I solved this problem. See my updates to #110.
from njoy21.
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)
- install in Anaconda environment HOT 1
- Processing of MF10 Multi-isotope entries HOT 4
- Segmentation fault (core dumped) with ACER HOT 1
- Beginners quide, FAQ, examples? HOT 4
- Memory consumption at 94% HOT 3
- Segmentation fault in compiling NJOY on Conda enviroment HOT 3
- Segmentation fault when attempting to make (Mac M1) HOT 1
- tape20 and input files for test2 HOT 1
- Can't build v1.1.0 using given instructions HOT 2
- Installation problem HOT 2
- Build fails with deprecated is_literal_type in hana dependency HOT 6
- Build fails with `error: size of array ‘altStackMem’ is not an integral constant-expression` HOT 1
- Comparing two TSL HOT 3
- LEAPR S(alpha,beta) and rho phonon frequency spectrum HOT 2
- Read COVR matrices HOT 2
- NJOY21 installation error HOT 4
- Runtime error: end of file HOT 4
- Error when running ACER with 'suff' equal to '.07' HOT 1
- catch-adapter issue? HOT 1
- Instalation problem HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from njoy21.