git clone https://github.com/Jonghyun-Yun/HiNIRM.git
C codes for Model1 and Model2 are contained sub-directories model1
and model2
, respectively. To compile the code, execute the below.
cd model{1,2}
gcc -O3 main.c -o main
NiNIRM
support parallel computing using OpenMP. To enable it, compile main
using -fopenmp
flag. Make sure if your compiler support OpenMP.
gcc -O3 main.c -o main -fopenmp
header.h
contains tuning parameters for MCMC and parameters for model configuration. To run the program, execute the below:
export OMP_NUM_THREADS=<number_of_parallel_workers>
./main 1