remove warnings for greyscale

This commit is contained in:
JamesEMcclure 2020-04-02 10:55:04 -04:00
parent ce7d348a20
commit b4a51e266b

View File

@ -8,7 +8,7 @@
#include "common/ScaLBL.h" #include "common/ScaLBL.h"
#include "common/Communication.h" #include "common/Communication.h"
#include "common/MPI.h" #include "common/MPI_Helpers.h"
#include "models/GreyscaleModel.h" #include "models/GreyscaleModel.h"
//#define WRITE_SURFACES //#define WRITE_SURFACES
@ -33,8 +33,6 @@ int main(int argc, char **argv)
MPI_Comm_size(comm,&nprocs); MPI_Comm_size(comm,&nprocs);
{ {
// parallel domain size (# of sub-domains) // parallel domain size (# of sub-domains)
int nprocx,nprocy,nprocz;
int iproc,jproc,kproc;
if (rank == 0){ if (rank == 0){
printf("********************************************************\n"); printf("********************************************************\n");
@ -43,6 +41,7 @@ int main(int argc, char **argv)
} }
// Initialize compute device // Initialize compute device
int device=ScaLBL_SetDevice(rank); int device=ScaLBL_SetDevice(rank);
NULL_USE(device);
ScaLBL_DeviceBarrier(); ScaLBL_DeviceBarrier();
MPI_Barrier(comm); MPI_Barrier(comm);