-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi! I'm following instructions in the README, and first it's telling me that I need to add a flag to use deprecated Makefile to do the build in the README:
make -j KOKKOS_ARCH=SNB KOKKOS_DEVICES=Series KOKKOS_USE_DEPRECATED_MAKEFILES=1 CXX=mpicxx MPI=1
Whether I add it or not, I get this failure:
examinimd.cpp:384:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
384 | fread(idref.data(),sizeof(T_INT),n,fpref);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
examinimd.cpp:385:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
385 | fread(typeref.data(),sizeof(T_INT),n,fpref);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
examinimd.cpp:386:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
386 | fread(qref.data(),sizeof(T_FLOAT),n,fpref);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
examinimd.cpp:387:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
387 | fread(xref.data(),sizeof(T_X_FLOAT),3*n,fpref);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
examinimd.cpp:388:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
388 | fread(vref.data(),sizeof(T_V_FLOAT),3*n,fpref);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
examinimd.cpp:389:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
389 | fread(fref.data(),sizeof(T_F_FLOAT),3*n,fpref);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/opt/examinimd/src'
make: *** [Makefile:4: default] Error 2
root@63524eb6db4e:/opt/examinimd#
Do you have a reproducible build? Thanks!
Metadata
Metadata
Assignees
Labels
No labels