-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NJOY21 installation error #175
Comments
In order to diagnose this problem, I would actually need to know the actual error message and the compilers you are using. You can also try to use NJOY2016 directly (NJOY21 uses NJOY2016 under the hood): https://github.com/njoy/NJOY2016 |
I am having a similar issue. This is the error code I am receiving: |
Hi Whaeck, I appreciate your suggestion. My NJOY21 and NJOY2016 installations were based on GCC-11.3 (the default-current version of GCC). I realized that GCC-11.3 is not recommended for these installations. Therefore, after downgrading GCC, I successfully installed NJOY2016 which displayed "100% tests passed, 0 test failed out of 76". However, during the installation process, there were a lot of error messages that I am not sure can affect the final executable NJOY code or not. Thank you very much for your time. |
@tiepngh The messages you are seeing are simply warning messages. As long as the compilation process does not end in a clear error (and thus no executable has been produced), you should be fine - which should be the case for you since you have run the test suite successfully. @awill271 We are aware of this deprecation error/warning message. Normally this should not be an issue but NJOY21 does use compiler flags to treat warnings as errors. You can work around the issue by removing the compilation flags on line 26 and 27 in the main CMakeLists.txt file (you should do a clean CMake after making these changes though). If that does not work, you can also use NJOY2016 instead. This version of NJOY is used under the hood in NJOY21 anyway and the installation is a lot simpler and faster since it is only a Fortran program. |
Hello, forum,
I am trying to install NJOY21, which was followed by this link: "https://docs.njoy21.io/install.html"
I used Windows Subsystem for Linux (WSL) for this installation, and I underwent the error messages as follows:
"
...
make[2]: *** [CMakeFiles/njoy21.dir/build.make:76: CMakeFiles/njoy21.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1282: CMakeFiles/njoy21.dir/all] Error 2
(make: *** [Makefile:146: all] Error 2)
"
Could anyone give me any suggestions?
Thank you very much in advance!
With kind regards,
HuuTiep
The text was updated successfully, but these errors were encountered: