Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: /home/hc/dextairity/PyFlex/bindings/build/pyflex.cpython-36m-x86_64-linux-gnu.so: undefined symbol: cudaSetupArgument #6

Open
canhe173 opened this issue Sep 8, 2022 · 6 comments

Comments

@canhe173
Copy link

canhe173 commented Sep 8, 2022

Hi guys,
When I run python test_sim.py, I get the following error:

Traceback (most recent call last): File "test_sim.py", line 2, in <module> from sim_env import SimEnv File "/home/hc/dextairity/sim_env.py", line 7, in <module> import pyflex ImportError: /home/hc/dextairity/PyFlex/bindings/build/pyflex.cpython-36m-x86_64-linux-gnu.so: undefined symbol: cudaSetupArgument

Can anyone help me??

@ngkhiem97
Copy link

I got the same issue. I'm running the program on Ubuntu 20.04

@ngkhiem97
Copy link

I'm thinking maybe CUDA is not installed

@ngkhiem97
Copy link

I have figured out where the error was. I forgot to replace the anaconda3 directory when starting the Nvidia docker container at

nvidia-docker run \
	-v $FLINGBOT_PATH:/workspace/flingbot\
	-v /path/to/your/anaconda3:/path/to/your/anaconda3\
	--gpus all --shm-size=64gb  -d -e DISPLAY=$DISPLAY -e QT_X11_NO_MITSHM=1 -it flingbot

@adakan4
Copy link

adakan4 commented Jun 30, 2023

I am also having this issue.

@adakan4
Copy link

adakan4 commented Jul 12, 2023

@canhe173 Running the docker container attached instead of detached (removed the -d tag in the docker run command) worked for me. Make sure to stay in the flingbot conda environment by using conda activate flingbot again after starting the docker container. Then exit the docker container using exit before evaluating or training.

@zcswdt
Copy link

zcswdt commented Nov 7, 2023

@canhe173 Running the docker container attached instead of detached (removed the -d tag in the docker run command) worked for me. Make sure to stay in the flingbot conda environment by using conda activate flingbot again after starting the docker container. Then exit the docker container using exit before evaluating or training.

Have you run through the author's training code yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants