|
[Sponsors] |
July 20, 2012, 07:36 |
MPI version issues with SUSE 12.1
|
#1 |
New Member
Thomas Clark
Join Date: Mar 2009
Location: Cambridge, UK
Posts: 10
Rep Power: 17 |
Hi all,
I have a fresh install of OpenSUSE 12.1 and am trying to install a few pieces of software - particularly OpenFOAM ( The OpenFOAM® Foundation ). I've tracked down the RPMs required (the link from their website was broken but I found a mirror) and successfully installed scotch and paraview (easily; clicked on the RPMs and apper installed them for me, no troubles). However, when I try to install OpenFOAM with apper I get an error that a dependency on OpenMPI 1.5 (.x) is unresolvable. The SUSE repositories only contain up to 1.4.x. So, I download an RPM of OpenMPI 1.5 from pbone, and attempted to install at the same time. This time, the version of glibc (2.15) that OpenMPI 1.5 requires isn't available (only glibc 2.14 on the OpenSUSE repos). You see where I'm heading (down a rabbit hole). I don't want to manually resolve dependencies for my entire system (figuring that by the time I'm messing with glibc, this could be a very deep hole). BUT... I can't find the right repositories to add to allow apper to do it's job. There's a potential solution using 'GeekoCFD' appliance from the SUSE Studio, which says they've used Third Party OpenMPI - but I have partitions I want to retain and therefore don't want to wipe the entire drive to install one of their images. I've googled for Third Party OpenMPI and can't find the packages they're mentioning. -- Can anybody guide me in the best practice to use in this kind of situation please? (By 'best' I mean most user friendly to achieve a robust result...). Thanks for any help, and best regards Tom Clark |
|
July 20, 2012, 09:27 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Thomas,
By what I've tested now (following these instructions), it seems that you've made some very strange twists and turns on installing those packages. You didn't mention one particular detail: are you using openSUSE 32bit (i686) or 64bit (x86_64)? The scotch package is indeed missing and I've reported this issue here: http://www.openfoam.org/mantisbt/view.php?id=592 Nonetheless, you can use this command (it will retrieve the library for openSUSE 11.4): Code:
sudo rpm -i http://www.openfoam.org/download/suse/11.4/x86_64/OpenFOAM-scotch-5.1.12-1.x86_64.rpm And what do you mean by a missing dependency on Open-MPI 1.5? I've tested installing this just now and only have Open-MPI 1.4.5 installed from openSUSE's normal repositories! And had no complains by rpm!? I'm using openSUSE 12.1 x86_64 and fully up-to-date and rebooted machine. As for Open-MPI, for it to work as intended, you'll need to run these commands: Code:
mpi-selector --list mpi-selector --set openmpi-1.4.5 Then logout. After logging back in, simply run: Code:
mpirun --version Best regards, Bruno
__________________
|
|
July 20, 2012, 10:14 |
|
#3 |
New Member
Thomas Clark
Join Date: Mar 2009
Location: Cambridge, UK
Posts: 10
Rep Power: 17 |
Hi wyldcat, thank you for your help; that has got me a little further.
The missing scotch link is what caused my problem with the OpenCFD site instructions; so I retrieved RPMs from elsewhere and tried to install them using the same procedure. The RPM I used must have been custom built by someone using OpenMPI 1.5 (it wasn't a typo), rather than a mirrored version of the OpenCFD one. So, now I have OpenFOAM installed properly, although the latest OpenMPI version available on the repositories is 1.4.3 (see http://software.opensuse.org/package/openmpi which is consistent with the latest available version showing in my YAST) - so I don't know where you're getting 1.4.5 from! The packages are missing a dependency on lam, which contains mpirun - so users may have to do: sudo zypper install lam which worked for me. Then I got the issue described on this post: http://www.cfd-online.com/Forums/ope...te-so-0-a.html Which is easily fixed following those instructions. Thanks for your help, I think the problem is now solved! Tom Clark |
|
July 20, 2012, 10:22 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Tom,
Quote:
Keep in mind that the updater needs to update in two stages:
Best regards, Bruno
__________________
|
||
July 20, 2012, 10:35 |
|
#5 |
New Member
Thomas Clark
Join Date: Mar 2009
Location: Cambridge, UK
Posts: 10
Rep Power: 17 |
Bruno,
Thanks for your clear explanations and patient help. Despite several years and quite a lot of programming experience during my PhD, I still find linux administration extremely frustrating. Desperately keeping a huge rant on the SUSE forums inside me. Thanks again, and best regards Tom Clark |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MPI issues with my own solver | davide_c | OpenFOAM Running, Solving & CFD | 1 | March 23, 2012 08:57 |
OpenCFD mantis does not allow to submit issues due to empty product version list | alberto | OpenFOAM Bugs | 2 | September 7, 2010 02:42 |
OpenCFD release OpenFOAMŪ version 1.7.1 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | August 26, 2010 11:40 |
Is Testsuite on the way or not | lakeat | OpenFOAM Installation | 6 | April 28, 2008 11:12 |
MPI and parallel computation | Wang | Main CFD Forum | 7 | April 15, 2004 11:25 |