tristanz / OpenIRT (http://people.fas.harvard.edu/~tzajonc/openirt.html)

Bayesian and Maximum Likelihood Estimation of Item Response Theory (IRT) Models

Clone this repository (size: 589.9 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/tristanz/openirt
commit 37: 0d32afb3521b
parent 36: 4e35255dd116
branch: default
tags: tip
Fixed 10.5 OSX compile issue
Tristan Zajonc / tristanz
6 months ago
OpenIRT / src / make.sh
r37:0d32afb3521b 9 loc 688 bytes embed / history / annotate / raw /
1
2
3
4
5
6
7
8
9
#!/bin/bash
echo "Compiling OpenIRT..."
# g++ -O3 -funroll-loops openirt.cc -o openirt
# g++ -O3 -funroll-loops -I /usr/local/include/boost-1_39/ openirt.cpp -o build/openirt /lib/libboost_thread-xgcc40-mt.a
#g++ -O3 -funroll-loops -I /usr/local/include/boost-1_39/  openirt.cpp -o build/openirt
g++ -DSCYTHE_DEBUG=0 -O3 -funroll-loops -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -I /usr/local/include/boost-1_39/ -I /Users/tristanz/data/OpenIRT/src/ openirt.cpp -o build/openirt
# source /opt/intel/Compiler/11.0/059/bin/iccvars.sh ia32
#icpc -DSCYTHE_DEBUG=0 -O3 -fast -I /usr/local/include/boost-1_39/ openirt.cpp -o ../Stata/openirt.exe
#[ $? -ne 0 ] && exit 1