You don't want to use OpenFOAM's wmake? OK... do you just want the command for building icoFoam or every single OpenFOAM library dependency that icoFoam has on it? You can see the dependency list by running this command:

Code:

ldd `which icoFoam`

If it's just icoFoam:

Go to the folder "applications/solvers/incompressible/icoFoam" and run:

Code:

wclean
wmake

See the commands that are shown on the terminal? Simply copy them and you should be able to use them directly in the command line... although you'll have to take care of the specific details, such as creating the helper folders wmake uses to build stuff.

If you need the whole thing... then try FreeFOAM: http://freefoam.sourceforge.net/ - it uses CMake and I think CMake will generate "Makefiles" for each library and application.

Nonetheless, if you need 2.1.x, you might have to stick to wmake if you want to make your life easier. If you can detail a bit more about what you want to specifically do, we might be able to provide more possibilities to solve the issue.

You don't want to use OpenFOAM's wmake? OK... do you just want the command for building icoFoam or every single OpenFOAM library dependency that icoFoam has on it? You can see the dependency list by running this command:

Code:

ldd `which icoFoam`

If it's just icoFoam:

Go to the folder "applications/solvers/incompressible/icoFoam" and run:

Code:

wclean
wmake

See the commands that are shown on the terminal? Simply copy them and you should be able to use them directly in the command line... although you'll have to take care of the specific details, such as creating the helper folders wmake uses to build stuff.

If you need the whole thing... then try FreeFOAM: http://freefoam.sourceforge.net/ - it uses CMake and I think CMake will generate "Makefiles" for each library and application.

Nonetheless, if you need 2.1.x, you might have to stick to wmake if you want to make your life easier. If you can detail a bit more about what you want to specifically do, we might be able to provide more possibilities to solve the issue.