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

Updating openmpi

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 9, 2011, 16:42
Question Updating openmpi
  #1
New Member
 
Vigfús Arnar Jósefsson
Join Date: Nov 2009
Location: Stockholm
Posts: 28
Rep Power: 7
fusij is on a distinguished road
Hello all,

I am using OF15-dev and openmpi-1.2.6 and I am trying to run cases parallel using PBS.

There seems to be some error with the --machinefile <hostfile> option in this version of openmpi and I want to update my openmpi to version 1.4.1. I tried to compile it and change settings.sh in OF/OF15-dev/etc but there were some library issues when I tried to run the cases.

Has anybody done this before or knows how to do it?

Thank you.
fusij is offline   Reply With Quote

Old   March 10, 2011, 05:28
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 16
akidess will become famous soon enough
Some OF libraries depend on MPI (e.g. PStream), so you'll have to recompile those too after changing your settings.sh to point to the new mpi directory.
akidess is offline   Reply With Quote

Old   March 10, 2011, 12:08
Default
  #3
New Member
 
Vigfús Arnar Jósefsson
Join Date: Nov 2009
Location: Stockholm
Posts: 28
Rep Power: 7
fusij is on a distinguished road
So what is the best way for me to do this? Get a new version of openmpi, change version of openmpi in settings.sh accordingly and recompile OF? Or instead of recompiling OF I will just recompile Thirdparty?
fusij is offline   Reply With Quote

Old   March 10, 2011, 13:56
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 16
akidess will become famous soon enough
Recompiling ThirdParty will not be sufficient. You have to recompile all libraries you were seeing issues with, so I think the best option is just to recompile your entire OpenFoam over night.
akidess is offline   Reply With Quote

Reply

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 v1.6 & OpenMPI & functionObjects bruce OpenFOAM Bugs 7 December 16, 2011 15:37
openmpi and "executable not found" bgoeppner OpenFOAM 1 April 1, 2010 07:51
OpenFOAM v1.6 & OpenMPI & functionObjects bruce OpenFOAM Running, Solving & CFD 1 August 7, 2009 13:15
Urgent Git problem updating OF15x thomasduerr OpenFOAM Bugs 4 July 8, 2009 07:07
Some questions about mesh updating in dynamic mesh technique lzgwhy Main CFD Forum 0 June 14, 2009 08:01


All times are GMT -4. The time now is 11:05.