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 &#39;make&#39;, the compiling stoped at:<br>
<br>Using variables CC=&#39;gcc&#39; CFLAGS=&#39; -O2&#39; LDFLAGS=&#39;&#39; AR=&#39;ar&#39; FC=&#39;ifort&#39; F90=&#39;ifort&#39; FFLAGS=&#39; -O2&#39; F90FLAGS=&#39; -O2&#39; CXX=&#39;g++&#39; CPPFLAGS=&#39; -I/home/jy/Source/mpich2-1.2/src/openpa/src -I/home/jy/Source/mpich2-1.2/src/openpa/src &#39;<br>
make all-local<br>make[1]: Entering directory `/home/jy/Source/mpich2-1.2&#39;<br>make[1]: Leaving directory `/home/jy/Source/mpich2-1.2&#39;<br>make[1]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa&#39;<br>Making all in src<br>
make[2]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa/src&#39;<br>make  all-am<br>make[3]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa/src&#39;<br>make[3]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa/src&#39;<br>
make[2]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa/src&#39;<br>Making all in test<br>make[2]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa/test&#39;<br>make[2]: Nothing to be done for `all&#39;.<br>
make[2]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa/test&#39;<br>make[2]: Entering directory `/home/jy/Source/mpich2-1.2/src/openpa&#39;<br>make[2]: Nothing to be done for `all-am&#39;.<br>make[2]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa&#39;<br>
make[1]: Leaving directory `/home/jy/Source/mpich2-1.2/src/openpa&#39;<br>make[1]: Entering directory `/home/jy/Source/mpich2-1.2/src&#39;<br>make[2]: Entering directory `/home/jy/Source/mpich2-1.2/src/mpid&#39;<br>make[3]: Entering directory `/home/jy/Source/mpich2-1.2/src/mpid/common&#39;<br>
make[4]: Entering directory `/home/jy/Source/mpich2-1.2/src/mpid/common/locks&#39;<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&#39;<br>make[3]: *** [all-redirect] Error 2<br>make[3]: Leaving directory `/home/jy/Source/mpich2-1.2/src/mpid/common&#39;<br>
make[2]: *** [all-redirect] Error 2<br>make[2]: Leaving directory `/home/jy/Source/mpich2-1.2/src/mpid&#39;<br>make[1]: *** [all-redirect] Error 2<br>make[1]: Leaving directory `/home/jy/Source/mpich2-1.2/src&#39;<br>make: *** [all-redirect] Error 2<br>
<br><br>I don&#39;t know what&#39;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>