|
||
---|---|---|
.. | ||
.idea | ||
cmake-build-debug | ||
config | ||
data | ||
doc | ||
include | ||
lib | ||
src | ||
template_table | ||
1.txt | ||
CMakeLists.txt | ||
RA240_DEC10_template | ||
README.md | ||
cmd | ||
multiThreadTest |
README.md
Squirrel
Makefile is the Netbeans IDE's default auto compile. Makefile1 is used for manual compile.
to compile run command: make -f Makefile1
run example ./crossmatch -method sphere -grid 4,4 -errorRadius 0.06 -fitsHDU 3 -ref data/P_130112_25d4458_33d9878-210.Fcat -sample data/P_130112_25d4458_33d9878-119.Fcat -dbConfigFile data/database_config.txt -fluxSDTimes 1 ./crossmatch -method plane -g 4,4 -errorRadius 1.5 -searchRadius 50 -width 3096 -height 3096 -fitsHDU 3 -ref data/P_130112_25d4458_33d9878-210.Fcat -sample data/P_130112_25d4458_33d9878-119.Fcat -dbConfigFile data/database_config.txt -fluxSDTimes 1
note: 1,remember add library/astrometry.net-0.38/lib to LD_LIBRARY_PATH export LD_LIBRARY_PATH=project_path/library/astrometry.net-0.38/lib:${LD_LIBRARY_PATH}
2,install libpq-dev library to use postgres database for Ubuntu systems: sudo apt-get install libpq-dev for RHEL systems: yum install postgresql-devel for Mac: brew install postgresql
4, head file path RHEL: /usr/include/postgresql/libpq-fe.h
3,library path Ubuntu: /usr/lib/postgresql/9.3/ RHEL: /usr/include/postgresql
netbeans run command for crassmatch "${OUTPUT_PATH}" -method plane -grid 4,4 -errorRadius 1.5 -searchRadius 50 -fitsHDU 3 -ref data/ref.Fcat -sample data/M3_05_141025_1_074020_0873.Fcat -dbConfigFile config/database_config.txt -width 3016 -height 3016 for createtable "${OUTPUT_PATH}" -c 20151111