saturne installation on Ubuntu

Posted code-saturne

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了saturne installation on Ubuntu相关的知识,希望对你有一定的参考价值。

saturne Installation on Ubuntu 16.04

1 installation guide on Ubuntu 16.04

  1. Install pre-packages before running install_saturne.py
    • Zlib (optional, not installed in this case)
    • BLAS (optional, not installed in this case)
    • Python
    • PyQt (optional, required for the GUI) sudo apt-get install python-pyqt5

      sudo apt-get install python3-pyqt5

      pyqt5 reference guide

    • C, C++, and Fortran compilers
      • on Ubuntu OS, type in:
        • sudo apt install gcc
        • sudo apt install gfortran
    • MPI (optional)
  2. compiling Create a directory named saturne_build run install_saturne.py
    mkdir /home/kaiming/Documents/Code-saturne/saturne_build
    cd /home/kaiming/Documents/Code-saturne/code_saturne_5_build
    /home/kaiming/Documents/Code-saturne/code_saturne_5/install_saturne.py
    
  3. Launch the package code_saturne from a terminal Two methods are available
    • 4
    • 1 of code_saturne,i.e. /home/kaiming/Code_Saturne/5.0.9/code_saturne-5.0.9/arch/Linux_x86_64/bin
  4. from: https://askubuntu.com/questions/1414/how-to-create-a-permanent-alias a. define a alias named code_saturne in a file, .bash_aliases

    >> vi .bashaliases

    Then define a alias as below

    >>cspath=/home/kaiming/CodeSaturne/5.0.9/codesaturne-5.0.9/arch/Linuxx8664/bin >> alias codesaturne="$cspath/codesaturne" 技术图片

c. To load .bash_aliases

  • add the following commands in the ~/.bashrc
    if [ -f ~/.bash_aliases ]; then
         . ~/.bash_aliases
    fi
    

    技术图片

then source ~/.bashrc

>> source ~/.bashrc

  1. http://www.linfo.org/path_env_var.html
  2. lauch code_saturne in any terminal >> codesaturne

to launch the GUI of code saturne

>> codesaturne gui

The documentation should then be available through the commands:

>> codesaturne info -g refcard #reference card

>> codesaturne info -g user

Author: kaiming

Created: 2019-03-31 Sun 12:33

Emacs 24.5.1 (Org mode 8.2.10)

Validate

以上是关于saturne installation on Ubuntu的主要内容,如果未能解决你的问题,请参考以下文章

install python3 on centos

pip install scipy on virtualenv 错误 RHEL6.5

Jetson TX1 install Opencv3

Saturn PCB Design Toolkit分享

Saturn PCB Design Toolkit分享

memcached server install(WSL)