N
U
C
P
L
O
T manual
2. Installation of programs
a) Decompress and untar the HBPLUS and NUCPLOT programs
Type the following commands:
- gunzip hbplus.tar.Z
- tar -xvf hbplus.tar
- gunzip nucplot.tar.Z
- tar -xvf nucplot.tar
The above commands decompress the files containing the necessary
programs and creates directories called hbplus/ and nucplot/.
b) Compiling the programs.
i) HBPLUS:
Change directories to hbplus/ and type the following command:
ii) NUCPLOT:
Change directories to nucplot/ and type the following command:
- cc -o nucplot nucplot.c -lm
- cc -o hbadd hbadd.c -lm
-lm is an option that includes the Standard Maths library.
iii) Het Group Dictionary:
Place the Het Group Dictionary in the nucplot/ directory.
c) Assignment of aliases/logical names
Under UNIX, the following aliases need to be defined to run NUCPLOT
and HBPLUS. They can be placed in the user's .cshrc file.
# NUCPLOT
# -------
set nucdir = 'nucplot-directory' <---- See **
setenv nucdir 'nucplot-directory'
alias nucplot $nucdir'/nucplot.scr'
alias nuconly $nucdir'/nuconly.scr'
** nucplot-directory gives the full path to where the NUCPLOT
program files are held. Please change accordingly.
# HBPLUS
# ------
set hbdir = 'hbplus-directory'
setenv hbdir 'hbplus-directory'
alias hbplus $hbdir'/hbplus'
After modifying the .cshrc file, type the following command to set up
the aliases:
N
U
C
P
L
O
T
manual