Skip to content

Conversation

shijin-aws
Copy link

This fixes the compilation error on unused variable.

make[1]: Leaving directory '/home/ubuntu/PortaFiducia/build/workloads/imb/mpi-benchmarks/src_cpp'
../src_c/IMB_chk_diff.c: In function ‘IMB_chk_diff’:
../src_c/IMB_chk_diff.c:462:34: error: unused variable ‘rank’ [-Werror=unused-variable]
  462 |     int         j, j1, j2, ierr, rank, allpos;
      |                                  ^~~~
mpicc -g -O0 -Wall -Werror -DCHECK -Ihelpers -I../src_c -DNBC -I. -DNBC -c -o NBC/IMB_reduce.o ../src_c/IMB_reduce.

This fixes the compilation error on unused variable.

Signed-off-by: Shi Jin <sjina@amazon.com>
@shijin-aws
Copy link
Author

@JuliaRS can u take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant