CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation problem: openfoam 2.1.0 on opensuse 11.4 (http://www.cfd-online.com/Forums/openfoam-installation/99727-installation-problem-openfoam-2-1-0-opensuse-11-4-a.html)

raphael7 April 10, 2012 10:19

Installation problem: openfoam 2.1.0 on opensuse 11.4
 
Hi

I am trying to install openfoam 2.1.0 on opensuse 11.4, I followed the installation guide from the openfoam website (http://www.openfoam.org/download/suse.php).
The guide says that I need to use openmpi-1.3.2 instead of the default openmpi-1.2.8, and I got stuck at this step.

When I execute this command:
Code:

sudo zypper in openmpi=1.3.2
it returned:
Code:

Retrieving repository 'PK_TMP_DIR' metadata [done]
Building repository 'science' cache [done]
Loading repository data...
Reading installed packages...
'openmpi=1.3.2' not found in package names. Trying capabilities.
No provider of 'openmpi = 1.3.2' found.
Resolving package dependencies...

Nothing to do.

Does anybody know how to resolve this installation problem..? :confused:

Thanks

wyldckat April 10, 2012 17:28

Hi Raphael and welcome to the forum!

Indeed, Open-MPI 1.3.2 seems to have been removed from the science repository.

Try these steps instead:
Code:

sudo zypper ar http://download.opensuse.org/repositories/devel:/libraries:/c_c++/openSUSE_11.4/ devel:libraries:c_c++
sudo zypper in openmpi=1.4.5

Then follow the remaining instructions taking into account the change from 1.3.2 to 1.4.5.

edit: I've reported this on the bug tracker: http://www.openfoam.org/mantisbt/view.php?id=501

Best regards,
Bruno

raphael7 April 11, 2012 07:41

Hi Bruno,

I followed your suggestion, and seems that everything works well now!
I could run the first example case of incompressible laminar flow in a cavity without any problem.
So problem solved! Thank you very much!

Best Regards,
Raphael

wyldckat April 11, 2012 17:07

Hi Raphael,

You're welcome! But be careful, because things might not work as well when you need to run applications in parallel. Like I wrote on the bug report I mentioned before, I haven't fully tested this :(

Good luck!
Bruno

raphael7 April 12, 2012 07:10

Hi Bruno,

As for now I'm still using the serial mode, I'll update if I use the parallel mode.

Thanks!
Raphael


All times are GMT -4. The time now is 02:10.