Skip to content

Commit

Permalink
Fix icc check (#97)
Browse files Browse the repository at this point in the history
* Fix icc check

* Go back to previous check, but with comment moved
  • Loading branch information
A-CGray authored May 16, 2024
1 parent 6e85c53 commit c403266
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/defaults/config.LINUX_INTEL.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ PMAKE = make -j 4

# ------- Define the MPI Compilers--------------------------------------
ifdef I_MPI_ROOT # Using Intel MPI
ICC_EXISTS := $(shell command -v icc;) # Note that ";" is there to avoid make shell optimization, otherwise the shell command may fail
# Note that ";" is there to avoid make shell optimization, otherwise the shell command may fail
ICC_EXISTS := $(shell command -v icc;)

ifdef ICC_EXISTS
# icc only exists on older Intel versions
Expand Down

0 comments on commit c403266

Please sign in to comment.