ewanbarr / peasoup

C++/CUDA GPU pulsar searching library
Apache License 2.0
26 stars 12 forks source link

Error: identifier "dedisp_create_plan_multi" is undefined #2

Closed gijzelaerr closed 6 years ago

gijzelaerr commented 6 years ago

Hi! I'm trying to compile peasoup but I run into trouble. I've obtained and compiled dedisp from here:

https://github.com/ajameson/dedisp

Not only that, it is also a package in KERN now:

http://kernsuite.info/

But during compilation, something goes wrong. Am I using the wrong dedips?

/usr//bin/nvcc -DUSE_NVTX -O3  -lineinfo --machine 64 -Xcompiler  -I./include -I/usr/ -I/usr//include -I/usr//include -I./tclap -L/usr//lib64 -lcudart -L/usr//lib -ldedisp -lcufft -lpthread -lnvToolsExt src/pipeline_multi.cu obj/kernels.o -o bin/peasoup
./include/transforms/dedisperser.hpp(25): error: identifier "dedisp_create_plan_multi" is undefined

./include/transforms/folder.hpp(370): warning: variable "mean" was set but never used

./include/transforms/folder.hpp(370): warning: variable "std" was set but never used

./include/transforms/folder.hpp(370): warning: variable "rms" was set but never used

./include/transforms/distiller.hpp(127): warning: variable "jj" was declared but never referenced

./include/transforms/distiller.hpp(127): warning: variable "kk" was declared but never referenced

./include/transforms/distiller.hpp(128): warning: variable "ratio" was declared but never referenced

./include/transforms/distiller.hpp(128): warning: variable "freq" was declared but never referenced

./include/transforms/distiller.hpp(216): warning: missing return statement at end of non-void function "CandidateTester::remove_non_physical_periods"

./include/utils/output_stats.hpp(243): warning: result of call is not used

1 error detected in the compilation of "/tmp/tmpxft_000013e4_00000000-8_pipeline_multi.cpp1.ii".
ewanbarr commented 6 years ago

Jup, there is a hacked version of Dedisp that is used for peasoup that can be found here: https://github.com/ewanbarr/dedisp

Ewan

On Tue, 20 Mar 2018 at 09:37 Gijs Molenaar notifications@github.com wrote:

Hi! I'm trying to compile peasoup but I run into trouble. I've obtained and compiled dedisp from here:

https://github.com/ajameson/dedisp

Not only that, it is also a package in KERN now:

http://kernsuite.info/

But during compilation, something goes wrong. Am I using the wrong dedips?

/usr//bin/nvcc -DUSE_NVTX -O3 -lineinfo --machine 64 -Xcompiler -I./include -I/usr/ -I/usr//include -I/usr//include -I./tclap -L/usr//lib64 -lcudart -L/usr//lib -ldedisp -lcufft -lpthread -lnvToolsExt src/pipeline_multi.cu obj/kernels.o -o bin/peasoup ./include/transforms/dedisperser.hpp(25): error: identifier "dedisp_create_plan_multi" is undefined

./include/transforms/folder.hpp(370): warning: variable "mean" was set but never used

./include/transforms/folder.hpp(370): warning: variable "std" was set but never used

./include/transforms/folder.hpp(370): warning: variable "rms" was set but never used

./include/transforms/distiller.hpp(127): warning: variable "jj" was declared but never referenced

./include/transforms/distiller.hpp(127): warning: variable "kk" was declared but never referenced

./include/transforms/distiller.hpp(128): warning: variable "ratio" was declared but never referenced

./include/transforms/distiller.hpp(128): warning: variable "freq" was declared but never referenced

./include/transforms/distiller.hpp(216): warning: missing return statement at end of non-void function "CandidateTester::remove_non_physical_periods"

./include/utils/output_stats.hpp(243): warning: result of call is not used

1 error detected in the compilation of "/tmp/tmpxft_000013e4_00000000-8_pipeline_multi.cpp1.ii".

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ewanbarr/peasoup/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFoTPVSrLTvAa_NzVNkSpg4LpCabGzfks5tgL_ZgaJpZM4Sxe_J .

gijzelaerr commented 6 years ago

I just found it! thanks. With this version it compiles.