[mephi-hpc] OpenFOAM

anikeev anikeev at ut.mephi.ru
Wed Oct 1 10:49:26 MSK 2014


Добрый день!

Узнать версию установленного ПО можно с помощью утилиты eix:

anikeev at master.unicluster ~ $ eix openfoam
[U] sci-libs/openfoam
     Available versions:  (2.2) (~)2.2.1{tbz2} (~)2.2.2 (~)2.3.0
       {doc examples opendx paraview src}
     Installed versions:  2.2.1(2.2){tbz2}(01:03:10 AM 09/29/2013)(-doc
-examples -opendx -src)
     Homepage:            http://www.openfoam.org
     Description:         Open Field Operation and Manipulation - CFD
Simulation Toolbox

anikeev at master.basov ~ $ eix openfoam
[I] sci-libs/openfoam
     Available versions:  (2.2) (~)2.2.1 (~)2.2.2 (~)2.3.0{tbz2}
       {doc examples opendx paraview src}
     Installed versions:  2.3.0(2.2){tbz2}(11:28:56 PM 03/31/2014)(-doc
-examples -opendx -paraview -src)
     Homepage:            http://www.openfoam.org
     Description:         Open Field Operation and Manipulation - CFD
Simulation Toolbox

Таким образом, на ферме Unicluster установлена версия 2.2.1, а на Basov
- 2.3.0. Как можно узнать из документации OpenFOAM (

anikeev at master.basov ~ $ locate openfoam | grep doc
/home/xaionaro/OpenFOAM/OpenFOAM-2.2.2/doc/Doxygen/css/openfoam.css
/home/xaionaro/OpenFOAM-maxpressure/OpenFOAM-2.2.0/doc/Doxygen/css/openfoam.css
/usr/share/doc/openfoam-2.3.0
/usr/share/doc/openfoam-2.3.0/ProgrammersGuide.pdf
/usr/share/doc/openfoam-2.3.0/README.html
/usr/share/doc/openfoam-2.3.0/UserGuide.pdf

либо http://www.openfoam.org/docs/ )

для его использования необходимо установить переменные окружения:

source /usr/lib64/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc

Далее, сами решатели OpenFOAM можно найти при помощи утилиты which, как
и любые другие бинарии:

anikeev at master.basov ~ $ which fireFoam
/usr/lib64/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/fireFoam

С уважением,
инженер отдела UNIX-техолгий
Аникеев Артём.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ut.mephi.ru/pipermail/hpc/attachments/20141001/11702862/attachment.sig>


More information about the hpc mailing list