forked from blanton144/kcorrect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
36 lines (27 loc) · 1.17 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Installation instructions, kcorrect, MRB 2003-07-18
===================================================
1. Set the environmental variables.
In bash (good to put it into .bash_profile):
KCORRECT_DIR=/usr/local/kcorrect
PATH=$KCORRECT_DIR/bin:$PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$KCORRECT_DIR/lib
export KCORRECT_DIR
export LD_LIBRARY_PATH
IDL_PATH=$IDL_PATH:+$KCORRECT_DIR/pro
In tcsh (good to put it into .tcshrc):
setenv KCORRECT_DIR /usr/local/kcorrect
setenv PATH $KCORRECT_DIR/bin:$PATH
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$KCORRECT_DIR/lib
setenv IDL_PATH ${IDL_PATH}:+$KCORRECT_DIR/pro
EvilUPS or UPS users need only type:
setup -r /usr/local/kcorrect kcorrect
or if they have put the product into the EvilUPS system:
setup kcorrect
Replace /usr/local/kcorrect with wherever you happen to have
put the kcorrect product (eg. $HOME/kcorrect).
Only IDL users need set the IDL_PATH variable.
2. Build the code
cd $KCORRECT_DIR
kevilmake -k all
3. Use the code. You should have the stand-alone C programs built now
and you should be able to use the IDL code from IDL.