-
Notifications
You must be signed in to change notification settings - Fork 223
Make Intel compiler + IntelMPI use mpiifort etc. #2005
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
Changes from 1 commit
fcf0fb3
b8d62ad
74251d5
5a1550d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,9 +45,10 @@ class Mpich2(Mpich): | |
| def _set_mpi_compiler_variables(self): | ||
| """Set the MPICH_{CC, CXX, F77, F90, FC} variables.""" | ||
|
|
||
| # hardwire MPI wrapper commands (otherwise Mpich parent class sets them based on MPICH version) | ||
| self.MPI_COMPILER_MPIF77 = 'mpif77' | ||
| self.MPI_COMPILER_MPIF90 = 'mpif90' | ||
| self.MPI_COMPILER_MPIFC = 'mpif90' | ||
| if self.MPI_COMPILER_MPIF77 is None and self.MPI_COMPILER_MPIF90 is None and self.MPI_COMPILER_MPIFC is None: | ||
| # hardwire MPI wrapper commands (otherwise Mpich parent class sets them based on MPICH version) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. definitely clarify. The docstring says:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, I guess clarifying wouldn't hurt. @akesandgren can you include a comment that only the Fortran compiler commands need to be overridden, i.e. that the C/C++ compilers are correctly set via the parent class? |
||
| self.MPI_COMPILER_MPIF77 = 'mpif77' | ||
| self.MPI_COMPILER_MPIF90 = 'mpif90' | ||
| self.MPI_COMPILER_MPIFC = 'mpif90' | ||
|
|
||
| super(Mpich2, self)._set_mpi_compiler_variables() | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we add
MPI{CC, CXX}to be consistent...or explain in the comment why you don't have toThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ocaisa only
MPI{F77,F90,FC}are being touched here, but I guess it doesn't hurt to clarify