Skip to content
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

Fails to build with GCC 11: gfortran11: error: unrecognized command-line option '-i8'; did you mean '-k8' #601

Closed
yurivict opened this issue Apr 24, 2022 · 2 comments

Comments

@yurivict
Copy link
Contributor

Describe the bug
Failure log:

gmake[2]: Entering directory '/wrkdirs/usr/ports/science/nwchem/work/nwchem-7.0.2-release/src/basis'
Compiling basis.F...
gfortran11: error: unrecognized command-line option '-i8'; did you mean '-k8'?
gmake[2]: *** [../config/makefile.h:3040: /wrkdirs/usr/ports/science/nwchem/work/nwchem-7.0.2-release/src/../lib/LINUX64/libnwcutil.a(basis.o)] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Compiling bas_input.F...
gfortran11: error: unrecognized command-line option '-i8'; did you mean '-k8'?
gmake[2]: *** [../config/makefile.h:3040: /wrkdirs/usr/ports/science/nwchem/work/nwchem-7.0.2-release/src/../lib/LINUX64/libnwcutil.a(bas_input.o)] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/science/nwchem/work/nwchem-7.0.2-release/src/basis'
gmake[1]: *** [GNUmakefile:105: libraries] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/science/nwchem/work/nwchem-7.0.2-release/src'

I am creating this bug report based on this downstream bug report.

@yurivict
Copy link
Contributor Author

Based on this comment there's no option -i8, there's only -fdefault-integer-8.

@edoapra
Copy link
Collaborator

edoapra commented Apr 25, 2022

Please use the issue template to provide a detailed bug report at https://github.com/nwchemgit/nwchem/issues/new?assignees=&labels=&template=bug_report.md&title=

I would rather not wast too much time playing the guessing game.

@edoapra edoapra closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants