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

Updating openmpi

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2011, 15:42
Question Updating openmpi
  #1
Member
 
Join Date: Nov 2009
Posts: 56
Rep Power: 16
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, 04:28
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
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, 11:08
Default
  #3
Member
 
Join Date: Nov 2009
Posts: 56
Rep Power: 16
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, 12:56
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
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


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 Off
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 14: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 15:23.