Overview
The RMark package can be installed and run under recent distrubutions of the GNU/Linux operating system (hereafter, Linux). There are several reasons that doing so might be of interest. First, Linux is a very stable operating system, and RMark and mark.exe under Linux is less "crash-prone" than running RMark and MARK under Windows. Second, and most importantly, some of the inherent efficiencies in Linux make running RMark under Linux faster than under Windows (all other things being equal).
The following assumes you have a basic familiarity with Linux, and have at least sudo access to specific directories (if you don't know what that is, then you should probably stop now...). It also assumes that the machine you're planning on using has (i) the latest verion of R installed (at least 2.13) and running, and (ii) at least gfortran 4.4 (or newer) installed (including all the libs).
There are two steps to install MARK and RMark under Linux, described below.
Step (1) - installing MARK executable
- download the g'zip'd tarball containing the 32- and 64-bit builds of the MARK numerical routines executable - here
- extract the file (mark32 or mark64) that is suitable for your machine/distribution
- rename the file 'mark' (i.e, drop the 32 or 64 part), copy it to a directory in the path (typically, /usr/local/bin), and make it executable
- make sure it runs by typing mark from the command line (or ./mark if trying to run it from the directory in which you placed the executable)
Step (2) - installing RMark under Linux...
Here are the basic steps...
ln -s ~/Programs/MARK/mark mark
The Linux-compiled version of MARK was built using gfortran 4.4 and dynamic (shared)
libraries. (Most modern distros will have gfortran 4.4 installed -- for other less bleeding-edge
distros like CentOS or Redhat -- you might need to install gfortran 4.4 alongside the older
version that comes bundled). There is some chance that the libraries on your distribution may be
in different
locations than the MARK executable is expecting. You can LDD the MARK
executable
to find out what it 'requires', then tweak the LD_LIBRARY_PATH as needed (if the
preceding
sentence doesn't make sense to you, you should either quit now, ask a local
'Linux' guru for help, or go back to some 'easier' operating system like Windows or OS/X... ;-)
Misc notes...