|
I'm not an expert on the configure system, but one thing jumps out at
me immediately - you used "gcc" to compile your program. You really
need to use "mpicc" to do so. I think that might be the source of your errors. Ralph David Gunter wrote: After much fiddling around, I managed to create a version of open-mpi that would actually build. Unfortunately, I can't run the simplest of applications with it. Here's the setup I used:export CC=gcc export CXX=g++ export FC=gfortran export F77=gfortran export CFLAGS="-m32" export CXXFLAGS="-m32" export FFLAGS="-m32" export FCFLAGS="-m32" export LDFLAGS="-L/usr/lib" ./configure --prefix=/net/scratch1/dog/flash64/openmpi/ openmpi-1.0.2-32b --build=i686-pc-linux-gnu --with-bproc --with-g m --enable-io-romio --with-romio --with-io-romio-flags='--build=i686- pc-linux-gnu' Configure completes, as does 'make' and then 'make install'. Next I tried to compile a simple MPI_Send test application, which fails to run: (flashc 104%) gcc -m32 -I/net/scratch1/dog/flash64/openmpi/ openmpi-1.0.2-32b/include -o send4 send4.c -L/net/scratch1/dog/ flash64/openmpi/openmpi-1.0.2-32b/lib -lmpi /net/scratch1/dog/flash64/openmpi/openmpi-1.0.2-32b/lib/libopal.so.0: warning: epoll_wait is not implemented and will always fail /net/scratch1/dog/flash64/openmpi/openmpi-1.0.2-32b/lib/libopal.so.0: warning: epoll_ctl is not implemented and will always fail /net/scratch1/dog/flash64/openmpi/openmpi-1.0.2-32b/lib/libopal.so.0: warning: epoll_create is not implemented and will always fail (flashc 105%) which mpiexec /net/scratch1/dog/flash64/openmpi/openmpi-1.0.2-32b/bin/mpiexec (flashc 106%) mpiexec -n 4 ./send4 [flashc.lanl.gov:32373] mca: base: component_find: unable to open: / lib/libc.so.6: version `GLIBC_2.3.4' not found (required by /net/ scratch1/dog/flash64/openmpi/openmpi-1.0.2-32b/lib/openmpi/ mca_paffinity_linux.so) (ignored) [flashc.lanl.gov:32373] mca: base: component_find: unable to open: libbproc.so.4: cannot open shared object file: No such file or directory (ignored) [flashc.lanl.gov:32373] mca: base: component_find: unable to open: libbproc.so.4: cannot open shared object file: No such file or directory (ignored) [flashc.lanl.gov:32373] mca: base: component_find: unable to open: libbproc.so.4: cannot open shared object file: No such file or directory (ignored) [flashc.lanl.gov:32373] mca: base: component_find: unable to open: libbproc.so.4: cannot open shared object file: No such file or directory (ignored) [flashc.lanl.gov:32373] mca: base: component_find: unable to open: libbproc.so.4: cannot open shared object file: No such file or directory (ignored) mpiexec: relocation error: /net/scratch1/dog/flash64/openmpi/ openmpi-1.0.2-32b/lib/openmpi/mca_soh_bproc.so: undefined symbol: bproc_nodelist I'm still open to suggestions. -david On Apr 10, 2006, at 7:11 AM, David R. (Chip) Kent IV wrote: |
- [OMPI users] Building 32-bit OpenMPI package for 64-bit Opt... David Gunter
- Re: [OMPI users] Building 32-bit OpenMPI package for 6... David Gunter
- Re: [OMPI users] Building 32-bit OpenMPI package f... Brian Barrett
- Re: [OMPI users] Building 32-bit OpenMPI packa... David Gunter
- Re: [OMPI users] Building 32-bit OpenMPI package f... Ralph Castain
- Re: [OMPI users] Building 32-bit OpenMPI packa... David Gunter
- Re: [OMPI users] Building 32-bit OpenMPI p... Brian Barrett
- Re: [OMPI users] Building 32-bit Open... David Gunter
- Re: [OMPI users] Building 32-bit ... Brian Barrett
- Re: [OMPI users] Building 32-... David Daniel
- Re: [OMPI users] Building 32-... Ralph Castain
- Re: [OMPI users] Building 32-... David Gunter
- Re: [OMPI users] Building 32-... Ralph Castain
- Re: [OMPI users] Building 32-... Tim S. Woodall
- Re: [OMPI users] Building 32-... David Gunter
