     PROFILE_CUDA_GROUP("cudaclaw_step2_batch",1);
 
     size_t size, bytes, bytes_per_thread;
+    float bytes_kb;
     int I_q, I_aux, mwork;
     int i;
 

                                    cudaGetErrorString(code));
            fclaw_global_essentialf("    Most likely, too many threads per block were launched.  Set configure flag -DFC2D_CUDACLAW_BLOCK_SIZE=NNN\n");
            fclaw_global_essentialf("    where NNN is a multiple of 32 smaller than %d. " \
                                    "Do a clean build of the code and try again.\n\n", FC2D_CUDACLAW_BLOCK_SIZE);   
            exit(code);
        }
    }

        dim3 grid(1,1,batch_size);

        /* Determine shared memory size */
        mwork = 9*meqn + 9*maux + mwaves + meqn*mwaves;
        bytes_per_thread = sizeof(double)*mwork;
        bytes = bytes_per_thread*block_size;

        bytes_kb = bytes/1024.0;
        //fclaw_global_essentialf("[fclaw] Shared memory  : %0.2f kb\n\n",bytes_kb);

        cudaclaw_flux2_and_update_batch<<<grid,block,bytes>>>(mx,my,meqn,mbc,maux,mwaves,
                                                              mwork, dt,t,
