big-data-lab-umbc / Reproducible_and_portable_app_in_cloud

A toolkit to deploy, execute, analyze, and reproduce big data analytics automatically in the cloud.
6 stars 6 forks source link

Nvidia Docker run issues #16

Closed C4rohan closed 1 year ago

C4rohan commented 1 year ago
image
ubuntu@ip-172-31-2-223:~$ docker run --gpus all -v /home/ubuntu/cloud-phase-prediction-main:/root/CloudPhasePrediction -v /home/ubuntu/output_data:/root/output_data rohansalvi98/cloudpredictionphasegpu sh -c "cd CloudPhasePrediction && python train.py --training_data_path='./example/training_data/' --model_saving_path='/root/output_data'"
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
ERRO[0000] error waiting for container:
C4rohan commented 1 year ago

Resolved by selecting proper Ubuntu image

image image

Select either of Ubuntu image