E.Mogura です。
インストールは出来ていますが、実行時には、環境変数などを取り込んでやる必要があります。
通常の作法は、端末を開いて、
. /home/sscal/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc
と打ち込んでやることで、エラーメッセージの、
Please refer to the installation section of the README file:
<OpenFOAM installation dir>/OpenFOAM-1.6/README
to source the OpenFOAM environment.
意味するところです。
一方、OpenFOAM-1.6.x installer for Ubuntu でインストールした場合ですと、
startFoam だったかのコマンドがそれをやってくれるようになると思います。
これは上記によるインストールが終了した時に、
その旨のメッセージが出ていたはずなんですが・・・
(手元に環境が残っていないので定かではありません)
On 6月15日, 午後1:52, KIBI <
m.kabas...@gmail.com> wrote:
> はじめましてKIBIといいます.
> OpenFOAM-1.6.x installer for Ubuntu にてUbuntu10.04 にインストールを行い,チュートリアルを始め
> たところ
>
> blockMesh: command not found
>
> となり実行できませんでした.そこでfoamInstallationTestを実行したところ
>
> Executing ./foamInstallationTest:
>
> Checking basic setup...
> --------------------------------------------------------------------------------
>
> FATAL ERROR: OpenFOAM environment not configured.
>
> Please refer to the installation section of the README file:
> <OpenFOAM installation dir>/OpenFOAM-1.6/README
> to source the OpenFOAM environment.
>
> となりました.しかし,インストールlog上では
>
> Executing /home/sscal/OpenFOAM/OpenFOAM-1.6.x/bin/
> foamInstallationTest:
>
> Checking basic setup...
> --------------------------------------------------------------------------------
> Shell: bash
> Host: sscal-desktop
> OS: Linux version 2.6.32-22-generic-pae
> --------------------------------------------------------------------------------
>
> Checking main OpenFOAM env variables...
> --------------------------------------------------------------------------------
> Environment_variable Set_to_file_or_directory
> Valid Crit
> --------------------------------------------------------------------------------
> $WM_PROJECT_INST_DIR /home/sscal/OpenFOAM
> yes yes
> $WM_PROJECT_USER_DIR /home/sscal/OpenFOAM/sscal-1.6.x
> no no
> $WM_THIRD_PARTY_DIR /home/sscal/OpenFOAM/ThirdParty-1.6.x
> yes yes
> --------------------------------------------------------------------------------
>
> Checking the OpenFOAM env variables set on the PATH...
> --------------------------------------------------------------------------------
> Environment_variable Set_to_file_or_directory Valid
> Path Crit
> --------------------------------------------------------------------------------
> $WM_PROJECT_DIR /home/sscal/OpenFOAM/OpenFOAM-1.6.x yes
> yes yes
>
> $FOAM_APPBIN ...1.6.x/applications/bin/linuxGccDPOpt yes
> yes yes
> $FOAM_SITE_APPBIN ...penFOAM/site/1.6.x/bin/linuxGccDPOpt
> no no
> $FOAM_USER_APPBIN ...1.6.x/applications/bin/linuxGccDPOpt
> no no
> $WM_DIR .../sscal/OpenFOAM/OpenFOAM-1.6.x/wmake yes
> yes yes
> --------------------------------------------------------------------------------
>
> Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
> --------------------------------------------------------------------------------
> Environment_variable Set_to_file_or_directory Valid
> Path Crit
> --------------------------------------------------------------------------------
> $FOAM_LIBBIN ...OAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt yes
> yes yes
> $FOAM_SITE_LIBBIN ...penFOAM/site/1.6.x/lib/linuxGccDPOpt
> no no
> $FOAM_USER_LIBBIN ...enFOAM/sscal-1.6.x/lib/linuxGccDPOpt
> no no
> $MPI_ARCH_PATH ...penmpi-1.3.3/platforms/linuxGccDPOpt yes
> yes yes
> --------------------------------------------------------------------------------
>
> Third party software
> --------------------------------------------------------------------------------
> Software Version Location
> --------------------------------------------------------------------------------
> gcc 4.3.3 ...OAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux/
> bin/gcc
> gzip 1.3.12 /bin/
> gzip
> tar 1.22 /bin/
> tar
> icoFoam 1.6.x .../OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/
> icoFoam
> --------------------------------------------------------------------------------
>
> Summary
> --------------------------------------------------------------------------------