OpenFOAMインストールその2.1



Similar documents
RedHat OpenFOAM OpenFOAM ver 2.3 RedHat(RHEL)

Microsoft Word - PSB導入ガイド_ docx

untitled



Microsoft Word - ChoreonoidStartUpGuide.docx

OpenAM 13 インストールガイド

2_Boost(1.60.0) のインストール No 概要対象ユーザコマンド確認 ( 確認コマンド等 ) 備考 1 Boostのソースディレクトリ作成 2 boost_1_60_0.tar.gz の取得 # mkdir /usr/local/src/boost_1_60_0 # chown : /u

fx-9860G Manager PLUS_J

1 138

Red Hat Enterprise Linux AS (v.3 for IPF) Update 3

FC741E2_091201

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

Oracle Application Server 10g(9

1 (bit ) ( ) PC WS CPU IEEE754 standard ( 24bit) ( 53bit)

N manual_JP.PDF

はじめに このドキュメントではftServerに関する障害調査を行う際に 必要となるログ データの取得方法を説明しています ログ データの取得には 初期解析用のデータの取得方法と 詳細な調査を行うときのデータ取得方法があります 特別な理由でOS 側のログが必要となった場合には RHELログの取得につ

(Microsoft PowerPoint - SM_2011_07_30_\202\250\202\334\202\257)

Sybase on CLUSTERPRO for Linux HowTo

Oracle Application Server 10g( )インストール手順書

<Documents Title Here>

UCS M シリーズ サーバでの Redhat/CentOS オペレーティング システムのインストール

1 142

1 1 CentOS Java JDK(JavaSE Development Kit)......

HITACHI Gigabit Fibre Channel (SUSE Linux Enterprise Server IOCard-FP2-Z-199(1)

$ cmake --version $ make --version $ gcc --version 環境が無いあるいはバージョンが古い場合は yum などを用いて導入 最新化を行う 4. 圧縮ファイルを解凍する $ tar xzvf gromacs tar.gz 5. cmake を用

US40cユーザーズガイド

9 rbenv rbenv ruby 9.1 rbenv rbenv rbenv ruby ruby-build ruby 9.2 rbenv macos.bash_profile ~/.bash_profile ~/.bash_profile.bak $ touch ~/.bash_profile

Microsoft Word - D JP.docx

debian_manual.dvi

untitled

untitled

法政大学理工学部創生科学科 小林一行研究室 YP-Spur をMATLAB で使うには? YP-Spur は,Linux ベースで開発されているようであるが,Windows でも使えるようなので, ここでは,Windows 版のMATLAB から使う方法を紹介する.YP-Spu

プレゼンテーション

Red Hat Enterprise Linux ES (v. 3)

Microsoft Word - nvsi_090196_r1_vaultdr_offline_rhel_dualpath.doc

C-720 Ultra Zoom 取扱説明書

Microsoft Word - Win-Outlook.docx

最も一般的な手法: ファイアウォールによってノード間の MPI 通信がブロックされた場合の対応方法

ExpressUpdate Agent インストレーションガイド

改版履歴 本書の改版履歴は以下のとおりです 日付 改版理由 変更箇所 版数 2014/09/04 初版発行 版 2015/03/30 第 1.1 版に改訂 対象 OS 追加 1.1 版 2015/07/10 第 1.2 版に改訂 対象 OS 追加 1.2 版 2015/09/04 第 1

Xen入門 ppt

Xen入門 ppt

Report Template

VNSTProductDes3.0-1_jp.pdf

Actual ESS Adapterの使用について

course pptx

dvi

ネットワークビデオレコーダー VK-64/VK-16/VK-Lite v2.2 セットアップガイド

Docker Haruka Iwao Storage Solution Architect, Red Hat K.K. February 12, 2015

3 Ubuntu Linux Ubuntu Linux Debian Linux DistroWatch.com 1 Debian Ubuntu Linux 1 Debian CD(4.1 ) Knoppix Debian CentOS Linux CentOS 1 Ubuntu L

main.dvi

Ubuntu Linux PC Ubuntu Linux (14.04 LTS, Trusty Tahr) 32bit CD 64bit CD 2. 32bit CPU 64bit 32bit PC CPU 32bit 64bit Windows 64bit 64bit. 32bit Core 64

3.2 Linux root vi(vim) vi emacs emacs 4 Linux Kernel Linux Git 4.1 Git Git Linux Linux Linus Fedora root yum install global(debian Ubuntu apt-get inst

technews2012autumn

ESMPRO/ServerAgent Extension インストレーションガイド

Quickstart Guide 3rd Edition

ドライバインストールガイド

gworksctl コマンドマニュアル 2019/6/17 株式会社 GDEP アドバンス 本書は GDEP Advance gworksctl コマンドマニュアルです G-Works G-Works Deep Learning Distribution for Linux( 以下 G-Works)

FTDI Driver Error and Recovery Procedure Check FTDI driver operation Rev :OK, Rev :NG, Rev :NG May 11, 2017 CHECK FTDI DRIVER

ExpressUpdate Agent インストレーションガイド

PowerGres on Linuxマニュアル

A : kerl kerl Erlang/OTP Erlang/OTP 2 2 Elixir/Phoenix URL 2 PDF A.2 Bash macos.bash_profile exp

JNOD32OPE_1.book

HA8000-bdシリーズ RAID設定ガイド HA8000-bd/BD10X2

LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License

橡ボーダーライン.PDF

ゲスト OS インストール ガイド



DX-PC55_−ç(0)-A


Slide 1

Microsoft Word - PrivateAccess_UM.docx

ExpressUpdate Agent インストレーションガイド

untitled

ExpressUpdate Agent インストレーションガイド

Transcription:

RedHat Linux OpenFOAM OpenFOAM-2.4.x y.imagawa 15.6.13

RedHat OpenFOAM OpenFOAM-2.3.0 www.openfoam.com OpenFOAM-2.4.0 OpenFOAM ver 2.3.0 RHEL ver 2.4.0

OpenFOAM http://www.openfoam.org/download/git.php gcc 4.4 4.7 RHEL gcc upgrade ( ) rpm

OS CentOS 6.6 (64bit) OS Software Development Workstation yum OpenFOAM ver 2.4.x parafoam ParaView (gcc,mpi OpenFOAM

1. rpm 2. & 3. 4. 5.Allwmake 6. (foaminstallationtest)

1. rpm gcc-c++ Software Development Workstation Server yum

2. OpenFOAM source % git clone https://github.com/openfoam/openfoam-2.4.x.git OpenFOAM ThirdParty source http://downloads.sourceforge.net/foam/thirdparty-2.4.0.tgz?use_mirror=mesh OpenFOAM http://ftp.jaist.ac.jp/pub/gnu/gcc/gcc-4.8.4.tar.bz2 http://ftp.jaist.ac.jp/pub/gnu/mpfr/mpfr-3.1.2.tar.bz2 http://ftp.jaist.ac.jp/pub/gnu/gmp/gmp-5.1.3.tar.bz2 http://ftp.jaist.ac.jp/pub/gnu/mpc/mpc-1.0.3.tar.gz http://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.tar.bz2/download http://www.open-mpi.org/software/ompi/v1.8/openmpi-1.8.5.tar.gz

2. /opt/openfoam OpenFOAM-2.4.x ThirdParty-2.4.x ThirdParty-2.4.0 gcc-4.8.4 gmp-5.1.3 mpfr-3.1.2 mpc-1.0.3 boost_1_58_0 openmpi-1.8.5 openmpi-1.8.5 ThirdParty openmpi.org

3. OpenFOAM/ThirdParty-2.4.x/makeGcc47 OpenFOAM/OpenFOAM-2.4.x/etc/bashrc OpenFOAM/OpenFOAM-2.4.x/etc/config/settings.sh OpenFOAM/ThirdParty-2.4.x/Allwmake OpenFOAM/ThirdParty-2.4.x/makeCGAL OpenFOAM/OpenFOAM-2.4.x/etc/config/CGAL.sh OpenFOAM/ThirdParty-2.4.x/Allwmake

OpenFOAM/ThirdParty-2.4.x/makeGcc # Note # gcc 4.3.2 is known to miscompile GMP 4.3.x on 64-bit machines # #------------------------------------------------------------------------------ gmppackage=gmp-5.1.3 mpfrpackage=mpfr-3.1.2 mpcpackage=mpc-1.0.3 gccpackage=gcc-4.8.4

OpenFOAM/OpenFOAM-2.4.x/etc/bashrc #- Compiler location: # foamcompiler= system ThirdParty (OpenFOAM) #foamcompiler=system foamcompiler=thirdparty ~~~~~~~~~~~~~~~~ #- MPI implementation: # WM_MPLIB = SYSTEMOPENMPI OPENMPI SYSTEMMPI MPICH MPICH-GM HPMPI # MPI QSMPI SGIMPI # export WM_MPLIB=SYSTEMOPENMPI export WM_MPLIB=OPENMPI

OpenFOAM/OpenFOAM-2.4.x/etc/config/settings.sh case "${foamcompiler}" in OpenFOAM ThirdParty) case "$WM_COMPILER" in Gcc Gcc++0x Gcc48 Gcc48++0x) gcc_version=gcc-4.8.4 gmp_version=gmp-5.1.3 mpfr_version=mpfr-3.1.2 mpc_version=mpc-1.0.3 ;;

OpenFOAM/ThirdParty-2.4.x/makeCGAL # Mixing system and ThirdParty for gmp/mpfr is not supported. # #------------------------------------------------------------------------------ set -x cgalpackage=cgal-4.6 boostpackage=boost_1_58_0 gmppackage=gmp-5.1.3 mpfrpackage=mpfr-3.1.2

OpenFOAM/OpenFOAM-2.4.x/etc/config/CGAL.sh # File # config/cgal.sh # # Description # Setup file for CGAL (& boost) include/libraries. # Sourced from OpenFOAM-<VERSION>/etc/bashrc #------------------------------------------------------------------------------ boost_version=boost_1_58_0 cgal_version=cgal-4.6

OpenFOAM/ThirdParty-2.4.x/Allwmake./configure \ --prefix=$mpi_arch_path \ --disable-orterun-prefix-by-default \ --enable-shared --disable-static \ --libdir=$mpi_arch_path/lib${wm_compiler_lib_arch} \ # --disable-mpi-f77 \ # --disable-mpi-f90 \ --enable-mpi-fortran= no \ --disable-mpi-profile \ $configopt \ ; openmpi-1.8.5 configure disable-mpi-f77, disable-mpi-f90 enable-mpi-fortran=no

makegcc OpenFOAM %. /opt/openfoam/openfoam-2.4.x/etc/bashrc OpenFOAM Warning Warning in /opt/openfoam/openfoam-2.4.x/etc/config/settings.sh: Cannot find /opt/openfoam/thirdparty-2.4.x/platforms/linux64/gcc-4.8.4 installation. Please install this compiler version or if you wish to use the system compiler, change the 'foamcompiler' setting to 'system' % cd /opt/openfoam/thirdparty-2.4.x %./makegcc % exit OpenFOAM

makecmake ParaView cmake %. /opt/openfoam/openfoam-2.4.x/etc/bashrc OpenFOAM ( Warning % cd /opt/openfoam/thirdparty-2.4.x %./makecmake % exit OpenFOAM makecmake cmake PATH OpenFOAM

makecgal %. /opt/openfoam/openfoam-2.4.x/etc/bashrc OpenFOAM ( Warning % cd /opt/openfoam/thirdparty-2.4.x %./makecgal % exit OpenFOAM makecgal CGAL PATH OpenFOAM OpenFOAM

Allwmake mpi, scotch, OpenFOAM library, application %. /opt/openfoam/openfoam-2.4.x/etc/bashrc OpenFOAM % export WM_NCOMPPROCS=4 ( % cd /opt/openfoam/openfoam-2.4.x %./Allwmake % exit OpenFOAM

% foaminstallationtest Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. Done

parafoam

OS CentOS 6.6 (64bit) Software Development Workstation yum OpenFOAM ver 2.4.x parafoam (gcc,mpi OpenFOAM

Qt http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz Qt /opt/openfoam OpenFOAM-2.4.x ThirdParty-2.4.x qt-everywhere-opensource-src-4.8.6 OpenFOAM/ThirdParty-2.4.x/makeQt #------------------------------------------------------------------------------ qtversion=4.8.6 qttype=qt-everywhere-opensource-src #------------------------------------------------------------------------------ rpm (root )

%. /opt/openfoam/openfoam-2.4.x/etc/bashrc OpenFOAM % cd /opt/openfoam/thirdparty-2.4.x %./makeqt Qt %./makeparaview4 ParaView4 % cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers %./Allwclean %./Allwmake PV4Reader