[mvapich-discuss] mvapich compilation error with psm

Jung chulwoo at quark.phy.bnl.gov
Fri Nov 25 01:23:46 EST 2016


Hi,

I am getting an error when I'm trying to compile on a KNL machine with 
dual omni-path. --enable-thread-cs=lock-free also fails to compile.

Is there something wrong with the configure options, or the 
enable-thread-cs is limited to global on OPA?

Just to remind you, our ultimate goal is to saturate bandwidth of dual 
rail OPA.

Best,
Chulwoo Jung

   $ ../mvapich2-2.2/configure --with-device=ch3:psm 
--with-psm2-include=/usr/include --with-psm2-lib=/usr/lib64 --enable-mcast 
--enable-threads=multiple --enable-thread-cs=per-object 
--prefix=/share/test/chulwoo/mvapich2_test


   CC       src/mpid/ch3/src/lib_libmpi_la-ch3u_rndv.lo
In file included from ../mvapich2-2.2/src/include/mpiimpl.h(3878),
                  from ../mvapich2-2.2/src/mpid/ch3/include/mpidimpl.h(36),
                  from ../mvapich2-2.2/src/mpid/ch3/src/ch3u_rndv.c(18):
../mvapich2-2.2/src/include/mpiimplthreadpost.h(27): warning #159: 
declaration is incompatible with previous 
"MPIU_Thread_CS_enter_lockname_impl_" (declared at line 1343 of 
"../mvapich2-2.2/src/include/mpiimpl.h")
   MPIU_Thread_CS_enter_lockname_impl_(enum MPIU_Nest_mutexes kind,
   ^

In file included from ../mvapich2-2.2/src/include/mpiimpl.h(3878),
                  from ../mvapich2-2.2/src/mpid/ch3/include/mpidimpl.h(36),
                  from ../mvapich2-2.2/src/mpid/ch3/src/ch3u_rndv.c(18):
../mvapich2-2.2/src/include/mpiimplthreadpost.h(46): warning #159: 
declaration is incompatible with previous 
"MPIU_Thread_CS_exit_lockname_impl_" (declared at line 1343 of 
"../mvapich2-2.2/src/include/mpiimpl.h")
   MPIU_Thread_CS_exit_lockname_impl_(enum MPIU_Nest_mutexes kind,
   ^

../mvapich2-2.2/src/mpid/ch3/src/ch3u_rndv.c(210): error: expression must 
have arithmetic or pointer type
       if (!found && rreq->cc == 0) {
                     ^

compilation aborted for ../mvapich2-2.2/src/mpid/ch3/src/ch3u_rndv.c (code 
2)
make[2]: *** [src/mpid/ch3/src/lib_libmpi_la-ch3u_rndv.lo] Error 1
make[2]: Leaving directory `/root/chulwoo/mvapich2/testbuild'
make[1]: *** [all-recursive] Error 1


Chulwoo Jung
Physics Department
Brookhaven National Laboratory
U.S.A.
chulwoo at bnl.gov
1-631-344-5254


More information about the mvapich-discuss mailing list