MCEEP Version 3.9
last updated: 5 February 2011
This version has been fully tested, except for the elastic 1H(e,e'p)
full-angular bremsstrahlung radiative code. This is the preferred
version for any other feature.
For details, see:
~/mceep/distribute/README_v3_9
after downloading
- Download the compiled RedHat5 3.9 MCEEP RedHat5 MCEEP v3.9
- Download the self-extracting archive, mceep_v3_9.uu,
to your home directory or to any directory where you want the "mceep"
tree to be located.
- If you want the
Laget d(e,e'p) grid calculations,
download:
You
will
need to create a directory and untar these files into it (xxxx=pwia or
pfsi ...):
- mkdir
$mceep_dat/deut_laget/
- mv laget_xxxx.tar.gz
$mceep_dat/deut_laget/
- cd $mceep_dat/deut_laget/
- gunzip laget_xxxx.tar.gz
- tar xvf
laget_xxxx.tar (this will take a while)
(You
can build the program in any directory and thereby keep previous
versions intact.)
- Type "chmod u+x mceep_v3_9.uu" (without the
quotes).
- Type "mceep_v3_9.uu"
- You will be prompted for the type of operating
system (hp,
ultrix, osf1, sun, absoft, g77, sgi).
The above procedure will unpack the program and
produce
three executables:
~/mceep/sources/mceep
~/mceep/utilities/mceep_util
~/mceep/systerr/systerr
To verify the port of mceep, type (from the
~/mceep/utilities/
directory):
"compare_v3_9"
After porting you will need to add three environment
variables to your login script:
mceep_cmn=$mceep_home/mceep/cmn
mceep_dat=$mceep_home/mceep/dat
mceep_util=$mceep_home/mceep/utilities
where $mceep_home refers to the directory from
which you
executed the build (does not have to be your home directory).
To convert MCEEP output to HBOOK format, type
(from
the directory where your input/output is located):
"~/mceep/utilities/make_hbook
input_file", where "input_file" is the mceep input file PREFIX.
Note: As of Version 3.0 MCEEP
will
overwrite existing output. Also, MCEEP will read input from the
current
directory and place output there as well.
Possible problems with porting:
- The mceep_util program links to the
CERNLIB
package.
If this link fails, edit the file "~/mceep/utilities/makefile" so that
the CERN libraries are properly referenced. (This program
can
be used to generate an HBOOK file from the standard MCEEP output
files.
This is automated by the script:
"~/mceep/utilities/make_hbook".)
After editing the makefile, execute make in the utilities directory.
- The make program should be GNU Make. The
path
for this
may be wrong. In this case, you can execute make directly in the
sources and utilities directories.
- A "homemade" script (~/mceep/distribute/makemf)
is
used to
generate the makefiles. This script uses the "awk" utility to do
this. Depending on your system, this utility is referred to
as "awk" or "nawk". It's possible that the default is wrong, in
which
case you need to modify the makemf script - it's obvious how to do
this,
once you look at the beginning of makemf (trust me). Once makemf
is modified, you can build the makefile by executing: "makemf
opsys
mceep" from the sources directory and "makemf opsys mceep_util" from
the
utilities directory, where "opsys" is one of: hp, ultrix, osf1,
sun,
absoft,g77. After producing the makefiles, execute make in the
sources
and utilities directories.
- For
the Linux Absoft
version,
you will
need the Absoft Fortran 77 compiler (Absoft Pro Fortran 5.0 or higher
with
the 4.4 or higher version of the compiler). Otherwise you can use
the g77 option.