On the problem of recompiling the DualSPHysics_v4
Hi, all
According to the guide of DualSPHysics_v4, I want to try to recompile the DualSPHysics4_vs2013 or vs2010 files in the folder of DualSPHyiscs_v4. However, I can not do it smoothly.
the Detailed error info is listed as following.
*********************************************************
\for_DualSPH_test\DualSPH_v4.0\SOURCE\DualSPHysics_v4\DualSPHysics4_vs2010.vcxproj : error : Unable to read the project file "DualSPHysics4_vs2010.vcxproj".
\for_DualSPH_test\DualSPH_v4.0\SOURCE\DualSPHysics_v4\DualSPHysics4_vs2010.vcxproj(59,5): The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 7.5.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
*********************************************************
According to the above information, I understand that the CUDA 7.5 tool is not installed in my computer.
I want to know whether the CUDA 7.5 tool must be installed into my computer or not under recompiling the VS project files of DualSPHysics V4.0 only for CPU.
Ps: I also check the main source code, parts of containing CUDA are quite a lot.
What should I do?
Thank you very much in advance.
According to the guide of DualSPHysics_v4, I want to try to recompile the DualSPHysics4_vs2013 or vs2010 files in the folder of DualSPHyiscs_v4. However, I can not do it smoothly.
the Detailed error info is listed as following.
*********************************************************
\for_DualSPH_test\DualSPH_v4.0\SOURCE\DualSPHysics_v4\DualSPHysics4_vs2010.vcxproj : error : Unable to read the project file "DualSPHysics4_vs2010.vcxproj".
\for_DualSPH_test\DualSPH_v4.0\SOURCE\DualSPHysics_v4\DualSPHysics4_vs2010.vcxproj(59,5): The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 7.5.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
*********************************************************
According to the above information, I understand that the CUDA 7.5 tool is not installed in my computer.
I want to know whether the CUDA 7.5 tool must be installed into my computer or not under recompiling the VS project files of DualSPHysics V4.0 only for CPU.
Ps: I also check the main source code, parts of containing CUDA are quite a lot.
What should I do?
Thank you very much in advance.
Comments
According to the guide, if you want to compile only the CPU code (without installing and using CUDA7.0) you have to choose:
- ReleseCPU in the windows project
- Use Makefile_cpu in linux
On the compilation in Windows Visual Studio, it is when I have released CPU in Visual Studio 2013, however, the obtained file is the DualSPHysics4_win64.exe, not the DualSPHysics4CPU_win64.exe. Why? Could you give me some advice?
I have done it, and obtained the DualSPHysics4CPU_win64.exe file which I want.
Thank you very much for your help.
Thanks
Thank you for your help.
How do I just open ReleseCPU? without opening project? I still get the same errors as in this thread. How did you solve it? Thanks!