Heiko Bauke schrieb:
Hello,
Post by Heiko BaukeOn Thu, 03 Dec 2009 13:48:12 +0100
Post by Stefan KuhneBut MPICH2 is the only one with MPE support.
MPE is not included in MPI implementations except MPICH2. However, to my
knowledge, MPE should work with any MPI standard compliant MPI
implementation. Download the source of the latest version of MPICH2,
extract the folder mpich2-1.2.1/src/mpe2/ from the tar ball and read
the README file and the INSTALL file.
openMPI runs with cout fine.
But when i try to build MPE2:
***@head:mpe2$ ./configure
--with-mpiinc=/opt/mpi/gcc/openmpi-1.3.3/include/
--with-mpilibs=/opt/mpi/gcc/openmpi-1.3.3/lib64/ --with-mpicc=
/opt/mpi/gcc/openmpi-1.3.3/bin/
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /opt/mpi/gcc/openmpi-1.3.3/bin/
Configuring MPE Profiling System with
'--with-mpiinc=/opt/mpi/gcc/openmpi-1.3.3/include/'
'--with-mpilibs=/opt/mpi/gcc/openmpi-1.3.3/lib64/' '--with-mpicc='
'/opt/mpi/gcc/openmpi-1.3.3/bin/'
'build_alias=/opt/mpi/gcc/openmpi-1.3.3/bin/'
'host_alias=/opt/mpi/gcc/openmpi-1.3.3/bin/'
'target_alias=/opt/mpi/gcc/openmpi-1.3.3/bin/'
'CPPFLAGS=-I/usr/lib/jvm/java-6-sun-1.6.0.16/include/
-I/usr/lib/jvm/java-6-sun-1.6.0.16/include/linux/ -I/opt/include/
-I/opt/mpi/gcc/openmpi-1.3.3/include'
checking for current directory name... /home/sk/Cluster/lib/mpe2
checking gnumake... yes using --no-print-directory
checking BSD 4.4 make... no - whew
checking OSF V3 make... no
checking for virtual path format... VPATH
User supplied MPI implmentation (Good Luck!)
checking for leftover Makefiles in subpackages ... none
checking for /opt/mpi/gcc/openmpi-1.3.3/bin/-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether MPI_CC has been set ... cc
checking for /opt/mpi/gcc/openmpi-1.3.3/bin/-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking whether MPI_F77 has been set ... f77
checking for the linkage of the supplied MPI C definitions ... no
configure: error: Cannot link with basic MPI C program!
Check your MPI include paths, MPI libraries and MPI CC compiler
***@head:mpe2$
But i can build and run mpi code with mpicc and mpirun.
Regards,
Stefan Kuhne