You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that compilation of models with --enable-debug is currently not working. The error provided is:
C++ cross.cpp
In file included from SolidGrid.h:5,
from SolidContainer.h:7,
from LatticeContainer.h:12,
from cross.cpp:5:
cross.cpp: In function ‘int cudaPreAlloc(void**, size_t)’:
cross.h:250:33: error: void value not ignored as it ought to be
250 | #define CudaMalloc(a__,b__) assert( (*((void**)(a__)) = malloc(b__)) != NULL )
| ^~~~~~
cross.cpp:125:33: note: in expansion of macro ‘CudaMalloc’
125 | CudaError ret = CudaMalloc(ptr, size);
| ^~~~~~~~~~
make[1]: *** [makefile:44: cross.o] Error 1
make[1]: Leaving directory '/####/CLB/d2q9'
make: *** [makefile.main:23184: CLB/d2q9/main] Error 2
@llaniewski as discussed here is the record for issue to be fixed today-ish.
The text was updated successfully, but these errors were encountered:
I found that compilation of models with --enable-debug is currently not working. The error provided is:
C++ cross.cpp
In file included from SolidGrid.h:5,
from SolidContainer.h:7,
from LatticeContainer.h:12,
from cross.cpp:5:
cross.cpp: In function ‘int cudaPreAlloc(void**, size_t)’:
cross.h:250:33: error: void value not ignored as it ought to be
250 | #define CudaMalloc(a__,b__) assert( (*((void**)(a__)) = malloc(b__)) != NULL )
| ^~~~~~
cross.cpp:125:33: note: in expansion of macro ‘CudaMalloc’
125 | CudaError ret = CudaMalloc(ptr, size);
| ^~~~~~~~~~
make[1]: *** [makefile:44: cross.o] Error 1
make[1]: Leaving directory '/####/CLB/d2q9'
make: *** [makefile.main:23184: CLB/d2q9/main] Error 2
@llaniewski as discussed here is the record for issue to be fixed today-ish.
The text was updated successfully, but these errors were encountered: