|
fu老师您好,我在编译NAMD2.12CUDA版时也是遇到了类似38#的问题,用您说的这个也是不行。
因为想用文献里一个2.12带磁场补丁包的版本,所以用的这个老版本。CPU版本编译没问题,现在试试GPU版遇到了上述问题。您还有其他建议吗?
- In file included from src/CudaPmeSolverUtil.C:9:0:
- src/CudaPmeSolverUtil.C: In member function ‘virtual void CudaFFTCompute::plan3D(int*, int)’:
- src/CudaPmeSolverUtil.C:51:85: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(forwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- src/CudaPmeSolverUtil.C:52:86: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(backwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- src/CudaPmeSolverUtil.C: In member function ‘virtual void CudaFFTCompute::plan2D(int*, int, int)’:
- src/CudaPmeSolverUtil.C:64:85: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(forwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- src/CudaPmeSolverUtil.C:65:86: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(backwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- src/CudaPmeSolverUtil.C: In member function ‘virtual void CudaFFTCompute::plan1DX(int*, int, int)’:
- src/CudaPmeSolverUtil.C:76:85: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(forwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- src/CudaPmeSolverUtil.C:77:86: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(backwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- src/CudaPmeSolverUtil.C: In member function ‘virtual void CudaFFTCompute::plan1DY(int*, int, int)’:
- src/CudaPmeSolverUtil.C:88:85: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(forwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- src/CudaPmeSolverUtil.C:89:86: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(backwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- In file included from inc/ComputePmeCUDAMgr.decl.h:7:0,
- from src/ComputePmeCUDAMgr.h:9,
- from src/CudaPmeSolver.C:5:
- inc/CudaPmeSolver.decl.h:1258:35: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.8.2/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
- std::auto_ptr<SDAG::Dependency> __dep; \
- ^
- src/CudaPmeSolver.h:86:2: note: in expansion of macro ‘CudaPmePencilXY_SDAG_CODE’
- CudaPmePencilXY_SDAG_CODE
- ^
- src/CudaPmeSolverUtil.C: In member function ‘virtual void CudaFFTCompute::plan1DZ(int*, int, int)’:
- src/CudaPmeSolverUtil.C:100:85: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(forwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- src/CudaPmeSolverUtil.C:101:86: error: ‘cufftSetCompatibilityMode’ was not declared in this scope
- cufftCheck(cufftSetCompatibilityMode(backwardPlan, CUFFT_COMPATIBILITY_FFTW_PADDING));
- ^
- src/CudaPmeSolverUtil.h:18:21: note: in definition of macro ‘cufftCheck’
- cufftResult err = stmt; \
- ^
- inc/CudaPmeSolver.decl.h:1911:35: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.8.2/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
- std::auto_ptr<SDAG::Dependency> __dep; \
- ^
- src/CudaPmeSolver.h:114:2: note: in expansion of macro ‘CudaPmePencilX_SDAG_CODE’
- CudaPmePencilX_SDAG_CODE
- ^
- inc/CudaPmeSolver.decl.h:2715:35: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.8.2/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
- std::auto_ptr<SDAG::Dependency> __dep; \
- ^
- src/CudaPmeSolver.h:142:2: note: in expansion of macro ‘CudaPmePencilY_SDAG_CODE’
- CudaPmePencilY_SDAG_CODE
- ^
- inc/CudaPmeSolver.decl.h:3517:35: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.8.2/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
- std::auto_ptr<SDAG::Dependency> __dep; \
- ^
- src/CudaPmeSolver.h:177:2: note: in expansion of macro ‘CudaPmePencilZ_SDAG_CODE’
- CudaPmePencilZ_SDAG_CODE
- ^
- g++ -m64 -std=c++0x -O3 -I/app/NAMD_2.12_Source/charm-6.7.1/include -DCMK_OPTIMIZE=1 -Isrc -Iinc -Iplugins/include -DSTATIC_PLUGIN -I.rootdir/tcl/include -DNAMD_TCL -I.rootdir/fftw/include -DNAMD_FFTW -DNAMD_CUDA -I. -I/usr/local/cuda/include -I.rootdir/cub -DNAMD_VERSION="2.12" -DNAMD_PLATFORM="Linux-x86_64-multicore-CUDA" -DREMOVE_PROXYRESULTMSG_EXTRACOPY -DNODEAWARE_PROXY_SPANNINGTREE -DUSE_NODEPATCHMGR -DUSE_CKLOOP=1 -fexpensive-optimizations -ffast-math -o obj/DumpBench.o -c src/DumpBench.C
- make: *** [obj/CudaPmeSolverUtil.o] Error 1
- make: *** Waiting for unfinished jobs....
复制代码 |
|