win7-VMware workstation12-ubuntu15安裝oof2-原創帖

安裝過程參考oof的官網及軟件下載后安裝包內的readme文件

VMware12.0 下安裝ubuntu-15.10-desktop-amd64.iso

 

win7-VMware workstation12-ubuntu15安裝oof2-原創帖的圖1Ubuntu(全程使用root用戶,命令sudo su后輸入密碼轉換為root用戶)(遇到錯誤unable to locate package,使用命令sudo apt-get update)

>sudo su (轉換為root用戶)

>sudo apt-get remove graphicsmagick-libmagick-dev-compat

>sudo apt-get install python-gtk2-dev

>sudo apt-get install libgnomecanvas2-dev

>sudo apt-get install libmagick++-dev

>sudo apt-get install liblapack-dev

>sudo apt-get install libgoogle-perftools4

>sudo apt-get install bison

 

The first line is only necessary if already have GraphicsMagick installed, but it's harmless if you don't. The last line is required for OOF2 version 2.1.12 and later.

然后下載oof2-2.1.12.tar.gz,解壓文件,將文件復制到home文件夾下,然后cd to that directory. Read the README.md file and follow the directions in it.基本步驟如下

 

> tar -xzf oof-<version>.tar.gz(解壓文件并復制文件夾到home下)

> cd oof-<version>(進入解壓后的oof文件夾,命令cd /home/zhiyuanwei/oof2.1.12)

> python setup.py build(必須使用root用戶,編譯文件)

> python setup.py install(必須使用root用戶,安裝文件)

You can now simply type "oof2"at your shell prompt, and OOF2 will start up.

OOF also has many options, and you can get a summary of them by typing

"oof2 --help".

 

下次運行oof的命令,root@ubuntu:/home/zhiyuanwei/ oof2-2.1.12#oof2

 

 

 

成功安裝,過程中用到的命令:

root@ubuntu:/home/weizhiyuanmali/Downloads/oof2-2.1.12# history

    1  cd /

    2  sudo apt-get install libgoogle-perftools4

3  sudo apt-get install bison

以上是為了安裝blas

   You should also have the ability to run lapack and the "blas" basic

   linear algebra subroutines.  On Macintosh OS X, they are built in

   to the Accelerate framework in the OS, and no special libraries are

   required.  On Linux and commercial Unix systems, they may have to

   be installed, and you may require headers (sometimes provided as

   part of a "-dev" package).

 

    4  cd /home

    5  cd Downloads

    6  cd /Home/Downloads/oof-2.1.12

    7  cd /home/Downloads

    8  cd weizhiyuanmali/

    9  ls

   10  cd Downloads/

   11  cd oof2-2.1.12

   12  python setup.py build

   13  python setup.py install

 

 

   14  python -c "import sys; print sys.path"

   15  oof2

   16  oof2 --help

   17  oof3d

   18  oof2

   19  history

root@ubuntu:/home/weizhiyuanmali/Downloads/oof2-2.1.12#

00002.png


ABAQUS斷裂模擬收徒 ,快速學會各種ABAQUS斷裂模擬方法    **/人(將有機會享有各種插件以及程序,價值**、專門定制視頻、全程親自教學、各種模型調試及解答問題等等,傾囊相教)

登錄后免費查看全文
立即登錄
App下載
技術鄰APP
工程師必備
  • 項目客服
  • 培訓客服
  • 平臺客服

TOP

1
2
5