Cygwin is a Windows program which emulates a Linux
Running Cygwin opens a window in which you can execute
other programs, compiled for this environment.
In principle, this
is very similar to opening a DOS window and running a program in it. The
main difference is that a number of Linux utilities are available as
well. In addition, paths and filenames are specified using a forewards (/)
rather than a backwards (\) slash !
If all you want to do is run WOMBAT, you can get away with
learning just a few basic Linux commands.
Under Windows, open the folder C:\cywin. You should
see various folders in it named bin, etc, home, lib, etc.
Open home. In it, you should find a folder
usern, where 'usern' is your windows
Open usern. It should be empty, except for
some so-called dotfiles,
Move (or copy) both wombatwin.tar.gz
Double click on the
Cygwin icon on your desktop. This opens
the Cygwin window.
At the prompt, type the command pwd (short for 'print working directory').
The answer should be
/home/usern. This is the name under which
Cygwin knows C:\cygwin\home\usern i.e. opening
Cygwin automatically puts you into your home directory.
Issue the command ls -lf to list the contents of the directory.
The answer should include
You are now ready to unpack the two files, as detailed in the WOMBAT User Notes, chapter 3.
Issue the command : tar -zxvf wombatwin.tar.gz
Issue the command : tar -zxvf
This will create the directory (folder) WOMBAT
Change into this directory by issueing the
command: cd WOMBAT
See what is in the directory using the
command: ls -lf
You should have a file wombat.exe and a subdirectory Examples.
Run your first test as follows :
Change directory with the command : cd Examples/Example1/A
Run WOMBAT with the command : /home/usr/WOMBAT/wombat.exe
To avoid typing the long
path /home/usr/WOMBAT/ in the future, move
(or copy) wombat.exe
The Linux command to do this is mv wombat.exe
/usr/local/bin . Alternatively, you can do this under windows.
This is a directory which
is searched automatically for executable files (however, this won't
take effect until the next time you open the Cygwin window).
Close the Cygwin window (or type logout at the command prompt).
Re-open Cygwin. Run your second test example as follows :
Change directory with the command : cd WOMBAT/Examples/Example2/A
The Cygwin version of WOMBAT has been compiled with the free
'g95' compiler (available
While this compiler is a wonderful resource, it tends to produce
executable programs with somewhat slower run times than some of the
commercial compilers available. This is of little consequence for
small to medium sized analyses - for larger scale analyses, however,
we recommend that you switch to Linux proper and a faster version of
Hence, the Cygwin version of WOMBAT is meant primarily as a
demonstration and teaching tool. While it is fully functional
otherwise, it has thus been compiled imposing more stringent limits on
the size of the models which can be fitted than for the Linux
Note also, that by default Cygwin limits the amount of memory
available to a program to 384 MB. This can be changed if your machine
has more memory available; see the Cygwin User's Guide for details.