OF 2.1.0 under Windows XP or Windows 7
Has anybody successfully compiled OpenFOAM 2.1.0 under either Windows XP or Windows 7?
Or does anybody know where I can find info/instructions to do so? Thanks |
Greetings Claudio,
Currently there are a few efforts in making this possible, namely building OpenFOAM directly on Windows, but AFAIK, none of them are complete and/or released to the public. The only fully public method that I'm aware of is by using Cygwin to handle the file system for then cross-compiling OpenFOAM on Cygwin for Windows. Here's where you can find all of the public info I'm familiar with (and which I wrote myself ;)): OpenFOAM on Windows OS As for the other efforts:
Best regards, Bruno |
I'm not an experienced user, just a technical manager/engineer involved in taps/valves component... you should definitely try BlueCFD.
From my own point of view the porting is perfect and the support fast and precise. |
Hello,
I've cross-compiled the 2.1.0 version for win64 following symscape's instructions and somewhat merged it with Joseph Nishit's script files to make it behave as a "portable" openFoam. So far simple/pimple/pisoFoam are working ok for me on Win64 2008 and Vista, with mpich up to 12 cores on a shared memory computer. If anyone is willing to test it more touroughly I would need some suggestions on how to share the 110 Mb archive (openFoam, mpich, paraview, gmsh & engrid). Regards, Ect |
Ect, I'd give it a shot. You could upload the archive here: http://ge.tt/
|
Thanks for all the replies.
Daniele, I will look more into BlueCFD, however since I would like to have it on many different machine, it might not be feasible to have a commercial solution. It's not quite clear if the fee is just to access the executable and then you can install them many times or not. Ect, I would be interested too in you package. Would it be possible for you to use a free storage service, like Dropbox? Thanks |
Greetings to all!
Claudio: Quote:
Quote:
Best regards, Bruno |
Hi all,
Here it is: http://ge.tt/2SfcweG/v/0?c Use scotch as the decomposition method Start smpd.bat, it runs smpd in debug mode on the port 41000 if I remember correctly, this way no mpich installation is required, it also runs without interferring with any existing mpi installation. start dos_mode.bat cd to your case directory decomposepar gompi simpleFoam please give some feedback regards, Ect |
Something to have OF working on Windows is available here too: http://www.symscape.com/openfoam-2-1...windows-64-mpi
|
Thanks Ect,
i have downloaded the package. I am working on something else now, so I have to put this on the back burner for now. Will update you once I get it working. Bruno, thanks for the clarification. Alberto, ciao, I did find symscape before. Again once I'll have time again will go back to this problem, but I appreciate everybody's input. |
I haven't been able to get this working.
I'm getting the following in the command prompt: Quote:
thanks! |
Hi MIGHTYBIRD and welcome to the forum!
Apparently you're trying to run a command in the wrong folder! Whenever a command in OpenFOAM gives that error message, it's because you're running the command in a folder that isn't an OpenFOAM case. In other words: read the OpenFOAM User Guide ;) Best regards, Bruno |
Quote:
Best regards. |
Hi Ect, can you help me to build an version 2.1.0 for window? I need build and OF source to make my thermal foam (simpleThermal,...). I followed this tutorial but got alot of error
Quote:
I user the mingw-w64, with this version, i was success in build a OF1.7.x version. |
I've stumbled upon the same issue, if i trust my notes you have to rename
Mingw-w64/lib/gcc/x86_64-w64-mingw32/4.5.4/include/float.h to something like _float.h to prevent its usage then you have to add -I path-to/Mingw-w64/x86_64-w64-mingw32/x86_64-w64-mingw32/include into wmake/rules/linux64mingw-w64/c++ |
Thanks Ect.
First, I Mingw-w64 release to "mingw-w64-bin_x86_64-linux_20120823" and these error no existed any more. I create a copy of float.h then name it _float.h. When I add Quote:
But when i think it's ok, it return to me some strange error like that: Quote:
Here is my full buildlog: https://docs.google.com/open?id=0BxL...GRMMUJwWnJrQlE please dowload and open on notepad++, these errors appear from line 3161 |
Greetings to all!
@Mr.Cloud: Apparently you're using Gcc 4.8.0, which is the latest Gcc version under development, which is what the mingw-w64 team usually does: they always test with the (near-)bleeding edge versions of Gcc to make sure nothing gets broken with the constant evolution of Gcc! Try using Gcc 4.5 from here: http://sourceforge.net/projects/ming..._4.5_20111101/ Good luck! Bruno |
Hi Bruno. With that gcc, i got 2 error
First is Quote:
Second is the typical error Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
Quote:
Quote:
|
Hi Claudio,
I have a complete set of OpenFOAM-2.1.1 cross-compiled binaries for 64-bit Windows (based on Symscape's patches) available for free here: www.ods-engineering.com . They have been compiled to work with MSMPI for full multi-processing. Just follow the instructions for Third Party (Windows) installation at the bottom of the page downloads page here. Please let me know through the website if you find any issues or bugs. I compiled the binaries to work primarily with my Blender-based GUI for OpenFOAM (ODS Studio) but they should work for any other purpose too. |
All times are GMT -4. The time now is 19:12. |