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

only set MPI_CXX_COMPILER if requested #207

Merged
merged 1 commit into from
Jun 28, 2021

Conversation

tjhei
Copy link
Member

@tjhei tjhei commented Jun 28, 2021

Setting the compiler wrapper in CMake instead of in CC and CXX is
recommended, but only works for recent CMake versions (one configuration
I tested requires CMake 3.20 for the intel compiler).
With 9.3.1 deal.II supports setting CXX=mpicxx again, so only do the
above when a setting in candi.cfg is specified.
Works around #202
and fixes feature introduced in #159

Setting the compiler wrapper in CMake instead of in CC and CXX is
recommended, but only works for recent CMake versions (one configuration
I tested requires CMake 3.20 for the intel compiler).
With 9.3.1 deal.II supports setting CXX=mpicxx again, so only do the
above when a setting in candi.cfg is specified.
Works around dealii#202
and fixes feature introduced in dealii#159
Copy link
Contributor

@koecher koecher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you.

@koecher koecher merged commit 1733c20 into dealii:master Jun 28, 2021
@tjhei
Copy link
Member Author

tjhei commented Jun 28, 2021

Note that this doesn't work with 9.3.0 in some cases but we are working on a 9.3.1 release.

@koecher
Copy link
Contributor

koecher commented Jun 29, 2021

@tjhei yep. But this PR was on master (which is master deal.II now)

@tjhei tjhei deleted the disable_cmake_mpi_cxx_compiler branch July 1, 2021 14:13
@koecher koecher mentioned this pull request Jul 9, 2021
16 tasks
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

Successfully merging this pull request may close these issues.

None yet

2 participants