Intel MPI 2019 always using gcc version 4.9.3

374 Views Asked by At

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

1

There are 1 best solutions below

0
Sap BH On BEST ANSWER

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