xunzhang
xunzhang

Reputation: 2936

what is mpic++ file used for?

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!

Upvotes: 1

Views: 1940

Answers (1)

kraffenetti
kraffenetti

Reputation: 365

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.

Upvotes: 2

Related Questions