Mathematica
Wolfram -
comp.soft-sys.math.mathematica -
Tmath,
a tcl interface to Matlab and Mathematica.
The EECS department has a site license for Mathematica. The license
allows us to run Mathematica on any machine owned by the Department of
EECS, including laptops.
Mathematica is installed on The Software Warehouse (SWW) in
/usr/sww/mathematica.
Our site license expires on 7/1/97, L2626-7214. The original
contributors were:
Account Recording Grant
Amount Number Number Professor Administrator
--------------------------------------------------------------------------
$2500 442427-25327 EY35 Edward Lee Mary Stewart
$2500 532433-19907 EL70 Dave Messerschmitt Mary Stewart
$2000 442427-40795-3 EA42 Rabaey/Broderson Elise Mills
$ 500 442427-22077 EY13 Felix Wu Margie Berger
Distributions that we have
Another good mathematica book
Nancy Blachman, {Mathematica: A Practical Approach}, Prentice-Hall,
IBSN 0-13-563826-7, 1992
Mathematica 3
As of 11/19/96, we are currently at version2.x.x
When we get version 3 in the mail, we will install it.
http://www.wolfram.com/upgrade/
says:
Note to Mathematica Plus
Subscribers and Site License
Customers:
As soon as Mathematica 3.0 is
available for your platform, your
upgrade will be mailed to you
automatically. There is no need for
you to complete the upgrade form.
This site is for upgrading your
existing Mathematica license to
version 3.0. After completing this
upgrade order, you will be mailed
Mathematica 3.0. (Upgrades are
not downloadable.)
For all other upgrade inquiries,
please contact Customer Service.
Mathematica Problems
If you have problems with CDE:
[11] % ./mathematica
Warning: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Unable to load any useable fontset
Then see the Mathematica
CDE file. Basically, it says that the following needs to be added to
/usr/sww/mathematica/FrontEnd/XMathematica:
XMathematica*FontList: -*-lucidatypewriter-medium-r-normal-*-*-*-*-*-*-*-*-*
XMathematica*buttonFontList: -*-lucidatypewriter-bold-r-normal-*-*-*-*-*-*-*-*-*
XMathematica*labelFontList: -*-lucidatypewriter-bold-r-normal-*-*-*-*-*-*-*-*-*
XMathematica*textFontList: -*-lucidatypewriter-medium-r-normal-*-*-*-*-*-*-*-*-*
However, you can add the above to your ~/.Xdefaults file and do:
xrdb -merge ~/.Xdefaults
Installation
To install licenses on nexus, I had to do the following:
- Run
/usr/sww/mathematica/Install/mathinfo on nexus.
You can run /usr/sww/mathematica/Documents/xregcard to send
your password request in.
- You will get the new password back from Wolfram. Place it in a file, and
update the licenses on nexus. I did:
rcp /tmp/mathpass nexus:/sww/sunos.4.1.sun4/mathematica-2.2.3/Install
rcp /tmp/mathpass nexus:/sww/solaris.2.3.sun4/mathematica-2.2.3/Install
rcp /tmp/mathpass nexus:/sww/hpux.snake/mathematica-2.2.3/Install
rcp /tmp/mathpass nexus:/sww/osf1.3.0.alpha/mathematica/Install
rcp /tmp/mathpass nexus:/sww/ultrix.4.2.pmax/mathematica-2.2.3/Install
The above files should be removed from the nightly rdist from orodruin.
- On nexus, the
mathserver process must be started up.
/etc/rc.local is modified, so to get the process to restart
if nexus is rebooted, you must run this as root. However, non-root users
can run the mathserver.install script:
cd /sww/sunos.4.1.sun4/mathematica-2.2.3/Install
./mathserver.install
- To verify that Mathematica is working, log on to example machines
of each architecture and run
/usr/sww/bin/math and
/usr/sww/X11/bin/mathematica
SWW announcement about mathematica
From: Michael Short
Message-Id: <199608052112.OAA26461@oceanus.CS.Berkeley.EDU>
X-Mailer: exmh version 1.6.5 12/11/95
To: sww-announce@orodruin.CS.Berkeley.EDU
cc: mshort@CS.Berkeley.EDU
Subject: Mathematica 2.2.3 on SWW
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 05 Aug 1996 14:12:21 -0700
Mathematica, version 2.2.3, has been added to the Software Warehouse
for all supported operating systems.
Mathematica is an interactive system for doing mathematical computation
It handles numeric, symbolic, and graphical calculations and incorporates
a high-level programming language. Mathematica produces graphics in
PostScript form.
OS: HP-UX OSF/1 Solaris SunOS Ultrix
Executables: math Mathematica system
mathbook Mathematica online help
mathremote Use "MathTalk" to communicate between
mathematica processs
mcc MathLink template file compiler
Library: /usr/sww/mathematica
Documentation: /usr/sww/mathematica/man/*
and the online help program `mathbook`.
Also, several copies of the book "Mathematica",
by Stephen Wolfram, are available for borrowing
from several projects in the department.
Note: some users, when starting up mathbook, may see warnings about
"unknown keysyms". If so, create an environment variable XKEYSYMDB
that points to /usr/sww/X11/lib/X11/XKeysymDB. For example, in csh,
% setenv XKEYSYMDB /usr/sww/X11/lib/X11/XKeysymDB
As always, bug-sightings should be reported using the program `sww-bug.'
Please remember there may be a one-day delay for filesystem updates
to appear on individual systems, as software is distributed throughout
the department by file server mirroring.
Michael Short
mshort@cs
Linux installation
- Copy
/usr/sww/share/mathematica-2.2.3/dists/LINUX.TAR
to your Linux box
- Untar the distribution with
tar -xvf LINUX.TAR
- Run
Install/mathinfo and send the output to me (cxh at eecs)
I'll contact Wolfram and get a password and get back to you.
Upgrading the Linux distribution on sww
The linux command to mount the cd is:
mount -r -t iso9660 /dev/device /cdrom
tar -xvf /cdrom/LINUX.TAR
I used
mount -r -F hsfs /dev/sr0 /xx
and then copied LINUX.tar over to
/usr/sww/share/mathematica-2.2.3/dists
Mathematica licenses problems
From: Michael Short
Message-Id: <199610211946.MAA10822@oceanus.CS.Berkeley.EDU>
X-Mailer: exmh version 1.6.9 8/22/96
To: sww-announce@orodruin.CS.Berkeley.EDU
cc: eecs-sysadmins@eecs.Berkeley.EDU
Subject: mathematica problems
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 Oct 1996 12:46:40 -0700
We're seeing problems with machines running the Mathematica programs,
"math" and "mathematica", connecting to the license server Orodruin.
Even when some machines can get multiple connections, other machines
will report that no connection to the license daemon can be made.
We have a site license for Mathematica, and i'd like to see this
work from any machine in the department (or, maybe more specifically,
any CS machine could connect to Orodruin, and EECS machine connect
to Nexus.EECS).
I've contacted Wolfram Technical support. Below is their suggested
work-around. The algorithm for solving the problem is then something
like:
- Try running "math" or "mathematica" commands.
- If notified that connection to the server could not
be done, or no more licenses were remaining,
run the command /usr/sww/mathematica/Install/mathinfo.
- Email the results to me. (Mail along the time at
which you tried connecting, so i can verify that the
server was truly up at that time.)
- I'll bundle these together, submit them to Wolfram,
and add the new passwd entries to the Mathematica license
file as i get them.
Hopefully, these will be enough to allow access.
Michael
------- Forwarded Message
Date: Mon, 21 Oct 1996 14:30:11 -0500 (CDT)
From: Technical Support
Message-Id: <199610211930.OAA29972@mosquito.wolfram.com>
Reply-to: support@wolfram.com
Subject: [TS 16921]--Re:Mathematica 2.2 license server problem
Apparently-To:
Hello Mr. Short,
The problems with the kernel loosing connections to the network license
server have already been reported to our development group. The best
workaround, in this case, is to install single-machine licenses so that
the kernel never has to contact the network license server.
You will need to run the mathinfo
/usr/local/math/Install/mathinfo
command on every machine in your local area network that needs to run
the kernel, and send me the list of hostnames and MathID's. From this list,
I will generate a new list of entries that can go in your mathpass
/usr/local/math/Install/mathpass
file. I understand that this can be cumbersome, but it will solve the
problem of lost connections completely.
Sincerely,
Alan DeGuzman
Technical Support
Wolfram Research, Inc.
support@wolfram.com
------- End of Forwarded Message
From: site-program@wolfram.com
Received: from dragonfly.wolfram.com (dragonfly.wolfram.com [140.177.10.12]) by mica.EECS.Berkeley.EDU (8.6.10/8.6.6.Beta11) with ESMTP id OAA15905 for ; Mon, 3 Feb 1997 14:16:04 -0800
Received: from phoenix.wolfram.com (phoenix.wolfram.com [140.177.4.50]) by dragonfly.wolfram.com (8.7.5/8.7.3) with ESMTP id QAA14135 for ; Mon, 3 Feb 1997 16:16:02 -0600 (CST)
Received: (from christyu@localhost) by phoenix.wolfram.com (8.7.3/8.7.3) id QAA25432; Mon, 3 Feb 1997 16:08:39 -0600 (CST)
Date: Mon, 3 Feb 1997 16:08:39 -0600 (CST)
Message-Id: <199702032208.QAA25432@phoenix.wolfram.com>
To: cxh at eecs
Reply-To: site-program@wolfram.com
Subject: Mathematica Registration
Precedence: bulk
Dear Site Administrator,
Thank you for your patience while we vigorously worked on the
site registration web site. We encourage site users to directly
access this web site to request their password. The request will
be processed and the generated password will be emailed to the
site license administrator, including information on the requester.
This will allow the site administrator to forward the password to
the individual and keep track of how many licenses are issued and
to whom. The web address is
http://www.wolfram.com/site
You will also be receiving an utility to process multiple passwords
more quickly and efficiently for your laboratory environments.
We appreciate your continued support and enthusiasm for
Mathematica 3.0.
Sincerely,
Christy Uden
Customer Programs Coordinator
Setting up local licenses
- Had to add license number with
awk '{print $1 " " $2 " L2626-7214 " $3 }' mathpass > m
- Check passwd with
/usr/sww/mathematica/Install/checkpasswd /usr/tools/etc/mathpass
- The
mathserver is started up on nexus with
#
# Mathematica License Server
#
if [ -f /sww/sunos.4.1.sun4/mathematica-2.2.3/Install/mathserver ]; then
(cd /sww/sunos.4.1.sun4/mathematica-2.2.3/Install; /sww/sunos.4.1.sun4/mathematica-2.2.3/Install/mathserver -pwfile /sww/sunos.4.1.sun4/mathematica-2.2.3/Install/mathpass 2> /dev/null) & (echo -n ' mathserver') > /dev/console
fi
cxh at eecs