摘要:
cd pycudapython ./configure.py –cuda-root=/usr/local/cuda –cudadrv-lib-dir=/usr/lib –boost-inc-dir=/usr/include –boost-lib-dir=/usr/lib –boost-python-libname=boost_python-mt26 –boost-thread-libname=boost_thread-mtmake -j 4sudo python setup.py install 阅读全文
摘要:
1 from scipy import io2 dataset = io.loadmat("a.mat")3 exclude = ['__globals__', '__header__', '__version__']4 for obj in dataset.keys():5 if obj not in exclude:6 print obj+'=dataset["'+obj+'"]'7 exec(obj+'=dataset["'+obj+' 阅读全文
摘要:
sudo apt-get install eclipse下载pydev for eclipse 2.8,如果是jre6解压。sudo nautilus 复制相应的文件夹到/usr/share/eclipse/dropins/对应的 features 和plugin文件夹里面查找安装目录find / ... 阅读全文