In 64-bit operating system, SNAPHU may come into an segmentation error like this:
parameters input from file snaphu.conf (219 lines total)
Logging run-time parameters to file snaphu.log
Segmentation fault (core dumped)
This is caused by ctime() function in src/snaphu_io.c file . To solve this problem, edit this file, change “#include <sys/time.h>” into “#include <time.h>”, and then compile and install again .
1. Mahmut Arikan, Eric Fielding. 2011. [doris-discuss] Snaphu fix for 64-bit platforms. url:https://groups.yahoo.com/neo/groups/doris_users/conversations/topics/4248
2. install – Doris, url:http://doris.tudelft.nl/software/INSTALL