@lerandc, I still haven't figured out the pyprismatic in GPU mode. Sorry to bother in a similar topic:
In file included from ./include/meta.h:20:0,
./include/defines.h:37:10: fatal error: cuComplex.h: No such file or directory
#include "cuComplex.h" ^~~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1
It seems it is not able to find the cuComplex.h file.
I have checked that I have compiled my CMAKE in python_gpu mode:
Furthermore; the cuComplex.h is available in the Cuda-10.2 library.
Hi @lerandc ! It seems I found out the problem. The cuprismatic is not being compiled properly. When I use
cmake -DPRISMATIC_ENABLE_GPU=1 -DPRISMATIC_ENABLE_CLI=1 -DPRISMATIC_ENABLE_PYTHON_GPU=1 ../
Everything is compiled fine but the end I get:
CMake Warning: Manually-specified variables were not used by the project: PRISMATIC_ENABLE_PYTHON_GPU -- Build files have been written to: /home/tara/apps/prismatic/prismatic-1.2.1/build`
Thanks, @lerandc yeah that indeed solves the problem while cmake. Sorry I ran into another problem it seems while pip installing, there is some error generated. I think it is due to the fact that cuprismatic library is not found.
Can you say what I am doing wrong?
/home/tara/anaconda3/envs/4dsim/compiler_compat/ld: cannot find -lcuprismatic
Thanks a lot!!