Replies: 2 comments 10 replies
-
Are there no other error messages during the build? It looks like occa cannot be build successfully. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Can you please run |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Very new to nekRS so I am having difficulties here. Is there an exhaustive list of 3rd party utilities we need to install?
here is the nature of the error which comes at the end of building nekrs.
I run ./nrsconfig:
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP_Fortran: -fopenmp (found version "4.5")
fatal: not a git repository (or any of the parent directories): .git
-- Using CMake version 3.25.0
-- System : Linux-5.15.0-52-generic
-- Build type : RelWithDebInfo
-- C flags : -Wall -Wextra -Wunused-function -Wunused-variable -Wwrite-strings -Wfloat-equal -Wcast-align -Wlogical-op -Wshadow -Wno-c++11-long-long -fopenmp -O2 -g -march=native -mtune=native -ftree-vectorize
-- CXX flags : -Wall -Wextra -Wunused-function -Wunused-variable -Wwrite-strings -Wfloat-equal -Wcast-align -Wlogical-op -Wshadow -Wno-unused-parameter -fopenmp -fno-strict-aliasing -O2 -g -march=native -mtune=native -ftree-vectorize
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP_Fortran: -fopenmp (found version "4.5")
-- OpenMP include dirs:
-- OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/9/libgomp.so
-- Found CUDA: /usr/local/cuda (found version "11.8")
-- Found CUDA: /usr/local/cuda (found version "11.8")
-- Could NOT find HIP (missing: HIP_ROOT_DIR HIP_INCLUDE_DIRS HIP_LIBRARIES HIP_RUNTIME_DEFINE HIP_HIPCONFIG_EXECUTABLE HIP_PLATFORM HIP_COMPILER)
-- MPI include dirs:
-- MPI libraries:
-- MPI link flags:
-- MPI executable: /usr/bin/mpiexec
-- MPI numproc flag: -n
-- Found MPI_UNDERLYING_COMPILER: /usr/bin/g++
----------------- Summary -----------------
Installation directory: /home/daniel/.local/nekrs
C compiler: /usr/bin/mpicc
C++ compiler: /usr/bin/mpic++
Fortran compiler: /usr/bin/mpif77
Default backend : CUDA
CPU backend compiler: g++ (flags: -O3 -g -march=native -mtune=native)
NVIDIA CUDA backend enabled (flags: -O3 --fmad=true -lineinfo)
GPU aware MPI support enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/daniel/nekRS-22.0/build
--> Now just run
cmake --build ./build --target install -j8
and running cmake to build nekrs I get the following errors:
/usr/bin/ld: libnekrs.so: undefined reference to
occa::device::setup(occa::properties const&)' /usr/bin/ld: libnekrs.so: undefined reference to
occa::memory::copyTo(occa::memory, long, long, long, occa::properties const&) const'/usr/bin/ld: libnekrs.so: undefined reference to
occa::memory occa::device::malloc<void>(long, occa::properties const&)' /usr/bin/ld: libnekrs.so: undefined reference to
occa::memory::copyTo(void*, long, long, occa::properties const&) const'/usr/bin/ld: libnekrs.so: undefined reference to
occa::properties::~properties()' /usr/bin/ld: libnekrs.so: undefined reference to
occa::kernelArg::kernelArg(double)'I can't seem to figure out why I have these issues. I have
MPI 3.3.2
CUDA 11.8
gcc 9.4.0
ubuntu 20.04LTS
Thanks,
Daniel
Beta Was this translation helpful? Give feedback.
All reactions