The most common problem with installation of program LOGIC appears to be in the running of the ENCODE programs that installs the ICDD-JCPDS PDF-2 powder diffraction database.
Debugging Program LOGIC
Note that warning messages from these routines are normal; see the web page of sample ENCODE output.
To rerun this procedure, on Windows, use "CMPR & LOGIC -> Install PDF-2 for LOGIC" in the Start Menu to invoke this routine. On other platforms invoke the .../CMPR/logic/encode/encode.tcl script directly.
The output from the program is a series of files usually placed in the .../CMPR/logic/encode/indexfiles directory and a file named c:\icddloc.txt (or ~/.icdd_files_loc) with contents like this:
C:/Program Files/CMPR/logic/indexfiles/ C:/PDF22003/pdf2.dat (none)[The first line is the directory with the files written by the ENCODE procedure & the second is the source PDF-2 file.]It may be possible that this program will fail on future releases of the database. If this happens, please send me the output so that I have a shot at fixing the program.
If the above has operated properly, to debug LOGIC, try the following in a xterm, cmd.exe or command.exe window
Example of problem:
C:\>cd \Program Files\cmpr\logic C:\Program Files\CMPR\logic>report -total psl_init ERROR: Unable to determine the locations of ICDD database error initializing the ICDD databaseThe above error happens when the c:\icddloc.txt file is missing.Correct behavior:
C:\>cd \Program Files\cmpr\logic C:\Program Files\CMPR\logic>report -total 157048
Neither the author nor the U.S. Government makes any warranty, expressed or implied, or assumes any liability or responsibility for the use of this information or the software described here. Brand names cited here are used for identification purposes and do not constitute an endorsement by NIST.Brian Toby (Brian.Toby@NIST.GOV)
2/2004
lastmod(); ?>