Sap BH
Sap BH

Reputation: 91

Intel MPI 2019 always using gcc version 4.9.3

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

Upvotes: 2

Views: 460

Answers (1)

Sap BH
Sap BH

Reputation: 91

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

Upvotes: 1

Related Questions