Closed debanjansen48 closed 4 years ago
One more thing. How can I setup virtual screening process using AUTODOCK GPU? can i dock multiple ligands (300k) with multiple protein target (with defined binding site,) as well ligands with more then 25 torsion with this tool??
As I found for few sets of ligand AutoDock cant perform whereas DNIC server can perform the same. I have enough experimental evidences that large molecules bind with certain receptor and produce activity. But AutoDock4 or Vina unable to perform docking. Software like DNIC (http://dinc.kavrakilab.org/ ) or PLANTS, R-Dock can dock them. In this case AutoDock GPU is useful ??
Hi @debanjansen48,
From your logs, I think you are cloning a package from a different repository. Please try:
> git clone https://github.com/ccsb-scripps/AutoDock-GPU.git
and then build it following this guideline: https://github.com/ccsb-scripps/AutoDock-GPU/wiki/Guideline-for-users
thanks...let me try
ERROR again....
~/Desktop/ADT-Gpu/AutoDock-GPU-develop$ make DEVICE=GPU NUMWI=64 make: git: Command not found DEVICE is set to GPU
CPU_INCLUDE_PATH is undefined CPU_LIBRARY_PATH is undefined
GPU_INCLUDE_PATH is undefined GPU_LIBRARY_PATH is undefined
./stringify_ocl_krnls.sh
Stringified input header files: ./common/defines.h ./common/calcenergy_basic.h
Stringified input non-kernel files: ./device/auxiliary_genetic.cl ./device/calcenergy.cl ./device/calcgradient.cl ./device/calcMergedEneGra.cl
Stringified input kernel-files: ./device/kernel1.cl ./device/kernel2.cl ./device/kernel4.cl ./device/kernel3.cl ./device/kernel_sd.cl ./device/kernel_fire.cl ./device/kernel_ad.cl
Stringified output file: host/inc/stringify.h
g++ \ ./wrapcl/src/BufferObjects.cpp ./wrapcl/src/CommandQueues.cpp ./wrapcl/src/Programs.cpp ./wrapcl/src/Kernels.cpp ./wrapcl/src/Devices.cpp ./wrapcl/src/ImportSource.cpp ./wrapcl/src/Platforms.cpp ./wrapcl/src/Contexts.cpp ./wrapcl/src/ImportBinary.cpp ./wrapcl/src/listAttributes.cpp ./host/src/processresult.cpp ./host/src/performdocking.cpp ./host/src/processligand.cpp ./host/src/processgrid.cpp ./host/src/getparameters.cpp ./host/src/main.cpp ./host/src/miscellaneous.cpp ./host/src/calcenergy.cpp \ -I./common -I./wrapcl/inc -I./host/inc -I -L -DVERSION=\"\" \ -lOpenCL \ -o./bin/autodock_gpu_64wi \ -DGPU_DEVICE -DN64WI -O3 -DKRNL_SOURCE=./device/calcenergy.cl -DKRNL_DIRECTORY=./device -DKCMN_DIRECTORY=./common -DK1="gpu_calc_initpop" -DK2="gpu_sum_evals" -DK3="perform_LS" -DK4="gpu_gen_and_eval_newpops" -DK5="gradient_minSD" -DK6="gradient_minFire" -DK7="gradient_minAD" In file included from ./wrapcl/inc/BufferObjects.h:33:0, from ./wrapcl/src/BufferObjects.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/CommandQueues.h:33:0, from ./wrapcl/src/CommandQueues.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Programs.h:33:0, from ./wrapcl/src/Programs.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Kernels.h:33:0, from ./wrapcl/src/Kernels.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Devices.h:33:0, from ./wrapcl/src/Devices.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/ImportSource.h:37:0, from ./wrapcl/src/ImportSource.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Platforms.h:33:0, from ./wrapcl/src/Platforms.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Contexts.h:33:0, from ./wrapcl/src/Contexts.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/ImportBinary.h:33:0, from ./wrapcl/src/ImportBinary.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/listAttributes.h:32:0, from ./wrapcl/src/listAttributes.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. ./host/src/processresult.cpp: In function ‘void clusanal_gendlg(Ligandresult, int, const Liganddata, const Dockpars, const Gridinfo, const int*, char**, double, double, long unsigned int, long unsigned int)’: ./host/src/processresult.cpp:575:80: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf(fp, "Number of energy evaluations performed: %d\n", evals_performed); ^ ./host/src/processresult.cpp:576:81: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] rintf(fp, "Number of generations used: %d\n", generations_used); ^ In file included from ./host/src/performdocking.cpp:107:0: ./host/inc/performdocking.h:46:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. ./host/src/processligand.cpp: In function ‘int init_liganddata(const char, Liganddata, Gridinfo, bool)’: ./host/src/processligand.cpp:66:10: warning: ignoring return value of ‘int fscanf(FILE, const char, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%f"); //skipping fields
./host/src/processligand.cpp:67:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:68:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:69:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%*s");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:70:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%*s");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:71:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:72:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //reading atom type
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp: In function ‘int get_liganddata(const char*, Liganddata*, double, double)’:
./host/src/processligand.cpp:955:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:956:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:957:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][3]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:958:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //skipping the next two fields
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:959:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:960:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][4])); //reading charge
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:961:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //reading atom type
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1017:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(branches [branch_counter][0]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1018:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(branches [branch_counter][1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1032:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(myligand->rotbonds [endbranch_counter][0])); //rotatable bonds have to be stored in the order
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1033:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(myligand->rotbonds [endbranch_counter][1])); //of endbranches
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp: In function ‘int get_gridinfo(const char*, Gridinfo*)’:
./host/src/processgrid.cpp:78:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(mygrid->spacing));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:89:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d%d%d", &(gpoints_even[0]), &(gpoints_even[1]), &(gpoints_even[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:106:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf%lf%lf", &(center[0]), &(center[1]), &(center[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:112:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp: In function ‘int get_gridvalues_f(const Gridinfo*, float**, bool)’:
./host/src/processgrid.cpp:194:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
do fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:196:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:197:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:198:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:207:12: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%f", mypoi);
~~~~~~^~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp: In function ‘void get_commandpars(const int*, char**, double*, Dockpars*)’:
./host/src/getparameters.cpp:555:37: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long int*’ [-Wformat=]
sscanf(argv [i+1], "%u", &tempint);
~~~~~~~~^
./host/src/getparameters.cpp: In function ‘void gen_initpop_and_reflig(Dockpars*, float*, float*, Liganddata*, const Gridinfo*)’:
./host/src/getparameters.cpp:769:13: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(init_populations[entity_id*GENOTYPE_LENGTH_IN_GLOBMEM+gene_id]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:772:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[0]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:773:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:774:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./host/src/main.cpp:36:0:
./host/inc/performdocking.h:46:11: fatal error: CL/opencl.h: No such file or directory
#include "CL/opencl.h"
^~~~~~~~~~~~~
compilation terminated.
Makefile:240: recipe for target 'odock' failed
make: *** [odock] Error 1
but cuda is installed
~/Desktop/ADT-Gpu/AutoDock-GPU-develop$ whereis cuda
cuda: /usr/local/cuda
Please define first your paths for GPU_INCLUDE_PATH
and GPU_LIBRARY_PATH
. E.g.:
% echo $CUDAROOT
/usr/local/cuda
% export GPU_INCLUDE_PATH=$CUDAROOT/include
% export GPU_LIBRARY_PATH=$CUDAROOT/lib64
and then try building again.
debanjan@debanjan:~/Desktop$ echo $CUDAROOT /usr/local/cuda/bin
debanjan@debanjan:~/Desktop$ cd /usr/local/cuda/bin
debanjan@debanjan:/usr/local/cuda/bin$ ls bin2c fatbinary nvdisasm computeprof gpu-library-advisor nvlink crt nsight nv-nsight-cu cudafe++ nsight_ee_plugins_manage.sh nv-nsight-cu-cli cuda-gdb nsight-sys nvprof cuda-gdbserver nsys nvprune cuda-install-samples-10.1.sh nsys-exporter nvvp cuda-memcheck nvcc ptxas cuobjdump nvcc.profile debanjan@debanjan:/usr/local/cuda/bin$ cd ..
debanjan@debanjan:/usr/local/cuda$ ls bin include libnvvp nvml samples targets doc lib64 LICENSE nvvm share tools extras libnsight nsightee_plugins README src version.txt
make DEVICE=GPU NUMWI=64 make: git: Command not found DEVICE is set to GPU
CPU_INCLUDE_PATH is undefined CPU_LIBRARY_PATH is undefined
GPU_INCLUDE_PATH is set to /usr/local/cuda/bin/include GPU_LIBRARY_PATH is set to /usr/local/cuda/bin/lib64
./stringify_ocl_krnls.sh
Stringified input header files: ./common/defines.h ./common/calcenergy_basic.h
Stringified input non-kernel files: ./device/auxiliary_genetic.cl ./device/calcenergy.cl ./device/calcgradient.cl ./device/calcMergedEneGra.cl
Stringified input kernel-files: ./device/kernel1.cl ./device/kernel2.cl ./device/kernel4.cl ./device/kernel3.cl ./device/kernel_sd.cl ./device/kernel_fire.cl ./device/kernel_ad.cl
Stringified output file: host/inc/stringify.h
g++ \ ./wrapcl/src/BufferObjects.cpp ./wrapcl/src/CommandQueues.cpp ./wrapcl/src/Programs.cpp ./wrapcl/src/Kernels.cpp ./wrapcl/src/Devices.cpp ./wrapcl/src/ImportSource.cpp ./wrapcl/src/Platforms.cpp ./wrapcl/src/Contexts.cpp ./wrapcl/src/ImportBinary.cpp ./wrapcl/src/listAttributes.cpp ./host/src/processresult.cpp ./host/src/performdocking.cpp ./host/src/processligand.cpp ./host/src/processgrid.cpp ./host/src/getparameters.cpp ./host/src/main.cpp ./host/src/miscellaneous.cpp ./host/src/calcenergy.cpp \ -I./common -I./wrapcl/inc -I./host/inc -I/usr/local/cuda/bin/include -L/usr/local/cuda/bin/lib64 -DVERSION=\"\" \ -lOpenCL \ -o./bin/autodock_gpu_64wi \ -DGPU_DEVICE -DN64WI -O3 -DKRNL_SOURCE=./device/calcenergy.cl -DKRNL_DIRECTORY=./device -DKCMN_DIRECTORY=./common -DK1="gpu_calc_initpop" -DK2="gpu_sum_evals" -DK3="perform_LS" -DK4="gpu_gen_and_eval_newpops" -DK5="gradient_minSD" -DK6="gradient_minFire" -DK7="gradient_minAD" In file included from ./wrapcl/inc/BufferObjects.h:33:0, from ./wrapcl/src/BufferObjects.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/CommandQueues.h:33:0, from ./wrapcl/src/CommandQueues.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Programs.h:33:0, from ./wrapcl/src/Programs.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Kernels.h:33:0, from ./wrapcl/src/Kernels.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Devices.h:33:0, from ./wrapcl/src/Devices.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/ImportSource.h:37:0, from ./wrapcl/src/ImportSource.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Platforms.h:33:0, from ./wrapcl/src/Platforms.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/Contexts.h:33:0, from ./wrapcl/src/Contexts.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/ImportBinary.h:33:0, from ./wrapcl/src/ImportBinary.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. In file included from ./wrapcl/inc/listAttributes.h:32:0, from ./wrapcl/src/listAttributes.cpp:28: ./wrapcl/inc/commonMacros.h:37:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. ./host/src/processresult.cpp: In function ‘void clusanal_gendlg(Ligandresult, int, const Liganddata, const Dockpars, const Gridinfo, const int*, char**, double, double, long unsigned int, long unsigned int)’: ./host/src/processresult.cpp:575:80: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf(fp, "Number of energy evaluations performed: %d\n", evals_performed);
^ ./host/src/processresult.cpp:576:81: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] rintf(fp, "Number of generations used: %d\n", generations_used);
^ In file included from ./host/src/performdocking.cpp:107:0: ./host/inc/performdocking.h:46:11: fatal error: CL/opencl.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. ./host/src/processligand.cpp: In function ‘int init_liganddata(const char, Liganddata, Gridinfo, bool)’: ./host/src/processligand.cpp:66:10: warning: ignoring return value of ‘int fscanf(FILE, const char, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%f"); //skipping fields
./host/src/processligand.cpp:67:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:68:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:69:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*s");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:70:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*s");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:71:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:72:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //reading atom type
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp: In function ‘int get_liganddata(const char*,
Liganddata*, double, double)’:
./host/src/processligand.cpp:955:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:956:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:957:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][3]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:958:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //skipping the next two fields
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:959:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:960:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][4]));
//reading charge
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:961:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //reading atom type
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1017:10: warning: ignoring return value of
‘int fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(branches [branch_counter][0]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1018:10: warning: ignoring return value of
‘int fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(branches [branch_counter][1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1032:10: warning: ignoring return value of
‘int fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(myligand->rotbonds [endbranch_counter][0]));
//rotatable bonds have to be stored in the order
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1033:10: warning: ignoring return value of
‘int fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(myligand->rotbonds [endbranch_counter][1])); //of
endbranches
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp: In function ‘int get_gridinfo(const char*,
Gridinfo*)’:
./host/src/processgrid.cpp:78:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(mygrid->spacing));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:89:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d%d%d", &(gpoints_even[0]), &(gpoints_even[1]),
&(gpoints_even[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:106:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf%lf%lf", &(center[0]), &(center[1]), &(center[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:112:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp: In function ‘int get_gridvalues_f(const
Gridinfo*, float**, bool)’:
./host/src/processgrid.cpp:194:15: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
do fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:196:9: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:197:9: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:198:9: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:207:12: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f", mypoi);
~~~~~~^~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp: In function ‘void get_commandpars(const int*,
char**, double*, Dockpars*)’:
./host/src/getparameters.cpp:555:37: warning: format ‘%u’ expects argument
of type ‘unsigned int*’, but argument 3 has type ‘long int*’ [-Wformat=]
sscanf(argv [i+1], "%u", &tempint);
~~~~~~~~^
./host/src/getparameters.cpp: In function ‘void
gen_initpop_and_reflig(Dockpars*, float*, float*, Liganddata*, const
Gridinfo*)’:
./host/src/getparameters.cpp:769:13: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f",
&(init_populations[entity_id*GENOTYPE_LENGTH_IN_GLOBMEM+gene_id]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:772:11: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[0]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:773:11: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:774:11: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I
*n file included from
./host/src/main.cpp:36:0:./host/inc/performdocking.h:46:11: fatal error:
CL/opencl.h: No such file or directory #include "CL/opencl.h"*
^~~~~~~~~~~~~
compilation terminated.
Makefile:240: recipe for target 'odock' failed
make: *** [odock] Error 1
debanjan@debanjan:~/Desktop
*information for your kind consideration*
*debanjan@debanjan:~/Desktop/ADT-Gpu/AutoDock-GPU-develop$ clinfoNumber of
platforms 1 Platform Name
NVIDIA CUDA Platform Vendor
NVIDIA Corporation Platform Version
OpenCL 1.2 CUDA 10.2.159 Platform Profile
FULL_PROFILE Platform Extensions
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing
cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll
cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics
cl_khr_int64_extended_atomics Platform Extensions function suffix
NV Platform Name NVIDIA CUDANumber
of devices 1 Device Name
GeForce RTX 2070 SUPER Device Vendor
NVIDIA Corporation Device Vendor ID
0x10de Device Version OpenCL 1.2
CUDA Driver Version 440.82 Device OpenCL
C Version OpenCL C 1.2 Device Type
GPU Device Topology (NV)
PCI-E, 01:00.0 Device Profile
FULL_PROFILE Device Available Yes
Compiler Available Yes Linker Available
Yes Max compute units
40 Max clock frequency 1770MHz Compute
Capability (NV) 7.5 Device Partition
(core) Max number of sub-devices 1
Supported partition types None Max work item
dimensions 3 Max work item sizes
1024x1024x64 Max work group size
1024 Preferred work group size multiple 32 Warp size (NV)
32 Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1 long
1 / 1 half
0 / 0 (n/a) float
1 / 1 double
1 / 1 (cl_khr_fp64) Half-precision
Floating-point support (n/a) Single-precision Floating-point
support (core) Denormals
Yes Infinity and NANs Yes Round to
nearest Yes Round to zero
Yes Round to infinity Yes
IEEE754-2008 fused multiply-add Yes Support is emulated in
software No Correctly-rounded divide and sqrt operations
Yes Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes Infinity and NANs
Yes Round to nearest
Yes Round to zero Yes Round to
infinity Yes IEEE754-2008 fused multiply-add
Yes Support is emulated in software No
Address bits 64, Little-Endian Global
memory size 8368685056 (7.794GiB) Error
Correction support No Max memory allocation
2092171264 (1.948GiB) Unified memory for Host and Device
No Integrated memory (NV) No
Minimum alignment for any data type 128 bytes Alignment of
base address 4096 bits (512 bytes) Global Memory
cache type Read/Write Global Memory cache size
1310720 (1.25MiB) Global Memory cache line size
128 bytes Image support Yes
Max number of samplers per kernel 32 Max size for 1D images
from buffer 268435456 pixels Max 1D or 2D image array size
2048 images Max 2D image size
32768x32768 pixels Max 3D image size
16384x16384x16384 pixels Max number of read image args
256 Max number of write image args 32 Local memory type
Local Local memory size
49152 (48KiB) Registers per block (NV)
65536 Max number of constant args 9 Max constant
buffer size 65536 (64KiB) Max size of kernel
argument 4352 (4.25KiB) Queue properties
Out-of-order execution Yes
Profiling Yes Prefer user sync for
interop No Profiling timer resolution
1000ns Execution capabilities Run OpenCL
kernels Yes Run native kernels
No Kernel execution timeout (NV) Yes
Concurrent copy and kernel execution (NV) Yes Number of async copy
engines 3 printf() buffer size
1048576 (1024KiB) Built-in kernels
Device Extensions
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing
cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll
cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics
cl_khr_int64_extended_atomicsNULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] Success [NV]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in
platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found
in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) Invalid
device type for platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)
No platform*
On Mon, May 18, 2020 at 12:27 PM Leonardo Solis V. <notifications@github.com>
wrote:
> Please define first your paths for GPU_INCLUDE_PATH and GPU_LIBRARY_PATH.
> E.g.:
>
> % echo $CUDAROOT
> /usr/local/cuda-8.0
>
> % export GPU_INCLUDE_PATH=$CUDAROOT/include
> % export GPU_LIBRARY_PATH=$CUDAROOT/lib64
>
> and then try building again.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/ccsb-scripps/AutoDock-GPU/issues/80#issuecomment-629984170>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOJ7Q4QH3RQBU6PGHIST24DRSDL37ANCNFSM4NDZDVRQ>
> .
>
Hi @debanjansen48,
The include path GPU_INCLUDE_PATH
was set, but it seems it is not the right one.
I see from your log that you have configured:
GPU_INCLUDE_PATH is set to /usr/local/cuda/bin/include
.
Can you please check that /usr/local/cuda/bin/include
indeed contains CL/opencl.h
?
I guess it should be instead e.g: /usr/local/cuda/include
(do not use $CUDAROOT this time, it was given above just as an example).
nom but i found it /usr/local/cuda-10.1/include/CL in this folder
debanjan@debanjan:/usr/local/cuda-10.1/include/CL$ ls cl_egl.h cl_ext.h cl_gl_ext.h cl_gl.h cl.h cl.hpp cl_platform.h opencl.h
On Mon, May 18, 2020 at 1:13 PM Leonardo Solis V. notifications@github.com wrote:
Hi @debanjansen48 https://github.com/debanjansen48,
The include path GPU_INCLUDE_PATH was set, but it seems it is not the right one.
I see from your log that you have configured: GPU_INCLUDE_PATH is set to /usr/local/cuda/bin/include.
Can you please check that /usr/local/cuda/bin/include indeed contains CL/opencl.h?
I guess it should be instead e.g: /usr/local/cuda/include (do not use $CUDAROOT this time, it was given above just as an example).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccsb-scripps/AutoDock-GPU/issues/80#issuecomment-630004870, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJ7Q4RVATJ5OZJLLL3S7ZTRSDRK7ANCNFSM4NDZDVRQ .
On Mon, May 18, 2020 at 1:25 PM Debanjan Sen debanjansen48@gmail.com wrote:
nom but i found it /usr/local/cuda-10.1/include/CL in this folder
debanjan@debanjan:/usr/local/cuda-10.1/include/CL$ ls cl_egl.h cl_ext.h cl_gl_ext.h cl_gl.h cl.h cl.hpp cl_platform.h opencl.h
On Mon, May 18, 2020 at 1:13 PM Leonardo Solis V. < notifications@github.com> wrote:
Hi @debanjansen48 https://github.com/debanjansen48,
The include path GPU_INCLUDE_PATH was set, but it seems it is not the right one.
I see from your log that you have configured: GPU_INCLUDE_PATH is set to /usr/local/cuda/bin/include.
Can you please check that /usr/local/cuda/bin/include indeed contains CL/opencl.h?
I guess it should be instead e.g: /usr/local/cuda/include (do not use $CUDAROOT this time, it was given above just as an example).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccsb-scripps/AutoDock-GPU/issues/80#issuecomment-630004870, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJ7Q4RVATJ5OZJLLL3S7ZTRSDRK7ANCNFSM4NDZDVRQ .
You can use that baseline path to also set GPU_LIBRARY_PATH
(should be under /usr/local/cuda-10.1/lib64
, there you should look for libOpenCL.so
). Let me know what the outcome is.
paths in bashrc.... export CUDAROOT=/usr/local/cuda/bin export GPU_INCLUDE_PATH=/usr/local/cuda-10.1/include export GPU_LIBRARY_PATH=/usr/local/cuda-10.1/lib64
libOpenCL.so present in /usr/local/cuda-10.1/lib64 opencl.h present in /usr/local/cuda-10.1/include/CL
Hope Job done...
./host/src/getparameters.cpp:774:11: warning: ignoring return value of ‘int fscanf(FILE, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%f", &(mypars->ref_ori_angles[2]));
function ‘int main(int, char**)’:./host/src/main.cpp:85:38: warning: format
‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’
[-Wformat=] sscanf(argv [i+1], "%ld", &tempint);
~~~~~~~~^debanjan@debanjan:~/Desktop/ADT-Gpu/AutoDock-GPU-develop$
make checkmake: git: Command not foundmake: *** No rule to make target
'check'. Stop.*
*************************************************************************************
*in bin folder found autodock_gpu_64wi*
*debanjan@debanjan:~/Desktop/ADT-Gpu/AutoDock-GPU-develop/bin$
./autodock_gpu_256wiError: grid fld file was not defined. Use -ffile
argument!*
On Mon, May 18, 2020 at 1:33 PM Leonardo Solis V. <notifications@github.com>
wrote:
> You can use that baseline path to also set GPU_LIBRARY_PATH (should be
> under /usr/local/cuda-10.1/lib64, there you should look for libOpenCL.so).
> Let me know what the outcome is.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/ccsb-scripps/AutoDock-GPU/issues/80#issuecomment-630015387>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOJ7Q4UXYW3VMPA4CMQ7LKLRSDTVHANCNFSM4NDZDVRQ>
> .
>
Good! Now it seems that it is compiling successfully.
Please run a test and share output: $ make DEVICE=GPU test
OO THANK UUUUU
Big Thanks to YOU.....
debanjan@debanjan:~/Desktop/ADT-Gpu/AutoDock-GPU-develop$ make DEVICE=GPU test make: git: Command not found DEVICE is set to GPU
CPU_INCLUDE_PATH is undefined CPU_LIBRARY_PATH is undefined
GPU_INCLUDE_PATH is set to /usr/local/cuda-10.1/include GPU_LIBRARY_PATH is set to /usr/local/cuda-10.1/lib64
./stringify_ocl_krnls.sh
Stringified input header files: ./common/defines.h ./common/calcenergy_basic.h
Stringified input non-kernel files: ./device/auxiliary_genetic.cl ./device/calcenergy.cl ./device/calcgradient.cl ./device/calcMergedEneGra.cl
Stringified input kernel-files: ./device/kernel1.cl ./device/kernel2.cl ./device/kernel4.cl ./device/kernel3.cl ./device/kernel_sd.cl ./device/kernel_fire.cl ./device/kernel_ad.cl
Stringified output file: host/inc/stringify.h
g++ \ ./wrapcl/src/BufferObjects.cpp ./wrapcl/src/CommandQueues.cpp ./wrapcl/src/Programs.cpp ./wrapcl/src/Kernels.cpp ./wrapcl/src/Devices.cpp ./wrapcl/src/ImportSource.cpp ./wrapcl/src/Platforms.cpp ./wrapcl/src/Contexts.cpp ./wrapcl/src/ImportBinary.cpp ./wrapcl/src/listAttributes.cpp ./host/src/processresult.cpp ./host/src/performdocking.cpp ./host/src/processligand.cpp ./host/src/processgrid.cpp ./host/src/getparameters.cpp ./host/src/main.cpp ./host/src/miscellaneous.cpp ./host/src/calcenergy.cpp \ -I./common -I./wrapcl/inc -I./host/inc -I/usr/local/cuda-10.1/include -L/usr/local/cuda-10.1/lib64 -DVERSION=\"\" \ -lOpenCL \ -o./bin/autodock_gpu_64wi \ -DGPU_DEVICE -DN64WI -O3 -DKRNL_SOURCE=./device/calcenergy.cl -DKRNL_DIRECTORY=./device -DKCMN_DIRECTORY=./common -DK1="gpu_calc_initpop" -DK2="gpu_sum_evals" -DK3="perform_LS" -DK4="gpu_gen_and_eval_newpops" -DK5="gradient_minSD" -DK6="gradient_minFire" -DK7="gradient_minAD" ./host/src/processresult.cpp: In function ‘void clusanal_gendlg(Ligandresult, int, const Liganddata, const Dockpars, const Gridinfo, const int*, char**, double, double, long unsigned int, long unsigned int)’: ./host/src/processresult.cpp:575:80: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf(fp, "Number of energy evaluations performed: %d\n", evals_performed);
^ ./host/src/processresult.cpp:576:81: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] rintf(fp, "Number of generations used: %d\n", generations_used);
^ ./host/src/performdocking.cpp: In function ‘int docking_with_gpu(const Gridinfo, float, Dockpars, const Liganddata, const Liganddata, const int, char**, clock_t)’: ./host/src/performdocking.cpp:521:60: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("-lsmet sw -nev %u\n",mypars->num_of_energy_evals);
./host/src/performdocking.cpp:526:60: warning: format ‘%u’ expects argument
of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
[-Wformat=]
printf("-lsmet ad -nev %u\n",mypars->num_of_energy_evals);
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./host/src/performdocking.cpp:552:301: warning: format ‘%u’ expects
argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned
int’ [-Wformat=]
d,mypars->as_frequency,mypars->num_of_generations,mypars->num_of_energy_evals);
^ ./host/src/performdocking.cpp:552:301: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] ./host/src/performdocking.cpp:1008:195: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] ypars->num_of_runs,threshold_used,curr_avg,curr_std,bestN,overall_best_energy);
^
./host/src/performdocking.cpp:1268:188: warning: format ‘%u’ expects
argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned
int’ [-Wformat=]
als/mypars->num_of_runs,threshold,curr_avg,curr_std,bestN,overall_best_energy);
^ ./host/src/performdocking.cpp:1270:156: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] f kcal/mol.\n","Finished",total_evals/mypars->num_of_runs,overall_best_energy);
^
./host/src/processligand.cpp: In function ‘int init_liganddata(const char*,
Liganddata*, Gridinfo*, bool)’:
./host/src/processligand.cpp:66:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*f"); //skipping fields
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:67:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:68:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:69:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*s");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:70:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*s");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:71:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%*f");
~~~~~~^~~~~~~~~~~
./host/src/processligand.cpp:72:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //reading atom type
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp: In function ‘int get_liganddata(const char*,
Liganddata*, double, double)’:
./host/src/processligand.cpp:955:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:956:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:957:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][3]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:958:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //skipping the next two fields
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:959:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:960:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(myligand->atom_idxyzq [atom_counter][4]));
//reading charge
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:961:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr); //reading atom type
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1017:10: warning: ignoring return value of
‘int fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(branches [branch_counter][0]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1018:10: warning: ignoring return value of
‘int fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(branches [branch_counter][1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1032:10: warning: ignoring return value of
‘int fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(myligand->rotbonds [endbranch_counter][0]));
//rotatable bonds have to be stored in the order
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processligand.cpp:1033:10: warning: ignoring return value of
‘int fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d", &(myligand->rotbonds [endbranch_counter][1])); //of
endbranches
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp: In function ‘int get_gridinfo(const char*,
Gridinfo*)’:
./host/src/processgrid.cpp:78:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf", &(mygrid->spacing));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:89:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%d%d%d", &(gpoints_even[0]), &(gpoints_even[1]),
&(gpoints_even[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:106:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%lf%lf%lf", &(center[0]), &(center[1]), &(center[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:112:10: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp: In function ‘int get_gridvalues_f(const
Gridinfo*, float**, bool)’:
./host/src/processgrid.cpp:194:15: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
do fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:196:9: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:197:9: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:198:9: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%s", tempstr);
~~~~~~^~~~~~~~~~~~~~~~~~~
./host/src/processgrid.cpp:207:12: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f", mypoi);
~~~~~~^~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp: In function ‘void get_commandpars(const int*,
char**, double*, Dockpars*)’:
./host/src/getparameters.cpp:555:37: warning: format ‘%u’ expects argument
of type ‘unsigned int*’, but argument 3 has type ‘long int*’ [-Wformat=]
sscanf(argv [i+1], "%u", &tempint);
~~~~~~~~^
./host/src/getparameters.cpp: In function ‘void
gen_initpop_and_reflig(Dockpars*, float*, float*, Liganddata*, const
Gridinfo*)’:
./host/src/getparameters.cpp:769:13: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f",
&(init_populations[entity_id*GENOTYPE_LENGTH_IN_GLOBMEM+gene_id]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:772:11: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[0]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:773:11: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[1]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/getparameters.cpp:774:11: warning: ignoring return value of ‘int
fscanf(FILE*, const char*, ...)’, declared with attribute
warn_unused_result [-Wunused-result]
fscanf(fp, "%f", &(mypars->ref_ori_angles[2]));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./host/src/main.cpp: In function ‘int main(int, char**)’:
./host/src/main.cpp:85:38: warning: format ‘%ld’ expects argument of type
‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
sscanf(argv [i+1], "%ld", &tempint);
~~~~~~~~^
./bin/autodock_gpu_64wi \
-ffile ./input/3ce3/derived/3ce3_protein.maps.fld \
-lfile ./input/3ce3/derived/3ce3_ligand.pdbqt \
-nrun 100 \
-ngen 27000 \
-psize 150 \
-resnam test \
-gfpop 0 \
-lsmet sw
AutoDock-GPU version:
Kernel source used for development: ./device/calcenergy.cl
Kernel string used for building: ./host/inc/stringify.h
Kernel compilation flags: -I ./device -I ./common -DN64WI
-cl-mad-enable
Local-search chosen method is: Solis-Wets (sw)
Executing docking runs:
20% 40% 60% 80% 100%
---------+---------+---------+---------+---------+
**************************************************
Program run time 16.372 sec
##NB: Gromacs 2018.1 is running so it may hamper the performance ..... plz
help to set up VS
i have a script will it work::
#! /bin/bash
*for f in ic50_ligand_**.pdbqt; do b=`basename $f .pdbqt` echo
Processing ligand $b mkdir -p $b ./autodock_gpu_256wi -ffile
protein.maps.fld -lfile $f --out ${b}/out.pdbqt --log ${b}/log.txtdone*
*Thanks again Sir*
On Mon, May 18, 2020 at 2:01 PM Leonardo Solis V. <notifications@github.com>
wrote:
> Good! Now it seems that it is compiling successfully.
>
> Please run a test and share output: $ make DEVICE=GPU test
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/ccsb-scripps/AutoDock-GPU/issues/80#issuecomment-630029461>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOJ7Q4RCVJ4NOQXHSBGTLPLRSDW4HANCNFSM4NDZDVRQ>
> .
>
Happy that it is running on your end :smile:
I am closing this now. For other problems / questions you might have, please open a separate GitHub issue.
I am using CUDA supported GPU RTX2080. After retrieving files from GIT , extracted and entered in src folder (Downloads/gpuautodock/src/autodock-4.0.1). issued command ./configure returns
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gawk... (cached) gawk checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for gethostname... yes checking for pow... no checking for sqrt... no checking for strncasecmp... yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands
now issued the command "make" returns
~/Downloads/gpuautodock/src/autodock-4.0.1$ make
make: Nothing to be done for 'all'.
my os id LinuxMint 2019.2