Bug 1379304

Summary: Warings like IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable] during rpmbuiding
Product: Red Hat Enterprise Linux 7 Reporter: zguo <zguo>
Component: mpitestsAssignee: Michal Schmidt <mschmidt>
Status: CLOSED WONTFIX QA Contact: Infiniband QE <infiniband-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.3CC: bhu, jshortt, rdma-dev-team
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:46:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description zguo 2016-09-26 10:35:38 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. [root@rdma-dev-01 ~]$ rpmbuild --rebuild mpitests-4.1-1.el7.src.rpm 
2.
3.

Actual results:
+ do_build
+ mkdir .mvapich2-2.2-psm-x86_64
+ cp -al imb osu-micro-benchmarks-5.3 .mvapich2-2.2-psm-x86_64
+ cd .mvapich2-2.2-psm-x86_64/imb/src
+ make -f make_mpich 'OPTFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic' IMB-MPI1 IMB-EXT IMB-IO
sleep 1; touch exe_mpi1 *.c; rm -rf exe_io exe_ext  exe_nbc exe_rma
make -f Makefile.base MPI1 CPP=MPI1
make[1]: Entering directory `/root/rpmbuild/BUILD/mpitests-4.1/.mvapich2-2.2-psm-x86_64/imb/src'
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB.c
IMB.c: In function 'main':
IMB.c:126:10: warning: unused variable 'mem_ok' [-Wunused-variable]
     int  mem_ok;
          ^
IMB.c:122:18: warning: unused variable 'n_sample' [-Wunused-variable]
     int x_sample,n_sample;            
                  ^
IMB.c:122:9: warning: unused variable 'x_sample' [-Wunused-variable]
     int x_sample,n_sample;            
         ^
IMB.c:115:9: warning: unused variable 'i' [-Wunused-variable]
     int i,j,iter,imod,ierr;
         ^
In file included from IMB.c:70:0:
IMB.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_declare.c
In file included from IMB_comm_info.h:69:0,
                 from IMB_declare.c:75:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_init.c
In file included from IMB_init.c:89:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
IMB_init.c: In function 'IMB_basic_input':
IMB_init.c:805:38: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
                         c_info->sync = val;
                                      ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_mem_manager.c
In file included from IMB_mem_manager.c:84:0:
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_parse_name_mpi1.c
In file included from IMB_parse_name_mpi1.c:73:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_benchlist.c
In file included from IMB_benchlist.c:78:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_strgs.c
IMB_strgs.c: In function 'IMB_str_atoi':
IMB_strgs.c:170:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     for(i=0; s[i] >= '0' && s[i] <= '9' || s[i]==' '; ++i)
                          ^
In file included from IMB_strgs.c:77:0:
IMB_strgs.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_err_handler.c
In file included from IMB_err_handler.c:80:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_g_info.c
IMB_g_info.c: In function 'IMB_make_sys_info':
IMB_g_info.c:147:7: warning: variable 'dont_care' set but not used [-Wunused-but-set-variable]
   int dont_care, mpi_subversion, mpi_version;
       ^
In file included from IMB_g_info.c:78:0:
IMB_g_info.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_warm_up.c
In file included from IMB_warm_up.c:72:0:
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_output.c
IMB_output.c: In function 'IMB_output':
IMB_output.c:174:9: warning: unused variable 'li_len' [-Wunused-variable]
     int li_len;
         ^
IMB_output.c: In function 'IMB_display_times':
IMB_output.c:313:9: warning: unused variable 'i' [-Wunused-variable]
     int i, offset = 0, peers;
         ^
IMB_output.c: In function 'IMB_show_procids':
IMB_output.c:699:20: warning: unused variable 'k' [-Wunused-variable]
     int ip, py, i, k, idle;
                    ^
IMB_output.c: In function 'IMB_print_array':
IMB_output.c:790:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j;
           ^
IMB_output.c: In function 'IMB_print_int_row':
IMB_output.c:877:16: warning: variable 'irest' set but not used [-Wunused-but-set-variable]
     int i,j,i0,irest;
                ^
IMB_output.c: In function 'IMB_print_header':
IMB_output.c:1053:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while (token = strtok(help, "&"))
     ^
In file included from IMB_output.c:84:0:
IMB_output.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_pingpong.c
In file included from IMB_pingpong.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_pingpong.c: In function 'IMB_pingpong':
IMB_pingpong.c:197:21: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
      ierr = MPI_Recv((char*)c_info->r_buffer+i%ITERATIONS->r_cache_iter*ITERATIONS->r_offs,
                     ^
IMB_pingpong.c:168:21: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
      ierr = MPI_Send((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                     ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_pingping.c
In file included from IMB_pingping.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_pingping.c: In function 'IMB_pingping':
IMB_pingping.c:176:19: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
    ierr = MPI_Recv((char*)c_info->r_buffer+i%ITERATIONS->r_cache_iter*ITERATIONS->r_offs,
                   ^
IMB_pingping.c:171:19: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
    ierr= MPI_Isend((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                   ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_allreduce.c
In file included from IMB_allreduce.c:74:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_allreduce.c: In function 'IMB_allreduce':
IMB_allreduce.c:158:31: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
           ierr = MPI_Allreduce((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                               ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_reduce_scatter.c
In file included from IMB_reduce_scatter.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_reduce.c
In file included from IMB_reduce.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_reduce.c: In function 'IMB_reduce':
IMB_reduce.c:156:30: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
             ierr = MPI_Reduce((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                              ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_exchange.c
In file included from IMB_exchange.c:70:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_exchange.c: In function 'IMB_exchange':
IMB_exchange.c:179:22: warning: 'left' may be used uninitialized in this function [-Wmaybe-uninitialized]
        ierr= MPI_Recv( (char*)c_info->r_buffer+i%ITERATIONS->r_cache_iter*ITERATIONS->r_offs,
                      ^
IMB_exchange.c:189:22: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
        ierr= MPI_Recv( (char*)c_info->r_buffer+i%ITERATIONS->r_cache_iter*ITERATIONS->r_offs,
                      ^
IMB_exchange.c:170:23: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
        ierr= MPI_Isend((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                       ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_bcast.c
In file included from IMB_bcast.c:74:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_bcast.c: In function 'IMB_bcast':
IMB_bcast.c:161:28: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
             ierr= MPI_Bcast((char*)bc_buf+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_barrier.c
In file included from IMB_barrier.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_allgather.c
In file included from IMB_allgather.c:68:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_allgather.c: In function 'IMB_allgather':
IMB_allgather.c:154:31: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
           ierr = MPI_Allgather((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                               ^
IMB_allgather.c:154:31: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_allgatherv.c
In file included from IMB_allgatherv.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_allgatherv.c: In function 'IMB_allgatherv':
IMB_allgatherv.c:134:14: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int s_num, r_num;
              ^
IMB_allgatherv.c:166:32: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
           ierr = MPI_Allgatherv((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                                ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_gather.c
In file included from IMB_gather.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_gather.c: In function 'IMB_gather':
IMB_gather.c:155:31: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
             ierr = MPI_Gather ((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                               ^
IMB_gather.c:155:31: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_gatherv.c
In file included from IMB_gatherv.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_gatherv.c: In function 'IMB_gatherv':
IMB_gatherv.c:129:14: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int s_num, r_num;
              ^
IMB_gatherv.c:162:31: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
             ierr = MPI_Gatherv((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                               ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_scatter.c
In file included from IMB_scatter.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_scatter.c: In function 'IMB_scatter':
IMB_scatter.c:156:29: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
           ierr = MPI_Scatter((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                             ^
IMB_scatter.c:156:29: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_scatterv.c
In file included from IMB_scatterv.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_scatterv.c: In function 'IMB_scatterv':
IMB_scatterv.c:164:30: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
           ierr = MPI_Scatterv((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                              ^
IMB_scatterv.c:128:7: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int s_num, r_num;
       ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_alltoall.c
In file included from IMB_alltoall.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_alltoall.c: In function 'IMB_alltoall':
IMB_alltoall.c:160:30: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
           ierr = MPI_Alltoall((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                              ^
IMB_alltoall.c:160:30: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_alltoallv.c
In file included from IMB_alltoallv.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_alltoallv.c: In function 'IMB_alltoallv':
IMB_alltoallv.c:134:19: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int    s_num, r_num;
                   ^
IMB_alltoallv.c:134:12: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int    s_num, r_num;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_sendrecv.c
In file included from IMB_sendrecv.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_sendrecv.c: In function 'IMB_sendrecv':
IMB_sendrecv.c:164:22: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
    ierr= MPI_Sendrecv((char*)c_info->s_buffer+i%ITERATIONS->s_cache_iter*ITERATIONS->s_offs,
                      ^
IMB_sendrecv.c:164:22: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_init_transfer.c
In file included from IMB_init_transfer.c:74:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_chk_diff.c
In file included from IMB_chk_diff.c:84:0:
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_cpu_exploit.c
In file included from IMB_cpu_exploit.c:70:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPI1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_bandwidth.c
In file included from IMB_bandwidth.c:68:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -o IMB-MPI1 IMB.o IMB_declare.o  IMB_init.o IMB_mem_manager.o IMB_parse_name_mpi1.o  IMB_benchlist.o IMB_strgs.o IMB_err_handler.o IMB_g_info.o  IMB_warm_up.o IMB_output.o IMB_pingpong.o IMB_pingping.o IMB_allreduce.o IMB_reduce_scatter.o IMB_reduce.o IMB_exchange.o IMB_bcast.o IMB_barrier.o IMB_allgather.o IMB_allgatherv.o IMB_gather.o IMB_gatherv.o IMB_scatter.o IMB_scatterv.o IMB_alltoall.o IMB_alltoallv.o IMB_sendrecv.o IMB_init_transfer.o  IMB_chk_diff.o IMB_cpu_exploit.o IMB_bandwidth.o   
make[1]: Leaving directory `/root/rpmbuild/BUILD/mpitests-4.1/.mvapich2-2.2-psm-x86_64/imb/src'
sleep 1; touch exe_ext *.c; rm -rf exe_io exe_mpi1  exe_nbc exe_rma
make -f Makefile.base EXT CPP=EXT
make[1]: Entering directory `/root/rpmbuild/BUILD/mpitests-4.1/.mvapich2-2.2-psm-x86_64/imb/src'
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB.c
IMB.c: In function 'main':
IMB.c:126:10: warning: unused variable 'mem_ok' [-Wunused-variable]
     int  mem_ok;
          ^
IMB.c:122:18: warning: unused variable 'n_sample' [-Wunused-variable]
     int x_sample,n_sample;            
                  ^
IMB.c:122:9: warning: unused variable 'x_sample' [-Wunused-variable]
     int x_sample,n_sample;            
         ^
IMB.c:115:9: warning: unused variable 'i' [-Wunused-variable]
     int i,j,iter,imod,ierr;
         ^
In file included from IMB.c:70:0:
IMB.c: At top level:
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_declare.c
In file included from IMB_comm_info.h:69:0,
                 from IMB_declare.c:75:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_init.c
In file included from IMB_init.c:89:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
IMB_init.c:226:12: warning: 'IMB_chk_arg_switch' defined but not used [-Wunused-function]
 int static IMB_chk_arg_switch (char *val) 
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_mem_manager.c
IMB_mem_manager.c: In function 'IMB_alloc_buf':
IMB_mem_manager.c:218:9: warning: variable 'ierr' set but not used [-Wunused-but-set-variable]
     int ierr;
         ^
In file included from IMB_mem_manager.c:84:0:
IMB_mem_manager.c: At top level:
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_benchlist.c
In file included from IMB_benchlist.c:78:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_parse_name_ext.c
In file included from IMB_parse_name_ext.c:75:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_strgs.c
IMB_strgs.c: In function 'IMB_str_atoi':
IMB_strgs.c:170:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     for(i=0; s[i] >= '0' && s[i] <= '9' || s[i]==' '; ++i)
                          ^
In file included from IMB_strgs.c:77:0:
IMB_strgs.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_err_handler.c
In file included from IMB_err_handler.c:80:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_g_info.c
IMB_g_info.c: In function 'IMB_make_sys_info':
IMB_g_info.c:147:7: warning: variable 'dont_care' set but not used [-Wunused-but-set-variable]
   int dont_care, mpi_subversion, mpi_version;
       ^
In file included from IMB_g_info.c:78:0:
IMB_g_info.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_warm_up.c
In file included from IMB_warm_up.c:72:0:
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_output.c
IMB_output.c: In function 'IMB_output':
IMB_output.c:174:9: warning: unused variable 'li_len' [-Wunused-variable]
     int li_len;
         ^
IMB_output.c: In function 'IMB_display_times':
IMB_output.c:313:9: warning: unused variable 'i' [-Wunused-variable]
     int i, offset = 0, peers;
         ^
IMB_output.c: In function 'IMB_show_procids':
IMB_output.c:699:20: warning: unused variable 'k' [-Wunused-variable]
     int ip, py, i, k, idle;
                    ^
IMB_output.c: In function 'IMB_print_array':
IMB_output.c:790:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j;
           ^
IMB_output.c: In function 'IMB_print_int_row':
IMB_output.c:877:16: warning: variable 'irest' set but not used [-Wunused-but-set-variable]
     int i,j,i0,irest;
                ^
IMB_output.c: In function 'IMB_print_header':
IMB_output.c:1053:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while (token = strtok(help, "&"))
     ^
In file included from IMB_output.c:84:0:
IMB_output.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_window.c
IMB_window.c: In function 'IMB_window':
IMB_window.c:120:13: warning: unused variable 'dum' [-Wunused-variable]
   int    i, dum;
             ^
In file included from IMB_window.c:72:0:
IMB_window.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_ones_unidir.c
IMB_ones_unidir.c: In function 'IMB_unidir_put':
IMB_ones_unidir.c:141:14: warning: unused variable 'stat' [-Wunused-variable]
   MPI_Status stat;
              ^
IMB_ones_unidir.c:140:13: warning: unused variable 'source' [-Wunused-variable]
   int dest, source,sender;
             ^
IMB_ones_unidir.c:136:14: warning: unused variable 't2' [-Wunused-variable]
   double t1, t2;
              ^
IMB_ones_unidir.c:136:10: warning: unused variable 't1' [-Wunused-variable]
   double t1, t2;
          ^
IMB_ones_unidir.c: In function 'IMB_unidir_get':
IMB_ones_unidir.c:229:14: warning: unused variable 'stat' [-Wunused-variable]
   MPI_Status stat;
              ^
IMB_ones_unidir.c:228:7: warning: unused variable 'ierr' [-Wunused-variable]
   int ierr;
       ^
IMB_ones_unidir.c:227:13: warning: unused variable 'source' [-Wunused-variable]
   int dest, source,sender;
             ^
IMB_ones_unidir.c:223:14: warning: unused variable 't2' [-Wunused-variable]
   double t1, t2;
              ^
IMB_ones_unidir.c:223:10: warning: unused variable 't1' [-Wunused-variable]
   double t1, t2;
          ^
IMB_ones_unidir.c: In function 'IMB_ones_get':
IMB_ones_unidir.c:331:8: warning: variable 'ierr' set but not used [-Wunused-but-set-variable]
 int i, ierr;
        ^
IMB_ones_unidir.c: In function 'IMB_ones_mget':
IMB_ones_unidir.c:451:8: warning: variable 'ierr' set but not used [-Wunused-but-set-variable]
 int i, ierr;
        ^
IMB_ones_unidir.c: In function 'IMB_ones_put':
IMB_ones_unidir.c:561:7: warning: variable 'recv' set but not used [-Wunused-but-set-variable]
 char* recv;
       ^
IMB_ones_unidir.c:560:8: warning: variable 'ierr' set but not used [-Wunused-but-set-variable]
 int i, ierr, r_size;
        ^
IMB_ones_unidir.c: In function 'IMB_ones_mput':
IMB_ones_unidir.c:683:14: warning: variable 'recv' set but not used [-Wunused-but-set-variable]
 char* send, *recv;
              ^
IMB_ones_unidir.c:682:8: warning: variable 'ierr' set but not used [-Wunused-but-set-variable]
 int i, ierr;
        ^
In file included from IMB_ones_unidir.c:77:0:
IMB_ones_unidir.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_ones_unidir.c: In function 'IMB_unidir_get':
IMB_ones_unidir.c:264:19: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
      IMB_ones_mget( c_info,
                   ^
IMB_ones_unidir.c:264:19: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
IMB_ones_unidir.c: In function 'IMB_unidir_put':
IMB_ones_unidir.c:175:19: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
      IMB_ones_mput( c_info,
                   ^
IMB_ones_unidir.c:175:19: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_ones_bidir.c
IMB_ones_bidir.c: In function 'IMB_bidir_get':
IMB_ones_bidir.c:136:14: warning: unused variable 'stat' [-Wunused-variable]
   MPI_Status stat;
              ^
IMB_ones_bidir.c:135:13: warning: unused variable 'source' [-Wunused-variable]
   int dest, source,sender;
             ^
IMB_ones_bidir.c:131:14: warning: unused variable 't2' [-Wunused-variable]
   double t1, t2;
              ^
IMB_ones_bidir.c:131:10: warning: unused variable 't1' [-Wunused-variable]
   double t1, t2;
          ^
IMB_ones_bidir.c: In function 'IMB_bidir_put':
IMB_ones_bidir.c:222:14: warning: unused variable 'stat' [-Wunused-variable]
   MPI_Status stat;
              ^
IMB_ones_bidir.c:221:7: warning: unused variable 'ierr' [-Wunused-variable]
   int ierr;
       ^
IMB_ones_bidir.c:220:13: warning: unused variable 'source' [-Wunused-variable]
   int dest, source,sender;
             ^
IMB_ones_bidir.c:216:14: warning: unused variable 't2' [-Wunused-variable]
   double t1, t2;
              ^
IMB_ones_bidir.c:216:10: warning: unused variable 't1' [-Wunused-variable]
   double t1, t2;
          ^
In file included from IMB_ones_bidir.c:86:0:
IMB_ones_bidir.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_ones_bidir.c: In function 'IMB_bidir_get':
IMB_ones_bidir.c:169:19: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
      IMB_ones_mget( c_info,
                   ^
IMB_ones_bidir.c:169:19: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
IMB_ones_bidir.c: In function 'IMB_bidir_put':
IMB_ones_bidir.c:257:19: warning: 'r_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
      IMB_ones_mput( c_info,
                   ^
IMB_ones_bidir.c:257:19: warning: 's_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_ones_accu.c
IMB_ones_accu.c: In function 'IMB_accumulate':
IMB_ones_accu.c:143:14: warning: unused variable 'stat' [-Wunused-variable]
   MPI_Status stat;
              ^
IMB_ones_accu.c:141:21: warning: variable 'root' set but not used [-Wunused-but-set-variable]
   int dest, source, root;
                     ^
IMB_ones_accu.c:141:13: warning: unused variable 'source' [-Wunused-variable]
   int dest, source, root;
             ^
IMB_ones_accu.c:141:7: warning: unused variable 'dest' [-Wunused-variable]
   int dest, source, root;
       ^
IMB_ones_accu.c:140:14: warning: unused variable 'r_tag' [-Wunused-variable]
   int s_tag, r_tag;
              ^
IMB_ones_accu.c:140:7: warning: unused variable 's_tag' [-Wunused-variable]
   int s_tag, r_tag;
       ^
IMB_ones_accu.c:133:14: warning: unused variable 't2' [-Wunused-variable]
   double t1, t2;
              ^
IMB_ones_accu.c:133:10: warning: unused variable 't1' [-Wunused-variable]
   double t1, t2;
          ^
In file included from IMB_ones_accu.c:74:0:
IMB_ones_accu.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_init_transfer.c
IMB_init_transfer.c: In function 'IMB_init_transfer':
IMB_init_transfer.c:218:9: warning: variable 'ierr' set but not used [-Wunused-but-set-variable]
     int ierr;
         ^
In file included from IMB_init_transfer.c:74:0:
IMB_init_transfer.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_user_set_info.c
In file included from IMB_user_set_info.c:74:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DEXT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_chk_diff.c
In file included from IMB_chk_diff.c:84:0:
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -o IMB-EXT IMB.o IMB_declare.o  IMB_init.o  IMB_mem_manager.o IMB_benchlist.o IMB_parse_name_ext.o IMB_strgs.o IMB_err_handler.o IMB_g_info.o  IMB_warm_up.o IMB_output.o IMB_window.o IMB_ones_unidir.o IMB_ones_bidir.o IMB_ones_accu.o IMB_init_transfer.o IMB_user_set_info.o IMB_chk_diff.o    
make[1]: Leaving directory `/root/rpmbuild/BUILD/mpitests-4.1/.mvapich2-2.2-psm-x86_64/imb/src'
touch exe_io *.c; rm -rf exe_ext exe_mpi1 exe_nbc exe_rma
make -f Makefile.base IO CPP=MPIIO
make[1]: Entering directory `/root/rpmbuild/BUILD/mpitests-4.1/.mvapich2-2.2-psm-x86_64/imb/src'
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB.c
IMB.c: In function 'main':
IMB.c:126:10: warning: unused variable 'mem_ok' [-Wunused-variable]
     int  mem_ok;
          ^
IMB.c:122:18: warning: unused variable 'n_sample' [-Wunused-variable]
     int x_sample,n_sample;            
                  ^
IMB.c:122:9: warning: unused variable 'x_sample' [-Wunused-variable]
     int x_sample,n_sample;            
         ^
IMB.c:115:9: warning: unused variable 'i' [-Wunused-variable]
     int i,j,iter,imod,ierr;
         ^
In file included from IMB.c:70:0:
IMB.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_declare.c
In file included from IMB_comm_info.h:69:0,
                 from IMB_declare.c:75:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_init.c
In file included from IMB_init.c:89:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
IMB_init.c:226:12: warning: 'IMB_chk_arg_switch' defined but not used [-Wunused-function]
 int static IMB_chk_arg_switch (char *val) 
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_mem_manager.c
IMB_mem_manager.c: In function 'IMB_alloc_buf':
IMB_mem_manager.c:218:9: warning: variable 'ierr' set but not used [-Wunused-but-set-variable]
     int ierr;
         ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_init_file.c
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_benchlist.c
In file included from IMB_benchlist.c:78:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_parse_name_io.c
In file included from IMB_parse_name_io.c:75:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_strgs.c
IMB_strgs.c: In function 'IMB_str_atoi':
IMB_strgs.c:170:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     for(i=0; s[i] >= '0' && s[i] <= '9' || s[i]==' '; ++i)
                          ^
In file included from IMB_strgs.c:77:0:
IMB_strgs.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_user_set_info.c
In file included from IMB_user_set_info.c:74:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_cpu_exploit.c
In file included from IMB_cpu_exploit.c:70:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_err_handler.c
In file included from IMB_err_handler.c:80:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_g_info.c
IMB_g_info.c: In function 'IMB_make_sys_info':
IMB_g_info.c:147:7: warning: variable 'dont_care' set but not used [-Wunused-but-set-variable]
   int dont_care, mpi_subversion, mpi_version;
       ^
In file included from IMB_g_info.c:78:0:
IMB_g_info.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_warm_up.c
IMB_warm_up.c: In function 'IMB_warm_up':
IMB_warm_up.c:125:18: warning: variable 'MD' set but not used [-Wunused-but-set-variable]
     struct cmode MD;
                  ^
In file included from IMB_warm_up.c:72:0:
IMB_warm_up.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_output.c
IMB_output.c: In function 'IMB_output':
IMB_output.c:174:9: warning: unused variable 'li_len' [-Wunused-variable]
     int li_len;
         ^
IMB_output.c: In function 'IMB_display_times':
IMB_output.c:313:24: warning: unused variable 'peers' [-Wunused-variable]
     int i, offset = 0, peers;
                        ^
IMB_output.c:313:9: warning: unused variable 'i' [-Wunused-variable]
     int i, offset = 0, peers;
         ^
IMB_output.c: In function 'IMB_show_procids':
IMB_output.c:699:20: warning: unused variable 'k' [-Wunused-variable]
     int ip, py, i, k, idle;
                    ^
IMB_output.c: In function 'IMB_print_array':
IMB_output.c:790:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j;
           ^
IMB_output.c: In function 'IMB_print_int_row':
IMB_output.c:877:16: warning: variable 'irest' set but not used [-Wunused-but-set-variable]
     int i,j,i0,irest;
                ^
IMB_output.c: In function 'IMB_print_header':
IMB_output.c:1053:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while (token = strtok(help, "&"))
     ^
In file included from IMB_output.c:84:0:
IMB_output.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_open_close.c
In file included from IMB_open_close.c:72:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_write.c
IMB_write.c: In function 'IMB_write_ij':
IMB_write.c:320:20: warning: assignment from incompatible pointer type [enabled by default]
     GEN_File_write = MPI_File_write_all;
                    ^
IMB_write.c:321:27: warning: assignment from incompatible pointer type [enabled by default]
     GEN_File_write_shared = MPI_File_write_ordered;
                           ^
IMB_write.c:322:23: warning: assignment from incompatible pointer type [enabled by default]
     GEN_File_write_at = MPI_File_write_at_all;
                       ^
IMB_write.c:329:20: warning: assignment from incompatible pointer type [enabled by default]
     GEN_File_write = MPI_File_write;
                    ^
IMB_write.c:330:27: warning: assignment from incompatible pointer type [enabled by default]
     GEN_File_write_shared = MPI_File_write_shared;
                           ^
IMB_write.c:331:23: warning: assignment from incompatible pointer type [enabled by default]
     GEN_File_write_at = MPI_File_write_at;
                       ^
IMB_write.c:290:23: warning: unused variable 'Ioffs' [-Wunused-variable]
 int Locsize,Totalsize,Ioffs;
                       ^
IMB_write.c: In function 'IMB_iwrite_ij':
IMB_write.c:433:23: warning: unused variable 'Ioffs' [-Wunused-variable]
 int Locsize,Totalsize,Ioffs;
                       ^
In file included from IMB_write.c:75:0:
IMB_write.c: At top level:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_read.c
In file included from IMB_read.c:74:0:
IMB_declare.h:193:12: warning: 'asize' defined but not used [-Wunused-variable]
 static int asize = (int) sizeof(assign_type);
            ^
mpicc   -DMPIIO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c IMB_init_transfer.c
IMB_init_transfer.c: In function 'IMB_init_transfer':
IMB_init_transfer.c:128:21: warning: unused variable 'mod' [-Wunused-variable]
     int ne, baslen, mod;
                     ^
IMB_init_transfer.c:128:9: warning: unused variable 'ne' [-Wunused-variable]
     int ne, baslen, mod;
         ^
In file included from IMB_init_transfer.c:74:0:
IMB_init_transfer.c: At top level:
IMB_declare.h:194:12: warning: 'ierr' defined but not used [-Wunused-variable]
 static int ierr;


Expected results:

Expect no these warnings

Additional info:

Comment 2 RHEL Program Management 2020-12-15 07:46:26 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.