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
When I run cmake, I get a warning that BUILD_STEPS and CXX_FLAGS were not used by the project. Here are the flags I used: cmake -DFFTW_ROOT=${HOME}/usr/fftw-3.3.6-pl2 -DFFTW_USE_STATIC_LIBS=true -DCUDA_ROOT=/public/apps/cuda/8.0 -DBUILD_GPU=true -DBUILD_STEPS=true -DCXX_FLAGS="-O3" -DBUILD_SHARED=false ..
When I try to make, it detects C and CXX compiler as GNU 4.4.7 but I have loaded the gcc 5.1.0 module.
It continues fine until this happens:
Scanning dependencies of target step1_gpu [ 92%] Building CXX object steps/step1/CMakeFiles/step1_gpu.dir/step1_gpu.cpp.o Scanning dependencies of target step1_gpuf [ 94%] Building CXX object steps/step1/CMakeFiles/step1_gpuf.dir/step1_gpuf.cpp.o [ 97%] Linking CXX executable step1_gpu [100%] Linking CXX executable step1_gpuf /home/kmoats/usr/fftw-3.3.6-pl2/lib/libfftw3_threads.a(libfftw3_threads_la-threads.o): In function fftw_threads_register_planner_hooks':
threads.c:(.text+0x5d4): undefined reference to fftw_set_planner_hooks' collect2: error: ld returned 1 exit status make[2]: *** [steps/step1/step1_gpu] Error 1 make[1]: *** [steps/step1/CMakeFiles/step1_gpu.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/kmoats/usr/fftw-3.3.6-pl2/lib/libfftw3_threads.a(libfftw3_threads_la-threads.o): In function fftw_threads_register_planner_hooks':
threads.c:(.text+0x5d4): undefined reference to fftw_set_planner_hooks' collect2: error: ld returned 1 exit status make[2]: *** [steps/step1/step1_gpuf] Error 1 make[1]: *** [steps/step1/CMakeFiles/step1_gpuf.dir/all] Error 2 make: *** [all] Error 2
I attached the output from "make VERBOSE=2". Thanks for the help. verbose.txt
The text was updated successfully, but these errors were encountered:
Switching libfftw3.a libfftw3_threads.a to libfftw3_threads.a libfftw3.a should resolve the fftw_set_planner_hooks function used by fftw_threads_register_planner_hooks.
First, I see a couple of things that seem weird:
When I run cmake, I get a warning that BUILD_STEPS and CXX_FLAGS were not used by the project. Here are the flags I used: cmake -DFFTW_ROOT=${HOME}/usr/fftw-3.3.6-pl2 -DFFTW_USE_STATIC_LIBS=true -DCUDA_ROOT=/public/apps/cuda/8.0 -DBUILD_GPU=true -DBUILD_STEPS=true -DCXX_FLAGS="-O3" -DBUILD_SHARED=false ..
When I try to make, it detects C and CXX compiler as GNU 4.4.7 but I have loaded the gcc 5.1.0 module.
It continues fine until this happens:
Scanning dependencies of target step1_gpu [ 92%] Building CXX object steps/step1/CMakeFiles/step1_gpu.dir/step1_gpu.cpp.o Scanning dependencies of target step1_gpuf [ 94%] Building CXX object steps/step1/CMakeFiles/step1_gpuf.dir/step1_gpuf.cpp.o [ 97%] Linking CXX executable step1_gpu [100%] Linking CXX executable step1_gpuf /home/kmoats/usr/fftw-3.3.6-pl2/lib/libfftw3_threads.a(libfftw3_threads_la-threads.o): In function
fftw_threads_register_planner_hooks':threads.c:(.text+0x5d4): undefined reference to
fftw_set_planner_hooks' collect2: error: ld returned 1 exit status make[2]: *** [steps/step1/step1_gpu] Error 1 make[1]: *** [steps/step1/CMakeFiles/step1_gpu.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/kmoats/usr/fftw-3.3.6-pl2/lib/libfftw3_threads.a(libfftw3_threads_la-threads.o): In function
fftw_threads_register_planner_hooks':threads.c:(.text+0x5d4): undefined reference to
fftw_set_planner_hooks' collect2: error: ld returned 1 exit status make[2]: *** [steps/step1/step1_gpuf] Error 1 make[1]: *** [steps/step1/CMakeFiles/step1_gpuf.dir/all] Error 2 make: *** [all] Error 2
I attached the output from "make VERBOSE=2". Thanks for the help.
verbose.txt
The text was updated successfully, but these errors were encountered: