Hello I'm trying to install boost and its MPI bindings on a Cray XE6 and this is what I get after adding using mpi ; to user-config.jam: MPI auto-detection failed: unknown wrapper compilerhttp://omgili.com/mailinglist/boost-users/lists/boost/org/4BC2BA3E2040204hel... /opt/cray/xt-asyncpe/4.9/bin/CC or MPI auto-detection failed: unknown wrapper compiler mpic++ (mpic++ -bash: mpic++: command not found) If I understand correctly boost only checks for mpicc and related executables and also tries mpirun. None of these are supposed to be used on an XE6 The compiler commands to use are cc, CC and ftn. More information for I think the same machine: https://www.nersc.gov/users/getting-started/http://www.csc.fi/english/pages/louhi_guide/program_development/compilers/in... these compiler cc, CC and ftn are using directly to compile an MPI program (don't use mpiCC to compile) Actually CC is using the GNU compiler module switch PrgEnv-pgi PrgEnv-gnu CC --version /opt/cray/xt-asyncpe/4.9/bin/CC: INFO: Compiling with XTPE_COMPILE_TARGET=native. g++ (GCC) 4.5.2 20101216 (Cray Inc.) I need to build boost mpi with this compiler (CC). How can I make bjam do that?? Thank you K.H
Hello 21.06.2011 17:35, khaled hamidouche kirjoitti:
I'm trying to install boost and its MPI bindings on a Cray XE6 and this is what I get after adding using mpi ; to user-config.jam: MPI auto-detection failed: unknown wrapper compiler /opt/cray/xt-asyncpe/4.9/bin/CC or MPI auto-detection failed: unknown wrapper compiler mpic++
I ran into the same problem last year: http://lists.boost.org/boost-users/2010/04/58143.php Since then I got some help from Cray (Paolo Palazzi and others), this is what I currently use on a XT5 and Intel: echo "using mpi : : <find-shared-library>mpich ;" >> ./tools/build/v2/user-config.jam && echo "using intel : : : <compileflags>-I/opt/mpt/default/xt/mpich2-gnu/include <linkflags>-L/opt/mpt/default/xt/mpich2-gnu/lib ; " >> ./tools/build/v2/user-config.jam && ./bjam --prefix=... toolset=intel && ./bjam install --prefix=... toolset=intel GCC: echo "using mpi : : <find-shared-library>mpich ;" >> ./tools/build/v2/user-config.jam && echo "using gcc : : : <compileflags>-I/opt/mpt/default/xt/mpich2-gnu/include <linkflags>-L/opt/mpt/default/xt/mpich2-gnu/lib ;"
./tools/build/v2/user-config.jam &&
./bjam --prefix=... && ./bjam install --prefix=... toolset=pgi should work with PGI. Substitute /opt/mpt/default/... with for example /opt/cray/mpt/5.2.0/xt/seastar/mpich2-gnu/ if you use a newer version of mpt. I also have the following in ~/bin/ (which is in $PATH) but it is probably not required: mpic++ -> /opt/cray/xt-asyncpe/3.3/bin/CC ... Hmm, actually for intel the -L and -I should probably be /opt/mpt/default/xt/mpich2-intel/... but mpich2-gnu seems to have worked so far. Ilja
Hi Khaled,
Did you read the Boost.MPI documentation?
http://www.boost.org/doc/libs/1_46_1/doc/html/mpi/getting_started.html#mpi.c...
Regards,
Júlio.
2011/6/21 khaled hamidouche
Hello
I'm trying to install boost and its MPI bindings on a Cray XE6 and this is what I get after adding using mpi ; to user-config.jam: MPI auto-detection failed: unknown wrapper compilerhttp://omgili.com/mailinglist/boost-users/lists/boost/org/4BC2BA3E2040204hel... /opt/cray/xt-asyncpe/4.9/bin/CC or MPI auto-detection failed: unknown wrapper compiler mpic++
(mpic++ -bash: mpic++: command not found)
If I understand correctly boost only checks for mpicc and related executables and also tries mpirun. None of these are supposed to be used on an XE6 The compiler commands to use are cc, CC and ftn. More information for I think the same machine: https://www.nersc.gov/users/getting-started/http://www.csc.fi/english/pages/louhi_guide/program_development/compilers/in...
these compiler cc, CC and ftn are using directly to compile an MPI program (don't use mpiCC to compile)
Actually CC is using the GNU compiler
module switch PrgEnv-pgi PrgEnv-gnu
CC --version /opt/cray/xt-asyncpe/4.9/bin/CC: INFO: Compiling with XTPE_COMPILE_TARGET=native. g++ (GCC) 4.5.2 20101216 (Cray Inc.)
I need to build boost mpi with this compiler (CC). How can I make bjam do that??
Thank you
K.H
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Ilja Honkonen
-
Júlio Hoffimann
-
khaled hamidouche