Giter Club home page Giter Club logo

Comments (7)

johnson111788 avatar johnson111788 commented on July 17, 2024

Hi,

Could you provide the error message you encountered?

Best,
Johnson

from vps.

Hummels0214 avatar Hummels0214 commented on July 17, 2024

Hi,
I have built setup.py but when I tried to run my_train.py it told me ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory, when I step into this error I found there is no self_cuda_backend in PNSPlusModule.py. I have tried Upgrade environment for NS block.pdf but it doesn't work.
My cuda version is 11.4 which same with pdf's.How can I solves this problem.
Thanks,
Hummels

from vps.

johnson111788 avatar johnson111788 commented on July 17, 2024

Hi,

Thank you for the information.

Are there any error messages during installation?

Best,
Johnson

from vps.

Hummels0214 avatar Hummels0214 commented on July 17, 2024

By the way, my cuda version is 11.4 and my torch version is 1.7.1. I found your pdf suggest torch version is 1.7.0 but it didn't match my cuda version.
Thanks,
Hummels
@

from vps.

Hummels0214 avatar Hummels0214 commented on July 17, 2024

When I follow the pdf, I didn't meet any error. I have changed my python version to 3.6.13, modified nvcc_args, modified cxx_args, and when I built setup.py, it told me ''Creating /home/ti-2/.conda/envs/PNS+/lib/python3.6/site-packages/self-cuda.egg-link (link to .)
self-cuda 0.0.0 is already the active version in easy-install.pth
Installed /home/ti-2/Desktop/VPS-main/lib/module/PNS
Processing dependencies for self-cuda==0.0.0
Finished processing dependencies for self-cuda==0.0.0
''
I doubt setup.py doesn't work.
Thanks
Hummels

from vps.

johnson111788 avatar johnson111788 commented on July 17, 2024

I tried installing it on cuda 11.7 and succeeded.

During installation, I modified CMakeLists.txt and met no error:

diff --git a/lib/module/PNS/PNS_Module/CMakeLists.txt b/lib/module/PNS/PNS_Module/CMakeLists.txt
--- a/lib/module/PNS/PNS_Module/CMakeLists.txt
+++ b/lib/module/PNS/PNS_Module/CMakeLists.txt
@@ -1,3 +1,12 @@
+get_directory_property(dir_defs DIRECTORY ${CMAKE_SOURCE_DIR} 
+COMPILE_DEFINITIONS) 
+set(vtk_flags) 
+foreach(it ${dir_defs}) 
+    if(it MATCHES "vtk*") 
+    list(APPEND vtk_flags ${it}) 
+    endif() 
+endforeach()
+
 cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
 project(SA)

If possible, could you provide your whole installation log? Or even better, you could downgrade the cuda version to meet the original requirement.

from vps.

Hummels0214 avatar Hummels0214 commented on July 17, 2024

Hi,
I have solved this problem, I changed cuda version to 11.0 but didn't change setup.py, fortunately it works
thanks for your answers!

from vps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.