Bug 81399

Summary: fail to install MPICH-1.2.4 with Intel Compiler 7.0 on RedHat 8.0
Product: [Retired] Red Hat Linux Reporter: Jyh-Shyong Ho <c00jsh00>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-09 01:14:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jyh-Shyong Ho 2003-01-09 00:48:29 UTC
Description of problem:
The Installation of MPICH-1.2.4 with Intel compiler C++ 7.0 failed on RedHat 8.0

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Install RedHat 8.0
2.Install Intel compiler C++ 7.0
3.Install MPICH-1.2.4
./configure -cc=icc -fc=ifc -f90=ifc --with-device=ch_p4
--with-arch=LINUX --prefix=/opt/mpi/mpich124
Actual results:
12 Lines Compiled
ar cr /work/source/mpich-1.2.4/lib/libmpichf90nc.a .tmp/mpi.o mpi1.o
mpi2.o \
if [ ! -d /work/source/mpich-1.2.4/include/f90base ] ; then \
mkdir /work/source/mpich-1.2.4/include/f90base ; fi
cp mpi-base.mod /work/source/mpich-1.2.4/include/f90base/MPI.mod
cp MPI_CONSTANTS.mod /work/source/mpich-1.2.4/include/f90base
cp MPI1.mod /work/source/mpich-1.2.4/include/f90base
cp MPI2.mod /work/source/mpich-1.2.4/include/f90base
make --no-print-directory mpi-lib-test
make --no-print-directory profileliblink
Testing that MPI applications can be linked...
make --no-print-directory linktest
make overtake
/work/source/mpich-1.2.4/bin/mpicc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR
VE_SLEEP=1 -DHAVE_SYSCONF=1 -c overtake.c
/work/source/mpich-1.2.4/bin/mpicc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR
/work/source/mpich-1.2.4/bin/mpicc -o overtake overtake.o test.o
/work/source/mpich-1.2.4/lib/libmpich.a(p4_utils.o): In function
p4_utils.o(.text+0xcb2): undefined reference to `__bswap_32'
p4_utils.o(.text+0xcc7): undefined reference to `__bswap_32'
/work/source/mpich-1.2.4/lib/libmpich.a(p4_utils.o): In function
p4_utils.o(.text+0x1078): undefined reference to `__bswap_32'
p4_utils.o(.text+0x1082): undefined reference to `__bswap_32'
p4_utils.o(.text+0x108c): undefined reference to `__bswap_32'
/work/source/mpich-1.2.4/lib/libmpich.a(p4_utils.o)(.text+0x1129): more
undefined references to `__bswap_32' follow
make[4]: *** [overtake] Error 1
make[3]: [linktest] Error 2 (ignored)
Could not link a C program with MPI libraries
make[3]: *** [linktest] Error 1
make[2]: *** [linktest] Error 2
make[1]: *** [mpi-lib-test] Error 2
make: *** [mpi] Error 2

The installation is successful with GNU compiler.

Expected results:

Additional info:
Mr. Gropp of MPICH group informed me than bswap_32 is not a 
symbol in MPICH.  This is probably an error in the Intel
compiler or an incompatibility between the system header 
files on RedHat and the Intel compiler.
A member of the Intel compiler user group onformed me that
it might be the problem of the version of glibc under RH8.0.

Comment 1 Jakub Jelinek 2003-01-09 01:14:49 UTC
This was fixed in glibc-2.3.1-9.

Comment 2 Jyh-Shyong Ho 2003-01-09 05:15:34 UTC
Thank you for the information, but glibc-2.3.1-9 rpm cannot be downloaded from
at.rpmfind.net. can anyone help?