DRAGON INSTALLATION AND TESTING
1) Transfer the file dragon.tgz to your unix system
2) Extract the DRAGON archive using
gunzip DRAGON306.TGZ
tar xf DRAGON306.tar
cd DRAGON306
The directory dragon should contain the following files and
subdirectory
COPYRIG~.TXT : text file containing the DRAGON copyright
README.TXT : the file you are currently reading
Guides : directory containing the IGE reports associated
with DRAGON, GANLIB and CLE-2000.
They are all in a acrobat 7.0 format.
IGE174R6D.pdf contains the user guide for DRAGON
IGE232R4D documents the data structures for DRAGON
IGE158 documents GANLIB
IGE163 documents CLE-2000
IGE236 describes the collision probability
calculations in DRAGON.
Sources : directory containing the source code for DRAGON and GANLIB.
It also contains scripts for the dragon installation.
Tests : test cases and dragon running scripts.
3) Install GANLIB, UTILIB and DRAGON
cd Sources
chmod 755 instdrag setup
./instdrag
./setup
cd ../
4) Test your GANLIB installation
cd Tests
gunzip ganlib_t.tgz
tar xf ganlib_t.tar
cd ganlib_t
chmod 755 testing
./testing
cd ../
cd ../
5) Test your DRAGON installation for input file independent
of a microscopic cross section library
cd Tests
gunzip dragon_t.tgz
tar xf dragon_t.tar
cd dragon_t
chmod 755 rmacro
./rmacro 1
cd ../
cd ../
to run test case 1. 11 test cases are provided here. You can select
a single case to test a single case, a range of case or all the cases using
respectively
./rmacro first last
for test cases first to last or
./rmacro
to run all the test cases.
Once the execution is completed rmacro will have
generated the following series of files in tmacro
AIX_v/TCMXX+
for an execution on AIX where XX correspond to a given test case number.
In fact the extensions used in the result directory are:
AIX : AIX systems
HP-UX : HP-UX systems
Linux : Linux systems on pc
SunOS : SunOS systems
Cygwin : Cygwin on Windows
Darwin : MacOS system with xlf compiler
DarwinGnu: MacOS system with g77 compiler
Compare these files with those associated with your machine by looking in the
adequate directory. For example if you are
running on an AIX workstation the comparison procedure for TCM01
could take the form.
cd tmacro
diff -r AIX_r3.06 AIX_v > AIX.dif
more AIX.dif
cd ../
The extensions used in this directory are:
AIX : AIX systems
HP-UX : HP-UX systems
Linux : Linux systems on pc
SunOS : SunOS systems
Cygwin : Cygwin on Windows
Darwin : MacOS system with xlf compiler
DarwinGnu: MacOS system with g77 compiler
6) Testing the installation for the WIMSD4 format iaea WLUP library
In this case one additional step is required before running the test cases.
First download a iaea WLUP library (iaea.lib for the 69 groups version
or iaeagx.lib for the 172 groups X-MAS library) from the site:
http://www-nds.iaea.org/wimsd/downloads.htm
and generate the binary format library using the instructions provided on the WLUP
web site.
If one assumes that your library is located at
/import/library/AIX/iaea
you must set up the DRAGON execution procedure in such a way that
DRAGON knows where to locate this library. This can be done using:
./setup lib
setup now runs in an interactive mode and you just have to
answer its questions.
Then you can test DRAGON on this library using
chmod 755 rwlup
./rwlup
cd twlup
diff -r AIX_r3.06 AIX_v > AIX.dif
more AIX.dif
cd ../
and/or
chmod 755 rwinfrith
./rwinfrith
cd twinfrith
diff -r AIX_r3.06 AIX_v > AIX.dif
more AIX.dif
cd ../
7) Warning
setup uses a file called "dl" in the directory "scripts" to locate the
exact path your dragon executable. Modify it if you change
the location of your dragon executable. The file "ll" contains
the location of the microscopic cross section libraries you have defined.
You can modify these locations in both in ll and dl and use setup again or
do
mv rundragon mydragon
chmod 755 mydragon
and edit "mydragon" directly.
Note that "setup" generates a new "rundragon" and must not be run if
"rundragon" was been edited manually
8) Final comments
Enjoy DRAGON !