pmodels / mpich

Official MPICH Repository
http://www.mpich.org
Other
536 stars 280 forks source link

Compilation error while compiling mpich2-1.2 with ch3:nemesis:mx device #892

Closed mpichbot closed 7 years ago

mpichbot commented 7 years ago

Originally by martin.audet@imi.nrc-cnrc.gc.ca on 2009-10-07 19:59:52 -0500


Hi MPICH_Developers,

The newest mpich2 seems to have problems compiling the ch3:nemesis:mx device.

In the src/mpid/ch3/channels/nemesis/nemesis/netmod/mx directory

I get the following error message:

[publique@cn1 mx]$ VERBOSE=1 make
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../../include -I/home/publique/download/mpich2-1.2/src/ch3/channels/nemesis/nemesis/include -I/home/publique/download/mpich2-1.2/src/include -I/home/publique/download/mpich2-1.2/src/include -DNDEBUG -O2 -I/home/publique/download/mpich2-1.2/src/openpa/src -I/home/publique/download/mpich2-1.2/src/openpa/src -DUSE_PROCESS_LOCKS -I/usr/local/mx/include -I/home/publique/download/mpich2-1.2/src/mpid/ch3/include -I/home/publique/download/mpich2-1.2/src/mpid/ch3/include -I/home/publique/download/mpich2-1.2/src/mpid/common/datatype -I/home/publique/download/mpich2-1.2/src/mpid/common/datatype -I/home/publique/download/mpich2-1.2/src/mpid/common/locks -I/home/publique/download/mpich2-1.2/src/mpid/common/locks -I/home/publique/download/mpich2-1.2/src/mpid/ch3/channels/nemesis/include -I/home/publique/download/mpich2-1.2/src/mpid/ch3/channels/nemesis/include -I/home/publique/download/mpich2-1.2/src/mpid/ch3/channels/nemesis/nemesis/include -I/home/publique/download/mpich2-1.2/src/mpid/ch3/channels/nemesis/nemesis/include -I/home/publique/download/mpich2-1.2/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor -I/home/publique/download/mpich2-1.2/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor -I/home/publique/download/mpich2-1.2/src/mpid/common/locks -I/home/publique/download/mpich2-1.2/src/mpid/common/locks -I/home/publique/download/mpich2-1.2/src/util/wrappers -I/home/publique/download/mpich2-1.2/src/util/wrappers -c mx_poll.c
mx_poll.c: In function 'MPID_nem_mx_anysource_matched':
mx_poll.c:712: error: 'mpi_errno' undeclared (first use in this function)
mx_poll.c:712: error: (Each undeclared identifier is reported only once
mx_poll.c:712: error: for each function it appears in.)
make: *** [mx_poll.o] Error 1
[publique@cn1 mx]$

The library was configured as follows: ./configure --with-device=ch3:nemesis:mx --prefix=/usr/local/mpich2-ch3_nemesis_mx-1.2 --with-mx=/usr/local/mx --enable-fast --enable-romio --with-file-system=ufs+nfs --disable-cxx --disable-f90 --enable-sharedlibs=gcc

This happens on a x86_64 system running Linux (Fedora 7).

Thanks,

Martin Audet

mpichbot commented 7 years ago

Originally by balaji on 2009-10-08 09:07:38 -0500


For completeness -- this was fixed in [efc65f0b5af9f8692fb20805950681eac58ccacd] and [a03a9df9dc3c9bcfe8d0553f9bc488b5b27b5e56] in the trunk and merged into the 1.2 branch in [5434].

-- Pavan