[mpich-devel] Bunch of warnings compiling MPICH

Antonio J. Peña apenya at mcs.anl.gov
Fri Nov 1 17:15:31 CDT 2013


Hi folks,

Since my last git fetch + update, I'm getting the warnings listed below. It's 
mentioning MPIR_CVAR in function MPIR_T_cvar_init, what seems to point to 
Junchao. I'm using gcc 4.7.2. Anyone else experiencing this issue?

  Toni


src/util/cvar/mpich_cvars.c: In function 'MPIR_T_cvar_init':
src/util/cvar/mpich_cvars.c:278:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ALLTOALL_SHORT_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:296:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ALLTOALL_MEDIUM_MSG_SIZE' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:314:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ALLTOALL_THROTTLE' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:332:5: warning: the comparison will always 
evaluate as 'true' for the address of 
'MPIR_CVAR_REDSCAT_COMMUTATIVE_LONG_MSG_SIZE' will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:350:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_BCAST_MIN_PROCS' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:368:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_BCAST_SHORT_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:386:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_BCAST_LONG_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:404:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ALLGATHER_SHORT_MSG_SIZE' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:422:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ALLGATHER_LONG_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:440:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_REDUCE_SHORT_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:458:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ALLREDUCE_SHORT_MSG_SIZE' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:476:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_GATHER_VSMALL_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:494:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_GATHER_INTER_SHORT_MSG_SIZE' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:512:5: warning: the comparison will always 
evaluate as 'true' for the address of 
'MPIR_CVAR_GATHERV_INTER_SSEND_MIN_PROCS' will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:530:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_SCATTER_INTER_SHORT_MSG_SIZE' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:548:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ALLGATHERV_PIPELINE_MSG_SIZE' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:566:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ENABLE_SMP_COLLECTIVES' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:584:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ENABLE_SMP_BARRIER' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:602:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ENABLE_SMP_BCAST' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:620:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_MAX_SMP_BCAST_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:638:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ENABLE_SMP_REDUCE' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:656:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_MAX_SMP_REDUCE_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:674:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ENABLE_SMP_ALLREDUCE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:692:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_MAX_SMP_ALLREDUCE_MSG_SIZE' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:710:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_COMM_SPLIT_USE_QSORT' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:728:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_DEBUG_HOLD' will never be 
NULL [-Waddress]
src/util/cvar/mpich_cvars.c:746:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_PROCTABLE_SIZE' will never be 
NULL [-Waddress]
src/util/cvar/mpich_cvars.c:764:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_PROCTABLE_PRINT' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:782:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ENABLE_COLL_FT_RET' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:800:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ABORT_ON_LEAKED_HANDLES' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:818:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CTXID_EAGER_SIZE' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:836:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ASYNC_PROGRESS' will never be 
NULL [-Waddress]
src/util/cvar/mpich_cvars.c:853:20: warning: assignment discards 'const' 
qualifier from pointer target type [enabled by default]
src/util/cvar/mpich_cvars.c:854:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_DEFAULT_THREAD_LEVEL' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:884:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_MEMDUMP' will never be NULL 
[-Waddress]
src/util/cvar/mpich_cvars.c:902:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_ERROR_CHECKING' will never be 
NULL [-Waddress]
src/util/cvar/mpich_cvars.c:920:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_PRINT_ERROR_STACK' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:938:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CHOP_ERROR_STACK' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:956:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_RMA_ACC_IMMED' will never 
be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:974:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_RMA_NREQUEST_THRESHOLD' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:992:5: warning: the comparison will always 
evaluate as 'true' for the address of 
'MPIR_CVAR_CH3_RMA_NREQUEST_NEW_THRESHOLD' will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1010:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_RMA_LOCK_IMMED' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1028:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_RMA_MERGE_LOCK_OP_UNLOCK' 
will never be NULL [-Waddress]
  FCLD     lib/libmpichf90.la
src/util/cvar/mpich_cvars.c:1046:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_NOLOCAL' will never be 
NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1070:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_ODD_EVEN_CLIQUES' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1094:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_INTERFACE_HOSTNAME' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1130:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_EAGER_MAX_MSG_SIZE' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1151:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_CH3_PORT_RANGE' will never be 
NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1181:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_NEMESIS_POLLS_BEFORE_YIELD' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1199:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_NEMESIS_LMT_DMA_THRESHOLD' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1216:20: warning: assignment discards 'const' 
qualifier from pointer target type [enabled by default]
src/util/cvar/mpich_cvars.c:1217:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_NEMESIS_NETMOD' will never be 
NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1247:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_NEMESIS_SHM_EAGER_MAX_SZ' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1265:5: warning: the comparison will always 
evaluate as 'true' for the address of 
'MPIR_CVAR_NEMESIS_SHM_READY_EAGER_MAX_SZ' will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1283:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_NEMESIS_ENABLE_CKPOINT' will 
never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1301:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_NEMESIS_TCP_NETWORK_IFACE' 
will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1337:5: warning: the comparison will always 
evaluate as 'true' for the address of 
'MPIR_CVAR_NEMESIS_TCP_HOST_LOOKUP_RETRIES' will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1355:5: warning: the comparison will always 
evaluate as 'true' for the address of 
'MPIR_CVAR_NEMESIS_PORTALS_COMM_OVERRIDES' will never be NULL [-Waddress]
src/util/cvar/mpich_cvars.c:1373:5: warning: the comparison will always 
evaluate as 'true' for the address of 'MPIR_CVAR_NAMESERV_FILE_PUBDIR' will 
never be NULL [-Waddress]
-- 
Antonio J. Peña
Postdoctoral Appointee
Mathematics and Computer Science Division
Argonne National Laboratory
9700 South Cass Avenue, Bldg. 240, Of. 3148
Argonne, IL 60439-4847
(+1) 630-252-7928
apenya at mcs.anl.gov
www.mcs.anl.gov/~apenya


More information about the devel mailing list