before compile, gsl must be installed how to compile:
make
how to run (options are in the main.c code):
cd main
./DCJUC
IMPORTANT: V1 has been deprecated, it's only for reference, please use V2 which is in folder DCJUC_V2
MAC OS
Compilers and configuration tools (you might need to edit configure.ac):
brew install gcc@9
brew install autoconf automake libtool
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
Ubuntu Linux
sudo apt-get install build-essential
sudo apt-get install autoconf automake gdb git libffi-dev zlib1g-dev libssl-dev
sudo apt install libtool
sudo apt-get install gcc-4.8
cd shell/insdis ./batch_gen_dist_graph.sh
TODO this is a bug
vi data/dist/graph/1000_0.1_0.0_0.1_dual_balanced/0.1_0.0_0.1_0
# append 0 to the first line
./src/optkit --dis --dis_mode 2 --input_file data/dist/graph/1000_0.1_0.1_0.1_dual_balanced/0.1_0.1_0.1_0 --p_mode 1 --opt_file data/dist/opt_tmp_result/1000_0.1_0.1_0.1_dual_balanced/0.1_0.1_0.1_0 --seq_len 1000