|
An Information Portal to Biological Macromolecular Structures |
||
|
PDB Home |
Contact Us |
Software Tools Home | Dictionary Home | PDBML Home | DICT-OBJ-FILE Home | |
Installation and Usage Notes for the
DICT-OBJ-FILE - Class Library
1. Installation
a. Uncompress and unbundle the distribution using the following command:
zcat dict-obj-file-v8.004-prod-src.tar.gz | tar -xf -
The result of this command is a subdirectory dict-obj-file-v8.004-prod-src
in the current directory. It contains subdirectories of various source
modules.
2. Building the Application
a. Position in the dict-obj-file-v8.004-prod-src directory and run "make"
command:
cd dict-obj-file-v8.004-prod-src
make
The application executables will be placed in the
"dict-obj-file-v8.004-prod-src/bin" subdirectory.
NOTE: The users who are working on Sun platform are strongly advised to
check the compiler flags in etc/make.platform.sunos5 file. Depending on
the compiler version, users may be required to make modifications to those
compiler flags.
3. Demonstration
a. Position in the dict-obj-file-v8.004-prod-src directory and execute
"make test":
cd dict-obj-file-v8.004-prod-src
make test
This command invokes the script
dict-obj-file-v8.004-prod-src/dict-obj-file-v8.0/test/test.sh
which first executes the DictObjFileCreator application. This application
creates a dictionary object file from the dictionary located in the file
"mmcif_std.dic" and using the DDL located in the file "mmcif_ddl.dic". It
then writes out this dictionary object file to a persistent storage
file "mmcif_std.odb". The script then invokes two other applications
(DictObjFileReader and DictObjFileSelectiveReader). They read the
dictionary object file from the persistent storage file, previously
created, access its objects and print the object contents out to the two
log files with ".out" extension.