Say you want to keep your WOMBAT in the directory MyPrograms
and that you have moved the file you downloaded to this directory.
The screen-shots show this for wombat64
but the procedure is analogous for wombat32
. They show MyPrograms
as a sub-directory of my home directory – this is not a necessary requirement; for instance, if you have super-user privileges, you may want to choose something like /usr/local
instead.
cd MyPrograms
mkdir WOMBAT
ls -l
should give you something like shown on the right, but, of course, with different names and date.
cd WOMBAT
.tar.gz
tells you that this is a gzipped tar file. Hence the command is tar -zxvf ../wombat64.tar.gz
This will create a single file wombat
.
ls -l
–rwx–x–x
with the three x
signifying that this program is executable by anybody. If these are missing for any reason, try: chmod a+x wombat
followed by ls -l
to see the change.
/home/kmeyer/MyPrograms/WOMBAT/wombat
This can get a bit tedious to make live simpler – so that you can run the program by simply typing wombat
– either:
/home/kmeyer/MyPrograms/WOMBAT
to the PATH statement in the file which is executed whenever you login or start a new shell. .bashrc
or similar.cshrc_usr
(ubuntu) or similar; look for the set path
statement set path = (.:${HOME}/bin:/usr/local/bin:/usr/bin:$path)
and append the new directory to be searched. In this example, it is ''/home/kmeyer/MyPrograms/WOMBAT'' or, equivalently ''${HOME}/MyPrograms/WOMBAT''
set path = (.:${HOME}/bin:/usr/local/bin:/usr/bin:${HOME}/MyPrograms/WOMBAT: $path)
cd /usr/local/bin ln -s /home/kmeyer/MyPrograms/WOMBAT/wombat wombat
You may need super-user or administrator privileges to do so. For all three alternatives, you may need to log off and back on again (or start a new shell) before the new setting becomes effective.
wombat --expiry
before and after installation – you should see the change in version/date.
ulimit -s
To test your installation, it is highly recommended that you run one or more of the examples provided.
MyPrograms/WOMBAT
(or another directory of your choice).tar -zxvf example1.tar.gz
This will create the directory Examples
with subdirectory Example1
.
cd Examples/Example1/A
wombat.par
. This is the default, WOMBAT will look for it if no other name is given. Hence you can run the example by simply typing wombat
(if you have followed the steps above to be able to do so) or, equivalently, by typing
/home/kmeyer/MyPrograms/WOMBAT/wombat
The screenshot below shows the output to the screen you should get.
Other small examples to try are: