Intel MPI 2019 always using gcc version 4.9.3

Viewed 111

Is there a way to specify the GCC version in intel MPI while I use the mpicc command to compile a program?

1 Answers

Working now.

The make the mpicc for Intel MPI to pick a specific gcc I used the option -gcc-name=path/bin/g++.

mpicc -gcc-name=path/bin/g++ text.cpp
Related