Tom’s software

molly

To install molly first run:

apt-get install libreadline5-dev libpng12-dev libsm-dev libx11-dev

Then check that you have g95; otherwise download and install the Linux x86 (Debian) version from http://www.g95.org (at the time of this writing: http://ftp.g95.org/g95-x86.deb).

Now do:

cd /usr/local/src
mkdir molly
cd molly
mv /home/eundas/Downloads/molly.tar.gz .
tar xvfz molly.tar.gz
rm molly.tar.gz
vim /usr/local/src/molly/F77/molly/src/molly.pars

and make the file look like this:

INTEGER MXBUFF, MXSPEC, MXCHAR, MXDOUB, MXINTR
INTEGER MXREAL, MXARC, MXSCHAR, MXSDOUB, MXSINTR
INTEGER MXSREAL, MXWORK, MXWD, MXWI, MXWR, MXWL
INTEGER MXSLOT, MXSI, MXSD, MXSR
PARAMETER (MXBUFF  = 150000000, MXSPEC  = 150000)
PARAMETER (MXCHAR  = 10,       MXDOUB  = 30)
PARAMETER (MXINTR  = 10,       MXREAL  = 30)
PARAMETER (MXARC   = 20,       MXSCHAR = 10)
PARAMETER (MXSDOUB = 10,       MXSINTR = 10)
PARAMETER (MXSREAL = 10,       MXWORK  = 150000)
PARAMETER (MXWD    = 8,        MXWI    = 1)
PARAMETER (MXWR    = 10,       MXWL    = 1)
PARAMETER (MXSLOT  = 150000,    MXSI    = 3)
PARAMETER (MXSD    = 1,        MXSR    = 2)

Now edit the file molly/F77/molly/Makefile and comment the line:

-git log > $(INSTALL)/html/git_change_log || echo "git not available; no change log created"

and also set this

INSTALL    = /usr/local/molly

Then run:

make clean
make

If the compiler complains that it cannot find crt1.o, etc. you may need to do this:

ln -s /usr/lib/i386-linux-gnu/crt1.o /lib/crt1.o
ln -s /usr/lib/i386-linux-gnu/crti.o /lib/crti.o
ln -s /usr/lib/i386-linux-gnu/crtn.o /lib/crtn.o

doppler

Replace the contents of /usr/local/doppler/Doppler for the following lines:

alias comdat='/usr/local/doppler/comdat'
alias imsymm='/usr/local/doppler/imsymm'
alias makimg='/usr/local/doppler/makimg'
alias memit='/usr/local/doppler/memit'
alias optgam='/usr/local/doppler/optgam'
alias optscl='/usr/local/doppler/optscl'
alias eclipse='/usr/local/doppler/eclipse'
alias makcirc='/usr/local/doppler/makcirc'

subs

Do:

ln -s /usr/local/lib/libsla.a /usr/local/lib/libcsla.a

after you install SLA.

pamela

irot90 is a figaro command

Keep in mind that pamela is part of Starlink now! Very likely you don’t need to install pamela yourself if you have Starlink installed.