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

Compilers are hardcoded to be gcc and gfortran #20

Open
spencerkclark opened this issue Sep 27, 2022 · 0 comments
Open

Compilers are hardcoded to be gcc and gfortran #20

spencerkclark opened this issue Sep 27, 2022 · 0 comments

Comments

@spencerkclark
Copy link

Currently the C and fortran compilers are hardcoded to be gcc and gfortran:

set(CMAKE_C_COMPILER gcc)
set(CMAKE_Fortran_COMPILER gfortran)

This interferes with building on systems that use different compilers. The solution is probably to have comparable set calls within the Intel and PGI branches of the if-block that set the compilers to icc / ifort and pgcc / pgfortran respectively.

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

1 participant