Downloading and upgrading SOLVE
The current version of SOLVE is version 1.18. Upgrading to this version
is identical to downloading it for the first time.
SOLVE works best in combination with resolve. As a licensed SOLVE
user, you can download resolve for free. Before you go on, you should
get the latest version of resolve now
so that it is most compatible with your new version of SOLVE. Your
SOLVE scripts in this manual include the (trivial) commands to run resolve
right after SOLVE.
There are three easy parts to installing SOLVE on your system
-
you need to figure out which version of SOLVE matches your system
-
you need to ftp a compressed file to your computer, uncompress it, and
run install.ksh to put the files in the right places on your system and
set up solvehelp (a link to the local version of the manual).
-
you need to put the "solve.access" file you get from us by email in the
right place on your system
Once you have SOLVE installed you can view the manual just by typing "solvehelp"
1. First you need to choose the file that matches your computer. If
none does, then you can get a version compiled on your computer directly
by emailing me at "terwilliger@lanl.gov".
Each download file contains both "solve" and "solve_giant" and "solve_huge".
The giant-size and even bigger huge
versions are for huge unit cells and are not usually necessary. Also if you
have a really enormous unit cell you may need an even bigger version which
you can receive by emailing me directly.
If your computer is a... |
Then ftp this file... |
Alpha running Digital (Tru-64) Unix |
solve-1.18-digital.tar.Z |
HP (PA1.1 or higher) |
solve-1.18-hp.tar.Z |
SGI (R5000 or higher) |
solve-1.18-sgi.tar.Z |
Sun (SunOS version 5 or higher) |
solve-1.18-sun.tar.Z |
linux (Red Hat 6.1 or higher on Pentium III) |
solve-1.18-linux.tar.Z |
|
|
2. Here is how to get the SOLVE program by ftp, uncompress it, and put
the files in the right places on your system. (Note that you can substitute
any directory you want for "/usr/local/lib/solve" in the install.ksh script
and then set the environmental variable SOLVEDIR to point to that directory
in everyone's .login or .login_custom file.)
-
uncompress and extract the files:
gunzip solve*.gz
tar xof solve*.tar
-
install solve by running install.ksh (after editing it if you wish):
cd solve-1.18/
./install.ksh
-
You are just about ready to go. Now you can run solve (usual ly in /usr/local/bin/solve)
for regular-size runs, and solve_giant or the bigger solve_huge for huge unit cells.
-
Now this directory also has in it all the symmetry files
-
This directory also has the local on-line manual. You can access the on-line
manual just by typing "solvehelp" now. (It may only take effect after you
log in again).
-
Finally, you need to set the CCP4_OPEN environmental variable. Put in your
.login_custom or else at the beginning of all files to run solve the following
command. (It allows ccp4 routines to overwrite existing files. If you don't
do this solve will stop the second time you run it when it tries to open
solve.mtz)
-
setenv CCP4_OPEN UNKNOWN # for csh shell
-
export CCP4_OPEN=UNKNOWN # for bash or ksh shells
-
You may also wish to set the environmental variable SOLVEDIR which tells
SOLVE where to look for solve.access and symmetry files. (Change the directory
if you don't use the default one.)
-
setenv SOLVEDIR /usr/local/lib/solve/ # for csh shell
-
export SOLVEDIR=/usr/local/lib/solve/ # for bash or ksh shells
-
You are now ready to go as soon as your solve.access file is ready
3. Here is how to set up your solve.access file. After your license is
completed you should receive an email from us with the two lines of information
for the solve.access file. They will look like:
License for SOLVE expiring 01-jan-97
X89A943951
-
There should be exactly 10 characters left justified on the second line.
This is the access code.
-
Put the 2 lines into a file called "solve.access" and put this file in
the directory /usr/local/lib/solve or else in the directory named by the
environmental variable SOLVEDIR. (See "Intro/Getting
Started/The SOLVEDIR environmental variable" for more information on
setting that variable.)
-
You are ready to go. You should be able to run solve by typing "solve"
from any directory if your path is set up to look in /usr/local/bin for
programs. You can always type "/usr/local/bin/solve" to run solve if your
path isn't set.
If you have problems getting SOLVE going then:
-
try again a couple times following the instructions as closely as possible
-
check that the machine you are working on matches the file you have ftp'd
-
email me for help at terwilliger@lanl.gov