[mpich-discuss] [EXTERNAL] Re: Modifying ssh calls for MPICH2
Reuti
reuti at staff.uni-marburg.de
Tue Jan 17 17:49:09 CST 2012
Am 18.01.2012 um 00:38 schrieb Kekatpure, Rohan Deodatta (-EXP):
>> which mpicc
>
> /usr/bin/mpicc
>
>> mpicc -v
>
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5664)
Looks like Open MPI is installed by default.
ompi_info
You should succeed then to build it with Open MPI though:
mpicc -o mpihello mpihello.c
Where did you compile MPICH2 and installed it to? Usually I use something like --prefix=$HOME/local/mpich2-1.4.1p1 to ./configure and adjust the PATH to include $HOME/local/mpich2-1.4.1p1/bin
In Germany it's getting night - I'm off then.
-- Reuti
More information about the mpich-discuss
mailing list