Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pycuda and matlab problem!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
fjkhf
n00b
n00b


Joined: 22 Sep 2013
Posts: 4

PostPosted: Sun Sep 22, 2013 11:50 am    Post subject: pycuda and matlab problem! Reply with quote

Hello ,

I use sabayon amd64 , but I did not find an answer to my problem , so I am trying here.

Regarding the pycuda problem :

I have installed

Quote:
dev-python/pycuda-2013.1.1
and
Quote:
dev-util/nvidia-cuda-sdk-5.0.35-r1
and
Quote:
dev-util/nvidia-cuda-toolkit-5.0.35-r4


but I can't find where pycuda is!

The
Quote:
find / -type d |grep pycuda
gives:

Quote:
find: ‘/var/run/user/1000/gvfs’: Access denied
find: ‘/run/user/1000/gvfs’: Access denied
/var/db/pkg/dev-python/pycuda-2013.1.1
/usr/lib64/python2.7/site-packages/pycuda
/usr/lib64/python2.7/site-packages/pycuda/compyte
/usr/lib64/python2.7/site-packages/pycuda/sparse
/usr/lib64/python2.7/site-packages/pycuda/cuda
/usr/lib64/python2.7/site-packages/pycuda/gl
/usr/lib64/python2.7/site-packages/pycuda-2013.1.1-py2.7.egg-info
/usr/share/doc/pycuda-2013.1.1
/tmp/pycuda-compiler-cache-v1-uid1000



The above are the libraries if I am not mistaking.
The pycuda folder supposes to have the "configure.py" and "test_driver.py" files. But I can't find them.
They don't exist.

Regarding the matlab :

when I execute the 'install' script it shows me:

Quote:

cp: copy error «/tmp/mathworks_9300/bin/glnxa64/libstdc++.so.6»: No free space in device
cp: copy error «/tmp/mathworks_9300/bin/glnxa64/libstdc++.so.6.0.13»: No free space in device
cp: failed to extend «/tmp/mathworks_9300/bin/glnxa64/libstdc++.so.6.0.13»: No free space in device



and of course I have plenty of space.

I tried
Quote:
./install -tmpdir ./for_matlab
and the installation starts but at about 27% throws me:

Quote:

The following error was detected while installing aero_common:

archive is not a ZIP archive


Any help would be appreciated.

Thanks!
Back to top
View user's profile Send private message
fjkhf
n00b
n00b


Joined: 22 Sep 2013
Posts: 4

PostPosted: Mon Sep 23, 2013 4:16 pm    Post subject: Reply with quote

Ok , for matlab I had to do :


Code:
./install -tmpdir ./for_matlab


and increase the /tmp folder size by changing the line in /etc/fstab to

Code:
tmpfs                   /tmp                    tmpfs   noexec,nosuid,nodev,size=1000M 0 0



and everything worked!

As for pycuda I have to install it manually.
Back to top
View user's profile Send private message
DrWilken
Apprentice
Apprentice


Joined: 12 Dec 2003
Posts: 219
Location: Oelsted ("BeerPlace"), Denmark

PostPosted: Fri Apr 11, 2014 10:56 pm    Post subject: Reply with quote

I know this is a very old post, but if anyone finds this post by searching they might as well learn a new trick... :)

You can use 'equery' to list files belonging to a package (amongst other things)... ;-)

It's in the 'gentoolkit' package.

Code:

# install gentoolkit
emerge gentoolkit
# list files belonging to package 'pycuda'
equery files pycuda


If You want to see other options of 'equery' just run it without parameters... ;)

And if You want to see which other tools the 'gentoolkit' package brings use:
Code:

equery files gentoolkit

_________________
-=[DrWilken]=-
ASUS AT5IONT-I (64bit Dual Core Atom D525 processor with Nvidia ION(2) GPU) running Gentoo Linux... Latest and Greatest... :)
tux-power.dk


Last edited by DrWilken on Fri Apr 11, 2014 11:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1364

PostPosted: Fri Apr 11, 2014 11:12 pm    Post subject: Reply with quote

fjkhf wrote:
As for pycuda I have to install it manually.


configure.py sounds like something from the upstream tarball, which is used for configuring the installation; as it is no longer needed after installation, it's not installed along. So, indeed; if this is right and you still need that then a manual install is the only remaining way to go to obtain it back.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum