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

"cat: tmp" No such file or directory" Error #45

Closed
collegeblock opened this issue Jul 11, 2019 · 2 comments
Closed

"cat: tmp" No such file or directory" Error #45

collegeblock opened this issue Jul 11, 2019 · 2 comments

Comments

@collegeblock
Copy link

Hi everyone,

I'm currently trying to install and use Unet for some cell quantification. I decided to go with AWS option, however I'm having some troubles passing by this step:
" echo "export PATH=$PATH:/home/ubuntu/caffe_unet_package_16.04_gpu_no_cuDNN/bin" | cat - tmp > ~/.bashrc"
I get an error saying: "cat: tmp" No such file or directory"

Could you please help with this?
Thank you in advance.
Best.

@ThorstenFalk
Copy link
Collaborator

Agreed, this is a documentation error, strange that nobody stumbled over it before.

Please use the following commands (updated on the website):

cd ~
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
sudo apt-get update
sudo apt-get install -y cuda-8.0 unzip
sudo apt-get clean
wget https://lmb.informatik.uni-freiburg.de/lmbsoft/unet/caffe_unet_package_16.04_gpu_no_cuDNN.zip
unzip caffe_unet_package_16.04_gpu_no_cuDNN.zip
echo "export PATH=$PATH:/home/ubuntu/caffe_unet_package_16.04_gpu_no_cuDNN/bin" | cat - ~/.bashrc > tmp
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ubuntu/caffe_unet_package_16.04_gpu_no_cuDNN/lib:/home/ubuntu/caffe_unet_package_16.04_gpu_no_cuDNN/extlib:/usr/local/cuda-8.0/lib64" | cat - tmp > ~/.bashrc

@collegeblock
Copy link
Author

Perfect! Thank you very much!
Have a nice day.

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

2 participants