Posts

Showing posts from January, 2021

OPENCL

# To install  "CL/cl.hpp" sudo apt-get install opencl-headers # To install opencl: sudo apt install ocl-icd-opencl-dev # To install cuda 10.2 sudo apt update sudo apt install cuda-10–2 sudo apt install libcudnn7 # undefined reference undefined reference to `createPlatform(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' solution: http://www.cplusplus.com/forum/beginner/63140/#:~:text=Undefined%20reference%20means%20that%20whilst,that%20actually%20does%20the%20work. g++ -O3 -I/usr/local/cuda-10.2/targets/x86_64-linux/include/ -L/usr/local/cuda-10.2/targets/x86_64-linux/lib/ -o HelloWorld HelloWorld.cpp Helper.cpp -lOpenCL

ERROR: Could not install packages due to an EnvironmentError: [Errno 13]

 sudo pip install -r requirements.txt

app running in background with port

command:   sudo netstat -tulnp | grep : 5001 result: tcp 0 0 0.0.0.0:5001 0.0.0.0:* LISTEN 28834/python kill: kill 28834 to find directly only pid:  lsof -t -i :5000 -s TCP:LISTEN