AutoDMP icon indicating copy to clipboard operation
AutoDMP copied to clipboard

./tuner/run_tuner.sh error

Open Picrew opened this issue 1 year ago • 1 comments

  • CUDA-11.3
  • torch 1.12.1 with 11.3 run ./tuner/run_tuner.sh meet error `(autodmp) ljj@ljj-System-Product-Name:~/ljj/AutoDMP$ sudo -E ./tuner/run_tuner.sh 1 1 test/nvdla_nangate45_51/configspace.json test/nvdla_nangate45_51/NV_NVDLA_partition_c.aux test/nvdla_nangate45_51/nvdla_ppa.json "" 20 2 0 0 10 ./tuner test/nvdla_nangate45_51/mobohb_log Parameters: 1 1 test/nvdla_nangate45_51/configspace.json test/nvdla_nangate45_51/NV_NVDLA_partition_c.aux test/nvdla_nangate45_51/nvdla_ppa.json "" 20 2 0 0 10 ./tuner test/nvdla_nangate45_51/mobohb_log

Parameters: 190

(autodmp) ljj@ljj-System-Product-Name:~/ljj/AutoDMP$ Traceback (most recent call last): File "./tuner/tuner_train.py", line 36, in from tuner_worker import AutoDMPWorker File "/home/ljj/ljj/AutoDMP/tuner/tuner_worker.py", line 28, in from dreamplace.Placer import PlacementEngine File "/home/ljj/ljj/AutoDMP/dreamplace/Placer.py", line 42, in Traceback (most recent call last): File "./tuner/tuner_train.py", line 36, in import dreamplace.NonLinearPlace as NonLinearPlace File "/home/ljj/ljj/AutoDMP/dreamplace/NonLinearPlace.py", line 39, in import dreamplace.BasicPlace as BasicPlace File "/home/ljj/ljj/AutoDMP/dreamplace/BasicPlace.py", line 48, in from tuner_worker import AutoDMPWorker import dreamplace.ops.independent_set_matching.independent_set_matching as independent_set_matching File "/home/ljj/ljj/AutoDMP/tuner/tuner_worker.py", line 28, in File "/home/ljj/ljj/AutoDMP/dreamplace/ops/independent_set_matching/independent_set_matching.py", line 32, in import dreamplace.ops.independent_set_matching.independent_set_matching_cuda as independent_set_matching_cuda ImportError: /home/ljj/ljj/AutoDMP/dreamplace/ops/independent_set_matching/independent_set_matching_cuda.cpython-38-x86_64-linux-gnu.so: undefined symbol: curandCreateGenerator from dreamplace.Placer import PlacementEngine File "/home/ljj/ljj/AutoDMP/dreamplace/Placer.py", line 42, in import dreamplace.NonLinearPlace as NonLinearPlace File "/home/ljj/ljj/AutoDMP/dreamplace/NonLinearPlace.py", line 39, in import dreamplace.BasicPlace as BasicPlace File "/home/ljj/ljj/AutoDMP/dreamplace/BasicPlace.py", line 48, in import dreamplace.ops.independent_set_matching.independent_set_matching as independent_set_matching File "/home/ljj/ljj/AutoDMP/dreamplace/ops/independent_set_matching/independent_set_matching.py", line 32, in import dreamplace.ops.independent_set_matching.independent_set_matching_cuda as independent_set_matching_cuda ImportError: /home/ljj/ljj/AutoDMP/dreamplace/ops/independent_set_matching/independent_set_matching_cuda.cpython-38-x86_64-linux-gnu.so: undefined symbol: curandCreateGenerator Traceback (most recent call last): File "./tuner/tuner_train.py", line 36, in from tuner_worker import AutoDMPWorker File "/home/ljj/ljj/AutoDMP/tuner/tuner_worker.py", line 28, in from dreamplace.Placer import PlacementEngine File "/home/ljj/ljj/AutoDMP/dreamplace/Placer.py", line 42, in import dreamplace.NonLinearPlace as NonLinearPlace File "/home/ljj/ljj/AutoDMP/dreamplace/NonLinearPlace.py", line 39, in import dreamplace.BasicPlace as BasicPlace File "/home/ljj/ljj/AutoDMP/dreamplace/BasicPlace.py", line 48, in import dreamplace.ops.independent_set_matching.independent_set_matching as independent_set_matching File "/home/ljj/ljj/AutoDMP/dreamplace/ops/independent_set_matching/independent_set_matching.py", line 32, in import dreamplace.ops.independent_set_matching.independent_set_matching_cuda as independent_set_matching_cuda ImportError: /home/ljj/ljj/AutoDMP/dreamplace/ops/independent_set_matching/independent_set_matching_cuda.cpython-38-x86_64-linux-gnu.so: undefined symbol: curandCreateGenerator ` How to fix it

Picrew avatar Mar 28 '24 07:03 Picrew

You are most likely using a later version of CUDA that is not compatible with Dreamplace. Try downgrading CUDA to an older version or, even better, update Dreamplace to newest release which should support CUDA 10/11.

neema-m avatar Feb 10 '25 21:02 neema-m