diff --git a/src/GPU/check_for_gpu.F90 b/src/GPU/check_for_gpu.F90 index eeede0e0afb429930bd9520af3c0da873e6328dc..e95734fb2667e6bf7770613a034be48ef56f8936 100644 --- a/src/GPU/check_for_gpu.F90 +++ b/src/GPU/check_for_gpu.F90 @@ -62,17 +62,17 @@ module mod_check_for_gpu gpuAvailable = .false. - if(cublasHandle .ne. -1) then - gpuAvailable = .true. - numberOfDevices = -1 - if(myid == 0) then + if (cublasHandle .ne. -1) then + gpuAvailable = .true. + numberOfDevices = -1 + if (myid == 0) then print *, "Skipping GPU init, should have already been initialized " - endif - return + endif + return else - if(myid == 0) then - print *, "Initializing the GPU devices" - endif + if (myid == 0) then + print *, "Initializing the GPU devices" + endif endif if (.not.(present(wantDebug))) then