Skip to content

cmake instructions? #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vsoch opened this issue Apr 28, 2025 · 0 comments
Open

cmake instructions? #40

vsoch opened this issue Apr 28, 2025 · 0 comments

Comments

@vsoch
Copy link

vsoch commented Apr 28, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant