what is mpic++ file used for?

1.5k views Asked by At

I want to know what is '/usr/bin/mpic++' file used for.

I build mpich2 using g++4.5.4, and mpic++ script default link to g++4.5.4.

Then, I update g++ to g++4.7.

My question is that 'Do I need to recompile mpich using g++4.7 or just modify the mpic++ script'?

Thanks!

1

There are 1 answers

0
kraffenetti On

mpic++ is a wrapper script around your C++ compiler for compiling/linking MPI programs. Rebuilding mpich2 with the new g++ is a good idea, since configure may detect different configuration in the compiler that could change the wrapper script.