CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Windows Installation BugsComments on Petrbs patch (https://www.cfd-online.com/Forums/openfoam-installation/57658-windows-installation-bugscomments-petrbs-patch.html)

pvita March 28, 2006 10:41

Philippe can you try please to
 
Philippe can you try please to execute command wclean zlib-1.2.1 and then wmake libso zlib-1.2.1 posting here exact output?

ceradi March 28, 2006 16:35

Horray!!! Many thanks Petr
 
Horray!!!

Many thanks Petr and Brooks !

The wclean had a magic effect in my case!

Let me know if you still want the exact output for examinations...

The Allwmake is running while writing this message, I'll see and I suppose it will be OK now...

Thanks again... Bye

Philippe

brooksmoses March 28, 2006 16:46

Great! I don't think there's
 
Great! I don't think there's a need for you to post the exact output, if it worked and produced the right .dll files.

(Speaking of which, it's probably a good idea to delete the erroneous libNULL.dll and libNULL.a files, if you haven't already.)

Let me know when the Allwmake process finishes, and if it seems like everything works, I'll put all the bugfixes in a patch and upload them.

Thanks again for your bug reports and help in debugging this.

ceradi March 29, 2006 04:00

Brooks, The Allwmake took a
 
Brooks,

The Allwmake took approximately 5 hours to finish his job. I've got now 165 .exe files , 46 .a and 46 .dll.

I tested the installation with the cavity tutorial and it work without any problem...

Thanks again for all ..

Philippe

ewr April 10, 2006 14:12

I have followed the messages h
 
I have followed the messages here and have also successfully implemented OpenFOAM on a windows based system (Windows XP). Thanks for all your work.

I was wondering if anyone had attempted to compile the latest OpenFOAM release (version 1.3) for a cygwin/windows installation?

Thanks
Errol

brooksmoses April 10, 2006 22:54

Errol - You're welcome. Th
 
Errol -

You're welcome. Thanks for the report that it works! It's good to know that it's useful and that it's working.

As for OpenFOAM-1.3, you have excellent timing with your question -- I've just finished the port for that and posted it; see the other thread that I started for that.

- Brooks

kitchener April 15, 2006 15:41

I am quite new for both cygwin
 
I am quite new for both cygwin and OpenFOAM. I tried to follow the method described in http://dpdx.net/openfoam-cygwin/ provided by Brooks Moses. I met some problems. Here are what I have done.

1) install Cygwin with default packages plus sed, make, flex, bison, xorg-x11-devel in C:\cygwin.

2)Build a directory called OpenFOAM and downloaded and unpack (tar xzf (filenames)) both OpenFOAM-1.3.cygwin-src-0.5.tar.gz and
gcc-4.1.0.cygwin-OpenFOAM.tar.gz from the website into that directory.

3)Type .bashrc under the directory of /home/wang/OpenFOAM/OpenFOAM-1.3

4)Type Allwmake. Then a lot of errors were reported like "Makefile... ...wmake: command not found"

Could anyone please give me some advices how to fix the problem? Many thanks,

Wang

brooksmoses April 15, 2006 23:57

One problem with step 2: Yo
 
One problem with step 2:

You should not unpack gcc-4.1.0.cygwin-OpenFOAM.tar.gz into the OpenFOAM directory. You should create a directory called "cygwin" inside the OpenFOAM directory, and unpack the gcc-... file into it.

Two problems with step 3:

First, that's the wrong bashrc file; you should use the one under /home/wang/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc. (Probably I should make that more clear in the directions.)

Second, just running it as a normal script doesn't do anything -- all the environment variables that it sets go away once the script finishes running. Instead you need to run it with the command "source bashrc".

That should be sufficient to get things working, I hope. Apologies that the installation instructions didn't make this sufficiently clear.

kitchener April 16, 2006 00:20

Hi Brooks, thanks for your hel
 
Hi Brooks, thanks for your help very much. It seems now that things go toward to a right direction in my computer. Thanks,


All times are GMT -4. The time now is 09:31.