Dear all<br><br>I tried to compile mpich2-1.2 on my fc11 quad-core PC. The ifort10 and icc-10 have been installed, as follows:<br><br>intel-icc101018-10.1.018-1.i386 and intel-ifort101018-10.1.018-1.i386<br><br>but when I configure the source as --prefix=/opt/mpich2-1.2 FC=ifort F77=ifort CXX=g++ CC=gcc --with-device=ch_shmem, it reports no porblem. Then I typed 'make', the compiling stoped at:<br>
<br>Using variables CC='gcc' CFLAGS=' -O2' LDFLAGS='' AR='ar' FC='ifort' F90='ifort' FFLAGS=' -O2' F90FLAGS=' -O2' CXX='g++' CPPFLAGS=' -I/home/jy/Source/mpich2-1.2/src/openpa/src -I/home/jy/Source/mpich2-1.2/src/openpa/src '<br>
make all-local<br>make[1]: Entering directory `/home/jy/Source/mpich2-1.2'<br>make[1]: Leaving directory `/home/jy/Source/mpich2-1.2'<br>make[1]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa'<br>Making all in src<br>
make[2]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa/src'<br>make all-am<br>make[3]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa/src'<br>make[3]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa/src'<br>
make[2]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa/src'<br>Making all in test<br>make[2]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa/test'<br>make[2]: Nothing to be done for `all'.<br>
make[2]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa/test'<br>make[2]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa'<br>make[2]: Nothing to be done for `all-am'.<br>make[2]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa'<br>
make[1]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa'<br>make[1]: Entering directory `/home/jy/Source/mpich2-1.2/src'<br>make[2]: Entering directory `/home/jy/Source/mpich2-1.2/src/mpid'<br>make[3]: Entering directory `/home/jy/Source/mpich2-1.2/src/mpid/common'<br>
make[4]: Entering directory `/home/jy/Source/mpich2-1.2/src/mpid/common/locks'<br> CC mpidu_process_locks.c<br>In file included from mpidu_process_locks.c:6:<br>mpidu_process_locks.h:20:22: error: mpidimpl.h: No such file or directory<br>
mpidu_process_locks.c: In function ‘MPIDU_Process_lock_init’:<br>mpidu_process_locks.c:191: error: ‘MPID_STATE_MPIDU_PROCESS_LOCK_INIT’ undeclared (first use in this function)<br>mpidu_process_locks.c:191: error: (Each undeclared identifier is reported only once<br>
mpidu_process_locks.c:191: error: for each function it appears in.)<br>mpidu_process_locks.c: In function ‘MPIDU_Process_lock’:<br>mpidu_process_locks.c:219: error: ‘MPID_STATE_MPIDU_PROCESS_LOCK’ undeclared (first use in this function)<br>
mpidu_process_locks.c: In function ‘MPIDU_Process_unlock’:<br>mpidu_process_locks.c:235: error: ‘MPID_STATE_MPIDU_PROCESS_UNLOCK’ undeclared (first use in this function)<br>mpidu_process_locks.c: In function ‘MPIDU_Process_lock_free’:<br>
mpidu_process_locks.c:250: error: ‘MPID_STATE_MPIDU_PROCESS_LOCK_FREE’ undeclared (first use in this function)<br>mpidu_process_locks.c: In function ‘MPIDU_Process_lock_busy_wait’:<br>mpidu_process_locks.c:331: error: ‘MPID_STATE_MPIDU_PROCESS_LOCK_BUSY_WAIT’ undeclared (first use in this function)<br>
make[4]: *** [mpidu_process_locks.o] Error 1<br>make[4]: Leaving directory `/home/jy/Source/mpich2-1.2/src/mpid/common/locks'<br>make[3]: *** [all-redirect] Error 2<br>make[3]: Leaving directory `/home/jy/Source/mpich2-1.2/src/mpid/common'<br>
make[2]: *** [all-redirect] Error 2<br>make[2]: Leaving directory `/home/jy/Source/mpich2-1.2/src/mpid'<br>make[1]: *** [all-redirect] Error 2<br>make[1]: Leaving directory `/home/jy/Source/mpich2-1.2/src'<br>make: *** [all-redirect] Error 2<br>
<br><br>I don't know what's wrong with the source code or the configuration. What is mpidimpl.h? Thank you.<br clear="all"><br>-- <br>Sincerely yours<br><br>Jiaye Li<br><br>