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

Build fails with Cray Compiler #205

Open
bavier opened this issue Jan 17, 2018 · 2 comments
Open

Build fails with Cray Compiler #205

bavier opened this issue Jan 17, 2018 · 2 comments

Comments

@bavier
Copy link

bavier commented Jan 17, 2018

Building ForTrilinos with the Cray Compiler currently fails due to the use of the -ffree-line-length-none compiler option in CMakeLists.txt, which the Cray Compiler does not recognize/support. The best alternative option would be -N1023 which sets the upper limit on line size to 1023 characters. This appears to be long enough.

@aprokop
Copy link
Collaborator

aprokop commented Jan 17, 2018

@bavier Thanks for letting us know. I think that we may actually no longer need that option as we are able to compile with Flang that requires 132 character limit. Can you please try to compile with that option removed?

@bavier
Copy link
Author

bavier commented Jan 17, 2018

Yes, is works with the option completely removed. The Cray Compiler's default line length for free form source is 255.

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