|
[Sponsors] |
April 10, 2006, 22:51 |
I've now updated Petr Vita's p
|
#1 |
Guest
Posts: n/a
|
I've now updated Petr Vita's patch to work with OpenFOAM-1.3, and have produced source and binary distribution files for it. Those are now available at http://dpdx.net/openfoam-cygwin.
In addition, for those still using OpenFOAM-1.2, I've incorporated the latest bugfixes for the bugs that Philippe Straet reported, and there are updated packages for that on the site as well. These are not quite complete ports; we haven't yet tried to port FoamX or ParaFoam/ParaView. Also, Petr is still working on getting the parallel code to work; hopefully that will be working soon. However, everything else should be working. ... There are a few changes to the Cygwin port that are new with OpenFOAM-1.3. First, I've rearranged how the dependency loop between dummy/libPstream and libOpenFOAM is resolved; on Cygwin, we now compile libOpenFOAM first, and link dummy/libPstream to it. This simplifies the relevant Make/files files quite a bit, and should be vastly easier for the OpenFOAM team to keep up to date if Hrv incorporates these changes into the main tree. As with the OpenFOAM-1.2 port, I've compiled a set of patch files that contain the various changes; those are also linked and described at the above page. I've tried to separate the "bulk" changes (e.g., the changes to dozens of Make/options files) from the "interesting" changes, so as to make the patch files readable. This time around, it turns out that all the renaming that I did to make things work on a case-insensitive filesystem does not affect any of the other changes; thus, one should be able to apply patches 0.2 through 0.5 to an unmodified OpenFOAM-1.3 source tree. In addition, most of the changes have been wrapped with "#ifdef cygwin" or such if they seem likely to affect compilation on other platforms, and the source tree from this port (either with the renamed files, or generated via patch files as above) should compile cleanly on any supported platform. I'm actually not sure if we need to wrap the Make/options changes in "#ifdef cygwin", but that's how Petr did it, so I'm keeping it that way for simplicity. As always, feel free to report bugs, suggestions, or questions in this thread. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FoamX CygWin port problem Boundary conds cannot be altered | kranenborg | OpenFOAM Pre-Processing | 0 | July 18, 2007 21:01 |
FoamX problem with Brooksb Cygwin port | irc | OpenFOAM Installation | 3 | February 20, 2007 18:46 |
DieselFoam problem with Brookbs cygwin port | leosding | OpenFOAM Installation | 4 | August 12, 2006 04:51 |
Cygwin port computer crashed | hsieh | OpenFOAM Installation | 2 | May 31, 2006 09:28 |
OpenFOAM with Cygwin | kitchener | OpenFOAM Installation | 6 | April 24, 2006 23:09 |