SOURCE=fileMonitor.C ; nvcc -Xptxas -dlcm=cg -m64 -gencode=arch=compute_61,code=sm_61 -arch=sm_61 -g -G -Dlinux64 -DWM_DP -Xcompiler -Wall -Xcompiler -Wextra -Xcompiler -Wno-unused-parameter -Xcompiler -Wno-vla -Xcudafe "--diag_suppress=null_reference" -Xcudafe "--diag_suppress=subscript_out_of_range" -Xcudafe "--diag_suppress=extra_semicolon" -Xcudafe "--diag_suppress=partial_override" -Xcudafe "--diag_suppress=implicit_return_from_non_void_function" -Xcudafe "--diag_suppress=virtual_function_decl_hidden" -O3 -DNoRepository -D__RESTRICT__='__restrict__' -IlnInclude -I. -I/opt/RapidCFD-dev/src/OpenFOAM/lnInclude -I/opt/RapidCFD-dev/src/OSspecific/POSIX/lnInclude -Xcompiler -fPIC -x cu -D__HOST____DEVICE__='__host__ __device__' -o Make/linux64NvccDPOpt/fileMonitor.o -c $SOURCE /opt/RapidCFD-dev/src/OpenFOAM/lnInclude/PackedListI.H: In instantiation of ‘unsigned int Foam::PackedList::iteratorBase::operator=(unsigned int) [with unsigned int nBits = 2]’: fileMonitor.C:535:68: required from here /opt/RapidCFD-dev/src/OpenFOAM/lnInclude/PackedListI.H:383:7: error: cannot call member function ‘void Foam::PackedList::resize(Foam::label, const unsigned int&) [with unsigned int nBits = 2; Foam::label = int]’ without object list_->resize(index_ + 1); ^ ~~~~~~~~~~~~ fileMonitor.dep:153: recipe for target 'Make/linux64NvccDPOpt/fileMonitor.o' failed make: *** [Make/linux64NvccDPOpt/fileMonitor.o] Error 1