Skip to content
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

Make file on Ubuntu 20.04 #1

Open
indrajitbarve opened this issue Oct 21, 2022 · 0 comments
Open

Make file on Ubuntu 20.04 #1

indrajitbarve opened this issue Oct 21, 2022 · 0 comments

Comments

@indrajitbarve
Copy link

I tried to compile the codes. I got some undefined reference error and in the Makefile, I changed the following and I could able to run it.
FROM

gcc -lOpenCL -lm -L /lib/x86_64/ main_wrapper.o amd_firepro_error_code_list_for_opencl.o input_generator.o gpu_data_reorg.o gpu_cpu_helpers.o cpu_corr_test.o -o correlator_test

TO

gcc main_wrapper.o amd_firepro_error_code_list_for_opencl.o input_generator.o gpu_data_reorg.o gpu_cpu_helpers.o cpu_corr_test.o -o correlator_test -lOpenCL -lm -L /lib/x86_64/

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