日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > Ubuntu >内容正文

Ubuntu

install yael on the ubuntu 12.04

發(fā)布時間:2023/12/10 Ubuntu 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 install yael on the ubuntu 12.04 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

1.?bits/predefs.h no such file or directory ????

    sudo apt-get install?gcc-multilib

2. sudo gedit /etc/profile ? PATH=$PATH:/usr/local/MATLAB/R2012a/bin?

? ? source /etc/profile

3.ubuntu 切換gcc 版本

? ? ?1)sudo apt-get install?gcc-4.4 g++-4.4 g++-4.4-multilib gcc-4.4-multilib

? ? ?2)

root@ubuntu:~# ls /usr/bin/gcc* -l
lrwxrwxrwx 1 root root 21 Sep 18 04:42 /usr/bin/gcc -> /etc/alternatives/gcc
-rwxr-xr-x 1 root root 224544 Apr 15 22:58 /usr/bin/gcc-4.4
-rwxr-xr-x 1 root root 306200 Apr 15 19:45 /usr/bin/gcc-4.6
root@ubuntu:~#update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 50
root@ubuntu:~#update-alternatives --install /usr/bin/g++ gcc /usr/bin/g++-4.4 50

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 100

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 100

? ?3 ) sudo update-alternatives --config gcc

? ? ? ? ?sudo update-alternatives --config g++ ? ?

? ? to choose the gcc and g++ current version that you need

4. lsb_release -a ? 查看系統(tǒng)的版本號

5. uname -a    ??查看系統(tǒng)是32位還是64位

6.?/usr/bin/ld: i386:x86-64 architecture of input file `yael4matlab.a(kmeans.o)' is incompatible with i386 output

  -m32 ?與 -m64之間的問題,需要根據(jù)自己platform的實際情況進行配置

7. install LAPACK and BLAS

? ? 1) sudo apt-get install liblapack-dev

? ? 2) download from the link?http://www.netlib.org/blas/blas.tgz

? ? ? ??

  $ cd $CLASSHG/codes/lapack$ tar -zxf blas.tgz # creates BLAS subdirectory$ cd BLAS$ gfortran -O3 -c *.f$ ar cr libblas.a *.o # creates libblas.a

reference http://faculty.washington.edu/rjl/uwamath583s11/sphinx/_build/html/lapack_install.html

?

轉(zhuǎn)載于:https://www.cnblogs.com/changingivan/p/3329377.html

總結(jié)

以上是生活随笔為你收集整理的install yael on the ubuntu 12.04的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。