-
Notifications
You must be signed in to change notification settings - Fork 63
use mpicc to compile the code when gasnet is enabled #274
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
Conversation
src/legate.mk
Outdated
|
|
||
| RM := rm | ||
|
|
||
| # use mpi{cc,cxx,f90} compiler wrappers if USE_MPI=1 and we're not on a Cray system |
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.
USE_MPI should be USE_GASNET
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.
Thanks, fixed now.
src/legate.mk
Outdated
| ifneq ($(strip $(shell __INTEL_POST_CFLAGS+=' -we10006' $(CC) -show 2>&1 > /dev/null; echo $$?)),0) | ||
| export OMPI_CC := $(CC) | ||
| export MPICH_CC := $(CC) | ||
| CC := mpicc |
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.
Can you fix the alignment here?
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.
good catch, somehow the alignment is OK in my vscode. Is there a way to let pre-commit catch the format issue of makefile?
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.
No description provided.