[mpich-discuss] mpich2 without mpic++
Pavan Balaji
balaji at mcs.anl.gov
Wed Jan 26 01:56:03 CST 2011
mpic++ is just a compiler wrapped. In most cases you can just use
"mpic++" as your compiler, instead of g++. If you don't want to do that,
you can use mpic++ -show to tell you the exact options it is passing to
g++. You can manually specify them. But remember that these flags can
change in future releases, and using mpic++ as your compiler is the only
safe way for doing this.
-- Pavan
On 01/26/2011 01:47 AM, Eugene N wrote:
> Hello
>
> Is there a way to compile programs with g++, and adding mpich as a
> library with something like lmpich option?
>
> Becouse there exist a plethora of compiler-based technlologies, and if
> you try to mix them - there is a big ? sign. For instance, i would like
> to add ODB functionality to my software, and ODB is compiler-based ORM
> for c++.
>
> Thanks,
> Eugene
>
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list