wiki:SM

Version 7 (modified by Daniel Kahn gillmor, 20 years ago) ( diff )

--

SM

Josh Younger (jyounger)

supermongo is a graphing and plotting package that can be found here.

It is not free. In particular, the Cost section says:

SM is available for $300 U.S., $375 Canadian to university departments, or small colleges. A university-wide site license is $1500 U.S., $1900 Canadian. Prices for commercial or government agencies are $500 U.S. for a department, $2500 U.S. for an entire site.

Installation

cdelacruz@metis:/usr/local/sm$ sudo ./set_opts
I am going to ask you some questions to decide how to setup SM. If there's
something in [square brackets] at the end of a line, it's the default value;
to accept it just hit carriage return. If there are alternatives separated
by a |, the default value is the first one.

It should be safe to hit ^C at any time if you want to start again.

What machine are you on? ("all" will give a list of possibilities).
Choose a machine: [linux]
You are on a linux using the
        cc -Wall -Dlinux -DNEED_SWAP
compiler; is this OK? [y|n] y
What debugging/optimisation flags do you want? [-g]
What devices do you want to compile in? Your options are:
TK X11
Choose one at a time, carriage return on an empty line to finish
X11

You have selected devices: X11; ok? [y|n] y
We can help you configure things for which the defaults are usually OK
Do you want to do so? [n|y|list] y
Choose data type for vectors, "float" or "double"? [float]
Choose length of longest macro [10000]
Choose length for string-valued-vector's elements [40]
Do you want to treat numbers starting 0 as octal? [n]
Do you want to build and install the callable parser, libparser.a? [n]
Top level path to install things? [/usr/local] /usr/local/sm
The commands make install (and make installinfo) will install files as follows:
  binaries                        /usr/local/sm/bin
  linkable libraries              /usr/local/sm/lib
  SM files (e.g. graphcap)        /usr/local/sm/lib/sm
  info files                      /usr/local/sm/info
  manual pages                    /usr/local/sm/man/man1
is this ok? [y|n] y
Do you want to install SM-mode for (gnu)emacs? [y|n] y
In which directory? [/usr/local/sm/emacs/site-lisp]
I am about to start modifying files, proceed? [y|n] y
sed: -e expression #1, char 105: unknown option to `s'
Creating Makefile...
Creating src/options.h...
Creating src/Makefile...
Creating callable/Makefile...

You will be ready to make SM as soon as you have edited
src/options.h to remove our copyright notice.
cdelacruz@metis:/usr/local/sm$

Removed first seven lines of options.h

cdelacruz@metis:/usr/local/sm/src$ sudo vi options.h

Run make:

cdelacruz@metis:/usr/local/sm$ sudo make  
cdelacruz@metis:/usr/local/sm$ sudo make install

Added alias to .bashrc file:

alias sm="/usr/local/sm/bin/sm"
Note: See TracWiki for help on using the wiki.