Does anyone know if it is possible to compile MPI with gcc
?. I need to use gcc
, no mpicc
.
Yes, you can certainly compile an MPI program without the convenience of the mpicc
wrapper. On most implementations mpicc
is a shell script (or similar) which sets environment variables, finds and links various libraries, all the sort of stuff that you might otherwise put into a Makefile.
I suggest that you find an instance of the mpicc
script and deconstruct it.