CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

OpenFOAM installation on Fedora 18

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By l_r_mcglashan

Reply
 
LinkBack Thread Tools Display Modes
Old   February 25, 2013, 13:49
Exclamation OpenFOAM installation on Fedora 18
  #1
New Member
 
Sudhakar Dayal
Join Date: Feb 2013
Posts: 3
Rep Power: 4
sd55 is on a distinguished road
Has anyone installed OpenFOAM on Fedora 18. I am getting ERROR message: libmpi.so.1: cannot open object file: No such file or directory. :-(
sd55 is offline   Reply With Quote

Old   February 25, 2013, 18:16
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Suhdakar and welcome to the forum!

You didn't mention which installation instructions you've followed. Have you tried these? http://openfoamwiki.net/index.php/In...M-2.1.1/Fedora

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 27, 2013, 12:06
Smile
  #3
New Member
 
Sudhakar Dayal
Join Date: Feb 2013
Posts: 3
Rep Power: 4
sd55 is on a distinguished road
Thanks a lot. I had a jolly good OpenFOAM working in Fedora 17. The I decided to switch over on Fedora 18. During re-load it did not work ! :-( Now instead of x86_64 versions of RPM files I have i-686 versions of every thing. OpenFOAM is OK with x86_64 but to my guess not with Fedora - 18, i-686 kinf of stuff.
sd55 is offline   Reply With Quote

Old   February 27, 2013, 13:54
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Have you tried the instructions from the previous link?
wyldckat is offline   Reply With Quote

Old   March 29, 2013, 05:50
Default
  #5
New Member
 
Sudhakar Dayal
Join Date: Feb 2013
Posts: 3
Rep Power: 4
sd55 is on a distinguished road
I am facing the same issue, with Fedora 18. It says unable to open modulefile for openmpi-i686. ... and mpicc command not found. :-(
sd55 is offline   Reply With Quote

Old   March 29, 2013, 06:18
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by sd55 View Post
I am facing the same issue, with Fedora 18. It says unable to open modulefile for openmpi-i686. ... and mpicc command not found. :-(
Try this:
Code:
module load mpi/openmpi-i386
It's documented here: http://openfoamwiki.net/index.php/In...dora#Fedora_18
wyldckat is offline   Reply With Quote

Old   April 10, 2013, 14:05
Default
  #7
New Member
 
Tomas
Join Date: Apr 2012
Posts: 7
Rep Power: 5
nastrandamus is on a distinguished road
Hi guys I have a little problem with final installation of OpenFoam on my Fedora 18. I'm doing all fallow the instruction on http://www.openfoam.org/download/fedora.php
Could anyone show me how to "bashrc" file should looks like after final configuration?. It's main:

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions
module load openmpi-x86_64
source /opt/OpenFOAM-2.2.0/etc/bashrc


correct?
and error in my terminal:

[jed@localhost ~]$ icoFoam -help
icoFoam: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory



Thanks so much for any help
nastrandamus is offline   Reply With Quote

Old   April 10, 2013, 15:39
Default
  #8
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
What did this output:

module available

And what does this output:

module list
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   April 10, 2013, 16:12
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

I believe the correct command for Fedora 18 is:
Code:
module load mpi/openmpi-x86_64
It was almost fully answered in my previous post

@Laurence: Sorry, I haven't managed to report this on bug tracker yet... I've been meaning to do go through the list of Linux Distributions that are at openfoamwiki.net (namely here) and test installing OpenFOAM 2.2 with them all, but I haven't found the time to do it. Hence not having confirmed it and reported it yet.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   April 10, 2013, 17:08
Default
  #10
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
Ok fair enough. I'll double check on my 18 installation at the weekend.

The 'module load' command should fail if the modulefile doesn't exist though, and that's why I asked.
wyldckat likes this.
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   April 11, 2013, 08:46
Default
  #11
New Member
 
Tomas
Join Date: Apr 2012
Posts: 7
Rep Power: 5
nastrandamus is on a distinguished road
hi l_r_mcglashan
My ansfer:

[jed@localhost ~]$ module available

------------------------ /usr/share/Modules/modulefiles ------------------------
dot module-git module-info modules null use.own

------------------------------- /etc/modulefiles -------------------------------
mpi/openmpi-x86_64
[jed@localhost ~]$ module list
No Modulefiles Currently Loaded.
nastrandamus is offline   Reply With Quote

Old   April 11, 2013, 09:01
Default
  #12
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
What does this give:

module load openmpi-x86_64

You need to do:

module load mpi/openmpi-x86_64

Can I also ask if your fedora 18 installation is new, or an upgrade from 17?
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   April 11, 2013, 09:43
Default
  #13
New Member
 
Tomas
Join Date: Apr 2012
Posts: 7
Rep Power: 5
nastrandamus is on a distinguished road
It's fresh instalation of Fedora 18.

When i try to load the module, no reaction:

[jed@localhost ~]$ module load mpi/openmpi-x86_64
[jed@localhost ~]$


So, could you paste the correct bashrc file in my case?. And I'm sorry, I'm completly new in Linux.
Thx
nastrandamus is offline   Reply With Quote

Old   April 11, 2013, 10:09
Default
  #14
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
What does this give:

module load openmpi-x86_64

What does this give:

module load mpi/openmpi-x86_64
module li
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   April 12, 2013, 12:51
Default
  #15
New Member
 
Tomas
Join Date: Apr 2012
Posts: 7
Rep Power: 5
nastrandamus is on a distinguished road
Thank you so much. Everything's working
nastrandamus is offline   Reply With Quote

Old   April 12, 2013, 13:15
Default
  #16
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
Could you please answer my questions above so I can be sure of what I need to change in the instructions?
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   April 13, 2013, 09:18
Default
  #17
New Member
 
Tomas
Join Date: Apr 2012
Posts: 7
Rep Power: 5
nastrandamus is on a distinguished road
sure, now my bashrc file looks like this:

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions
module load mpi/openmpi-x86_64
source /opt/OpenFOAM-2.2.0/etc/bashrc
nastrandamus is offline   Reply With Quote

Old   April 14, 2013, 07:48
Default
  #18
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all,

@Tomas: That looks perfect! By the way, it's natural that "module load" doesn't show anything when things work as intended It's when it says something that we have to worry

@Laurence: I've done some tests with the virtual machines that I already had from my past installations of OpenFOAM 2.1.1 with Fedora 17 and 18 (both were clean installations). Here are my findings:
  • On the VM with Fedora 17 i386:
    • The list of available modules:
      Code:
      $ module avail
      
      ------------------------ /usr/share/Modules/modulefiles ------------------------
      dot         module-cvs  module-info modules     null        use.own
      
      ------------------------------- /etc/modulefiles -------------------------------
      mpi/openmpi-i386 openmpi-i386
    • Finding out where these files came from:
      Code:
      $ yum provides /etc/modulefiles/openmpi-i386
      
      Loaded plugins: langpacks, presto, refresh-packagekit
      openmpi-1.5.4-5.fc17.1.i686 : Open Message Passing Interface
      Repo        : fedora
      Matched from:
      Filename    : /etc/modulefiles/openmpi-i386
      
      $ yum provides /etc/modulefiles/mpi/openmpi-i386
      
      Loaded plugins: langpacks, presto, refresh-packagekit
      openmpi-1.5.4-5.fc17.1.i686 : Open Message Passing Interface
      Repo        : fedora
      Matched from:
      Filename    : /etc/modulefiles/mpi/openmpi-i386
  • On the VM with Fedora x86_64:
    • Modules available:
      Code:
      $ module avail:
      
      ------------------------ /usr/share/Modules/modulefiles ------------------------
      dot         module-git  module-info modules     null        use.own
      
      ------------------------------- /etc/modulefiles -------------------------------
      mpi/openmpi-x86_64
    • Checking where the file came from:
      Code:
      $ yum provides /etc/modulefiles/mpi/openmpi-x86_64
      
      Loaded plugins: langpacks, presto, refresh-packagekit
      openmpi-1.6.3-6.fc18.x86_64 : Open Message Passing Interface
      Repo        : fedora
      Matched from:
      Filename    : /etc/modulefiles/mpi/openmpi-x86_64
Given that you asked about whether if Tomas' Fedora installation was an upgrade, I tested using FedUp (followed this how-to) with my VM that had Fedora 17 i386. After Fedora 17 was updated to 18, it showed the same outputs as the other VM that has Fedora 18 x86_64 (well, similar since i386 vs x86_64).

I've made a quick search and the following page popped up when looking for "Fedora mpi/openmpi": http://fedoraproject.org/wiki/Packaging:MPI
Quote:
The module file MUST be installed under %{_sysconfdir}/modulefiles/mpi/. This allows as user with only one mpi implementation installed to load the module with:
Code:
module load mpi
The module file MUST have the line:
Code:
conflict mpi
to prevent concurrent loading of multiple mpi modules.
If you check the history on this wiki page, you'll find that the new methodology was documented last October.

A bit more searching and I found the associated ticket for this: https://fedorahosted.org/fpc/ticket/229

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   April 14, 2013, 15:40
Default
  #19
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
Thanks I've seen all that.

Nice of them to put such a fundamental user interface change in the release notes.
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Reply

Tags
fedora 18, installing openfoam

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.7 installation on Redhat linux maxims OpenFOAM Installation 2 November 30, 2012 05:29
OpenFoam 2.0.0 installation Jan_Peters OpenFOAM Installation 86 April 27, 2012 05:32
OpenFoam 2.0.1 installation shailesh.nitk OpenFOAM Installation 4 October 4, 2011 08:50
OpenFOAM 2.0.1-foamInstallationTest Failed on Fedora 15 x64 Winston Wu OpenFOAM 5 August 16, 2011 07:24
OpenFOAM Installation rclprice OpenFOAM Installation 1 July 21, 2011 16:31


All times are GMT -4. The time now is 04:54.