# Binary installation into the home directory ::::::{tab-set} :sync-group: lang :class: lang-tabs :::::{tab-item} En :sync: en Procedure for installing the binary version from [http://openfoam.com/download/ ](http://openfoam.com/download/%C2%A0) into the home directory: ``` bash $ cd $HOME $ mkdir OpenFOAM $ cd OpenFOAM $ wget htt://downloads.sourceforge.net/foam/OpenFOAM-1.6.General.gtgz?use_mirror=mesh $ wget htt://downloads.sourceforge.net/foam/OpenFOAM-1.6.linux64GccDPOpt.gtgz?use_mirror=mesh $ wget htt://downloads.sourceforge.net/foam/ThirdParty-1.6.General.gtgz?use_mirror=mesh $ wget htt://downloads.sourceforge.net/foam/ThirdParty-1.6.linux64Gcc.gtgz?use_mirror=mesh $ tar xzf OpenFOAM-1.6.General.gtgz $ tar xzf OpenFOAM-1.6.linux64GccDPOpt.gtgz $ tar xzf ThirdParty-1.6.General.gtgz $ tar xzf ThirdParty-1.6.linux64Gcc.gtgz $ source OpenFOAM-1.6/etc/bashrc ``` The problem with such a binary installation is the compatibility of the OpenMPI libraries, since in that case the nodes must be specified correctly, or the program can only be run on the local node\! **Such an installation is therefore not recommended; it is better to compile the entire code and use the system OpenMPI, which is integrated with SLURM.** ::::: :::::{tab-item} Slo :sync: sl **Binarna namestitev v domači imenik** Postopek namestitve binarne verzije s strani [http://openfoam.com/download/ ](http://openfoam.com/download/%C2%A0) v domači imenik: ``` bash $ cd $HOME $ mkdir OpenFOAM $ cd OpenFOAM $ wget htt://downloads.sourceforge.net/foam/OpenFOAM-1.6.General.gtgz?use_mirror=mesh $ wget htt://downloads.sourceforge.net/foam/OpenFOAM-1.6.linux64GccDPOpt.gtgz?use_mirror=mesh $ wget htt://downloads.sourceforge.net/foam/ThirdParty-1.6.General.gtgz?use_mirror=mesh $ wget htt://downloads.sourceforge.net/foam/ThirdParty-1.6.linux64Gcc.gtgz?use_mirror=mesh $ tar xzf OpenFOAM-1.6.General.gtgz $ tar xzf OpenFOAM-1.6.linux64GccDPOpt.gtgz $ tar xzf ThirdParty-1.6.General.gtgz $ tar xzf ThirdParty-1.6.linux64Gcc.gtgz $ source OpenFOAM-1.6/etc/bashrc ``` Problem take binarne nastavitje je v kompatibilnosti OpenMPI knjižnic saj je v takem primeru potrebno pravilno podajati vozlišča ali pa poganjati le na lokalnem vozlišču\! **Zato se taka namestitev ne priporoča in je bolje prevesti celotno kodo ter podati sistemski OpenMPI, ki je integriran s SLURM.** ::::: ::::::