ratt-ru / mt-imager

The Malta Imager -- a GPU-based imager from Daniel Muscat (U. Malta)
GNU General Public License v3.0
1 stars 2 forks source link

hardcoded config and log paths need to be changed #2

Open o-smirnov opened 10 years ago

o-smirnov commented 10 years ago
$ mt-imager 
log4cxx: Could not read configuration file [/opt/software/mt-imager/conf/log.properties].
log4cxx: No appender could be found for logger (execution.performance.ImagerStatistics).
log4cxx: Please initialize the log4cxx system properly.
terminate called after throwing an instance of 'GAFW::Tools::CSVWriter::CSVWriterException'
  what():  
Function called: CSVWriter::CSVWriter()
Reason: Unable to open file for write: /home/daniel/performance.csv

Aborted (core dumped)
$ 

Two obvious problems here:

Installation log:

$ make install
# ...lots of bullshit skipped...
-- Install configuration: ""
-- Installing: /usr/local/lib/libgafw-tools.so
-- Set runtime path of "/usr/local/lib/libgafw-tools.so" to "/usr/local/lib:/usr/local/boost-1.55/lib"
-- Installing: /usr/local/lib/libgafw-pil.so
-- Set runtime path of "/usr/local/lib/libgafw-pil.so" to "/usr/local/lib"
-- Installing: /usr/local/lib/libgafw-impl.so
-- Set runtime path of "/usr/local/lib/libgafw-impl.so" to "/usr/local/lib:/usr/local/boost-1.55/lib:/usr/local/cuda-5.5/lib64"
-- Installing: /usr/local/lib/libmt-imager-lib.so
-- Set runtime path of "/usr/local/lib/libmt-imager-lib.so" to "/usr/local/lib:/usr/local/boost-1.55/lib:/usr/local/cuda-5.5/lib64"
-- Installing: /usr/local/bin/mt-imager
-- Set runtime path of "/usr/local/bin/mt-imager" to "/usr/local/lib:/usr/local/cuda-5.5/lib64:/usr/local/boost-1.55/lib"
-- Installing: /usr/local/conf/log.properties
-- Installing: /usr/local/conf/mtimager.properties