NAME

initIndexFile - Initialize the tile index file

SYNOPSIS

#include "topo/index.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int initIndexFile(void);

DESCRIPTION

Initialized the index file, sets up converting if necessary. This and all file cache functions are NOT reentrant, because they access static structures.

RETURNS

On success, returns NO_ERROR. Otherwise returns ERROR and sets an error message.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Scott Morris

DOCUMENTER

Andrew Predoehl

SEE ALSO

closeIndexFile , addIndexEntry , findTileOnDisk , getTileFromDisk , invalidateEntry