Is there a way to specify the GCC version in intel MPI while I use the mpicc command to compile a program?
Asked
Active
Viewed 253 times
2
-
Does it not respect the `CC` environment variable mentioned in the man page? (At least the OpenMPI version of `mpicc` mentions that.) – Peter Cordes Sep 17 '21 at 05:20
-
How to providing the CC flag to OpenMPI version of mpicc? Is it like – Sap BH Sep 17 '21 at 05:25
-
1It's not a flag, it's an environment variable. In a shell command, you can set it for a command like `CC=something some_command -args` just like normal. – Peter Cordes Sep 17 '21 at 05:46