CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation on Windows, Mac and other Unsupported Platforms

Windows (x64) Binaries for OpenFOAM-2.1.x using OpenMPI

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

Like Tree7Likes
  • 1 Post By JLight
  • 4 Post By JLight
  • 1 Post By JLight
  • 1 Post By GRAUPS

Reply
 
LinkBack Thread Tools Display Modes
Old   November 9, 2012, 01:39
Default Windows (x64) Binaries for OpenFOAM-2.1.x using OpenMPI
  #1
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 6
JLight is on a distinguished road
Hi
I have uploaded my binaries for OpenFOAM-2.1.x here.

This was compiled using the instructions outlined by Symscape and provided here.

The only difference between Symscape's is this is compiled against OpenMPI and does not use MSMPI.

I have not tested this extensively and hope to get some feedback on this.

Hope to document the process so enable recreating this with ease.

I will push the source soon (I have a crawling connection).

Cheers!
JLight
namsivag likes this.

Last edited by JLight; December 6, 2012 at 03:38.
JLight is offline   Reply With Quote

Old   November 9, 2012, 12:16
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 538
Rep Power: 18
chegdan will become famous soon enough
Very cool! I am going to try your binary over the weekend. Also, I'm interested in this documentation. Was this compiled on linux with MinGW?
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   November 9, 2012, 14:13
Default
  #3
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 6
JLight is on a distinguished road
Quote:
Originally Posted by chegdan View Post
Very cool! I am going to try your binary over the weekend. Also, I'm interested in this documentation. Was this compiled on linux with MinGW?
Yes, it was compiled on linux with MinGW-w64.
JLight is offline   Reply With Quote

Old   December 1, 2012, 19:14
Default
  #4
Member
 
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 35
Rep Power: 4
GRAUPS is on a distinguished road
Dude you are awesome, I was just going to try and tackle this binary build using the instructions from symscape... and then I found this... great work!

You said you were looking for some feedback. I have the first bit. It seems like the sourceforge binaries might not include everything needed to run. I receive this attached error when trying to run blockMesh...

OF_error.JPG

I may have missed a step, I am most definitely not a linux expert, but it appears some of the MinGW-w64 libraries may not have been included (or couldn't be) as per symscape's instructions.

If you can't update the install on sourceforge, do you know where I can get the required dll files? Do I have to build MinGW myself? Thanks! And great work!
GRAUPS is offline   Reply With Quote

Old   December 2, 2012, 05:23
Default
  #5
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 6
JLight is on a distinguished road
Quote:
Originally Posted by GRAUPS View Post
I may have missed a step, I am most definitely not a linux expert, but it appears some of the MinGW-w64 libraries may not have been included...
Hi thanks for this. I think I had zlib installed on my Windows from some previous work.

The easiest workaround is for me to upload the dll (Tha I had cross compiled) to sourceforge. I have updated the Readme. Please try it and tell me if it works.

Glad to know you like this.

Cheers!

NJ
JLight is offline   Reply With Quote

Old   December 6, 2012, 03:00
Default
  #6
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 6
JLight is on a distinguished road
Hi All
Just a quick update.

I have pushed the source of OpenFOAM with the Symscape patch and brought it up to commit d957081e1400ad2fd88fefcf7db3599dd66b0ddf (2 Dec 2012).

The recompiled binaries is upload to SourceForge this very moment.

I am in the process of writing out the steps needed to do it yourselves and is located here.

Cheers!

NJ

Last edited by JLight; December 6, 2012 at 20:45.
JLight is offline   Reply With Quote

Old   December 6, 2012, 09:48
Default
  #7
Member
 
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 35
Rep Power: 4
GRAUPS is on a distinguished road
Awesome, thank you for taking the time to do this. I have tested blockMesh with the included zlib.dll file and it now runs without a hitch. I'll let you know when I have tested it more extensively or find anything amiss. Thanks again!
GRAUPS is offline   Reply With Quote

Old   December 13, 2012, 18:25
Default
  #8
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 538
Rep Power: 18
chegdan will become famous soon enough
This is really nice. I just downloaded and tested the install...so far its working great. I'm interested in the notes on how to compile...since this is what I would like to do over the holiday with some custom solvers. Thanks again and excellent work.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   December 14, 2012, 21:11
Default
  #9
Member
 
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 35
Rep Power: 4
GRAUPS is on a distinguished road
Quote:
Originally Posted by chegdan View Post
This is really nice. I'm interested in the notes on how to compile...since this is what I would like to do over the holiday with some custom solvers. Thanks again and excellent work.
I second Dan's motion, I have some custom solvers as well that would be nice to cross compile. If and when you have the time to finish the wiki page. I will gladly give it a run through to see if everything is clear and concise and to make sure I'm able to successfully compile. Thanks again!
GRAUPS is offline   Reply With Quote

Old   January 7, 2013, 15:46
Default Update
  #10
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 6
JLight is on a distinguished road
Quick Update

I just updated and pushed the source that bring it up to commit c79762488bb97ec8cb786ecff81560e3409762f0 (02-Jan-2013).

The work on the wiki is going a bit slow, I have done about 30%. Hoping to complete it all by the end of the week.

Cheers!

NJ
GRAUPS likes this.
JLight is offline   Reply With Quote

Old   January 9, 2013, 10:27
Default
  #11
Member
 
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 35
Rep Power: 4
GRAUPS is on a distinguished road
The wiki is looking good, keep up the good work. Be sure to post back when you're finished, I'd be happy to take it for a test drive.
GRAUPS is offline   Reply With Quote

Old   November 15, 2013, 04:20
Default parallel problem
  #12
New Member
 
OH il seok
Join Date: Sep 2010
Posts: 17
Rep Power: 6
oilsok is on a distinguished road
Hi,
I installed Openmpi and unarchive openfoam in c:\openfoam

I excuted dosmode.bat and try to run tutorial

so
blockmesh ==> work
icofoam ==> work

but when I try to calculate tutorial as parallel. this error is appeard.

Code:
C:\openfoam\OpenFOAM\OpenFOAM\OpenFOAM-2.1.x\tutorials\multiphase\interFoam\lami
nar\damBreak>mpirun -np 4 interFoam -parallel
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not find an ex
ecutable:
Executable: interFoam
Node: CS382
while attempting to start process rank 0.
--------------------------------------------------------------------------
4 total processes failed to start
can you help me this problem
oilsok is offline   Reply With Quote

Old   November 15, 2013, 08:23
Default
  #13
New Member
 
W.T
Join Date: Oct 2012
Posts: 5
Rep Power: 4
dybuk is on a distinguished road
Try use application name wit extension :
Code:
 mpirun -np 4 interFoam.exe -parallel
dybuk is online now   Reply With Quote

Old   November 15, 2013, 08:57
Default
  #14
New Member
 
OH il seok
Join Date: Sep 2010
Posts: 17
Rep Power: 6
oilsok is on a distinguished road
I got It!

thank you!!!
oilsok is offline   Reply With Quote

Old   June 13, 2014, 02:35
Default Kuo
  #15
New Member
 
Join Date: May 2012
Posts: 1
Rep Power: 0
mathppp is on a distinguished road
Hi Everyone,

I used to use the windows version openfoam v2.1 on my desktop.

I have a problem about merge the mesh from a parallel job. I try to use the command "reconstructPar" to merge the results of those processors' data including the meshes. I think I should use "reconstructParMesh", but I can not find it in the bin folder.

could you do me a favor ? thinks.
mathppp is offline   Reply With Quote

Old   June 16, 2014, 16:54
Default
  #16
Senior Member
 
Join Date: Nov 2010
Posts: 128
Rep Power: 6
taxalian is on a distinguished road
Hi Joseph,

Great job done, its really working fine. Just a small query, once the calculation is finished.I used foamtoVTK utility in the dos prompt to get the data readable in Paraview. Because normally in linux one uses the internal utility paraFoam to open the calculated case in the current working case directory.

Is there alternative approach to directly post-process the calculation in Paraview.

Thanks.
taxalian is offline   Reply With Quote

Old   February 3, 2015, 23:26
Default incomplete set of binaries
  #17
New Member
 
Andrew
Join Date: Jun 2012
Posts: 1
Rep Power: 0
and44bor is on a distinguished road
Quote:
Originally Posted by JLight View Post
Hi All
Just a quick update.

I have pushed the source of OpenFOAM with the Symscape patch and brought it up to commit d957081e1400ad2fd88fefcf7db3599dd66b0ddf (2 Dec 2012).

The recompiled binaries is upload to SourceForge this very moment.

I am in the process of writing out the steps needed to do it yourselves and is located here.

Cheers!

NJ
There is no "parafoam.exe" among your binaries.
Moreover, "ParaView" package directories do not exist at all.
Hence, all 3 corresponding environmental variables in setvar.bat to run DOS_MODE.bat remain undefined.

With your binaries a user can run CFD but for post-processing he needs other piece of software. Which is not the case of the Linux based distribution of OF-2.1.x or available Win64 binaries of OF-1.5.x and OF-1.6.x and OF-1.7.x -- all they are freeware.
So, my private opinion is that without "parafoam" any OF distribution does not look complete.
Cheers.

Last edited by and44bor; February 4, 2015 at 01:29.
and44bor is offline   Reply With Quote

Old   February 4, 2015, 00:29
Default
  #18
Member
 
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 35
Rep Power: 4
GRAUPS is on a distinguished road
Quote:
Originally Posted by and44bor View Post
There is no "parafoam.exe" among your binaries.
Moreover, "ParaView" package directories are not exist at all.
Hence, all 3 corresponding environmental variables in setvar.bat to run DOS_MODE.bat remain undefined.
Lucky for us, Paraview has a native Windows install available from their website which we can use to open OF jobs! This isn't the case with OpenFOAM, and is why people like JLight are awesome.

Cheers
chegdan likes this.
GRAUPS 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 2.1.x Windows Patch Released gocarts OpenFOAM Announcements from Other Sources 0 January 18, 2012 15:56
CFX Parallel Setup on windows 7 x64 SlicedBread CFX 1 November 14, 2011 18:06
Fluent 6.2 & Gambit on Windows XP x64 AcoidanBM FLUENT 9 October 30, 2011 15:08
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
error compiling UDF on windows x64 Andres FLUENT 0 February 12, 2009 16:22


All times are GMT -4. The time now is 03:50.