Alex Granovsky
gran@classic.chem.msu.su
I have successfully compiled OpenMPI 1.2.8 by gcc under OpenSUSE 11.1
Indeed, the default OS install misses some important 32-bit libraries,
perhaps most important of them is 32-bit libstdc++.a.
It is missed on the installation DVD, but can be installed
from the OpenSUSE repository.
It was necessary to install several other rpms as well.
After that, I was able to compile OpenMPI libraries using e.g.:
./configure CFLAGS=-m32 LDFLAGS=-m32 CPPFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32 --enable-mpi-cxx=no --enable-mpi-f77=no --enable-mpi-f90=no --prefix /opt/openmpi-1.2.8-gcc32
I believe the problem with OpenSUSE 11.0 is similar and thus can be easily resolved.
Hope this helps.
Regards,
Alex
On Wed Feb 11 '09 10:37am, Veinardi Suendo wrote
------------------------------------------------
>Dear Prof. Alex,
>I had tried both with GCC and Intel Compiler but it seems that both compilers stuck on C++ and so on, so the ./configure ... steps failed. I am still trying to look the answer in OpenSUSE forum. In worst case, could you provide us with pcg71e that compiled with 64bit OpenMPI libraries? Thank you very much in advance.
>Best regards,
>Veinardi
>On Tue Feb 10 '09 2:39pm, Alex Granovsky wrote
>----------------------------------------------
>>Hi,
>>you need to compile 32-bit OpenMPI libraries (gcc).
>>This is pretty much straightforward, you just need to export
>>CCFLAGS=-m32
>>as well as several other related environment variables
>>(see OpenMPI's configure file for details), before compiling
>>OpenMPI under 64-bit Linux.
>>regards,
>>Alex
>>On Tue Feb 10 '09 1:14pm, Veinardi Suendo wrote
>>-----------------------------------------------
>>>Dear Sirs,
>>>We had tried to run pcg71e in OpenSUSE 11.0 x64 on Intel Core2 Quad Q8200 2.33 GHz with 8GB of DDR2 RAM, but we got an error message as follows:
>>>./pcgamess: error while loading shared library: libmpi.so.0: wrong ELF class: ELFCLASS64.
>>>We had check that the OpenMPI installation was running correctly with ompi_info for Intel Compiler Suite 11.0.074. Just for information, we had compiled the OpenMPI 1.2.8 with configuration:
>>>./configure CC=icc CXX=icpc F77=ifort FC=ifort CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64
>>>Please if you have any suggestion and advice for us, so we can solve the problem.
>>>Thank you very much in advance,
>>>Best regards,
>>>Veinardi Suendo