-
Notifications
You must be signed in to change notification settings - Fork 1
/
NU-MineBench-3.0.1.patch
604 lines (553 loc) · 15.5 KB
/
NU-MineBench-3.0.1.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a77143f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,121 @@
+*~
+*.o
+*.a
+*.la
+
+*.lo
+*.log
+*.status
+
+
+AFI/afi
+
+Apriori/omp_apriori
+
+BIRCH/birch
+
+Bayesian/bayes/src/bcdb
+Bayesian/bayes/src/bci
+Bayesian/bayes/src/bcx
+Bayesian/bayes/src/corr
+Bayesian/matrix/src/invert
+Bayesian/matrix/src/solve
+Bayesian/matrix/src/transp
+Bayesian/table/src/dom
+Bayesian/table/src/opc
+Bayesian/table/src/t1inn
+Bayesian/table/src/tbal
+Bayesian/table/src/tjoin
+Bayesian/table/src/tmerge
+Bayesian/table/src/tnorm
+Bayesian/table/src/tsplit
+Bayesian/table/src/uvins
+Bayesian/table/src/xmat
+
+ECLAT/eclat
+
+HOP/para_hop
+
+KMeans/example
+
+PLSA/parasw
+
+ParETI/pareti
+
+RSEARCH/Makefile
+RSEARCH/squid/Makefile
+RSEARCH/squid/Testsuite/Makefile
+RSEARCH/squid/squid.h
+RSEARCH/squid/squidconf.h
+RSEARCH/makernamat
+RSEARCH/rsearch
+RSEARCH/squid/afetch
+RSEARCH/squid/alistat
+RSEARCH/squid/compalign
+RSEARCH/squid/compstruct
+RSEARCH/squid/revcomp
+RSEARCH/squid/seqsplit
+RSEARCH/squid/seqstat
+RSEARCH/squid/sfetch
+RSEARCH/squid/shuffle
+RSEARCH/squid/sindex
+RSEARCH/squid/sreformat
+RSEARCH/squid/translate
+RSEARCH/squid/version.h
+RSEARCH/squid/weight
+
+
+Recursive_Weak/rw
+Recursive_Weak_pp/rwpp
+
+SEMPHY/programs/NJ/NJ
+SEMPHY/programs/checkCov/checkCov
+SEMPHY/programs/distanceBasedSeqs2TreeSA/distanceBasedSeqs2TreeSA
+SEMPHY/programs/distanceEstimation/distanceEstimation
+SEMPHY/programs/randGamma/randGamma
+SEMPHY/programs/rate4site/rate4site
+SEMPHY/programs/readSeq/readSeq
+SEMPHY/programs/semphy/semphy
+SEMPHY/programs/simulateSequance/simulateSequnce
+SEMPHY/programs/treeUtil/makeSureAllBranchesAreLargerThanEpsilon
+SEMPHY/programs/treeUtil/sametree
+SEMPHY/programs/treeUtil/shortenTree
+
+SNP/pnl.snp/PNL/**/.libs
+SNP/pnl.snp/PNL/**/.deps
+SNP/pnl.snp/PNL/Makefile
+SNP/pnl.snp/PNL/c_pgmtk/Makefile
+SNP/pnl.snp/PNL/c_pgmtk/**/Makefile
+SNP/pnl.snp/PNL/cxcore/Makefile
+SNP/pnl.snp/PNL/cxcore/**/Makefile
+SNP/pnl.snp/PNL/high/Makefile
+SNP/pnl.snp/PNL/high/**/Makefile
+SNP/pnl.snp/PNL/doc/Makefile
+SNP/pnl.snp/PNL/trs/Makefile
+SNP/pnl.snp/PNL/trs/**/Makefile
+
+SNP/pnl.snp/PNL/c_pgmtk/examples/ex_inf_learn_dbn/src/inf_learn_dbn
+SNP/pnl.snp/PNL/c_pgmtk/examples/ex_param/Src/ex_param
+SNP/pnl.snp/PNL/c_pgmtk/examples/gibbs/Src/gibbs
+SNP/pnl.snp/PNL/c_pgmtk/examples/inf_learn_bnet/Src/inf_learn_bnet
+SNP/pnl.snp/PNL/c_pgmtk/examples/learn_param/src/learn_param
+SNP/pnl.snp/PNL/c_pgmtk/examples/linux_test/test_run
+SNP/pnl.snp/PNL/c_pgmtk/examples/mixture_gaussian_bnet/Src/mixture_gaussian_bnet
+SNP/pnl.snp/PNL/c_pgmtk/examples/parPNLTest/src/parPNLTest
+SNP/pnl.snp/PNL/c_pgmtk/examples/testLIMID/src/TestLIMID
+SNP/pnl.snp/PNL/c_pgmtk/examples/testSL/testSEM
+SNP/pnl.snp/PNL/c_pgmtk/examples/testSL/testSL
+SNP/pnl.snp/PNL/c_pgmtk/examples/testSL/testSL_DBN
+SNP/pnl.snp/PNL/c_pgmtk/examples/testSoftMax/src/TestSoftMax
+SNP/pnl.snp/PNL/c_pgmtk/examples/trial/Src/trial
+SNP/pnl.snp/PNL/c_pgmtk/examples/use_matrix/src/use_matrix
+SNP/pnl.snp/PNL/high/examples/example
+SNP/pnl.snp/PNL/libtool
+SNP/pnl.snp/snp/snp
+
+SVM-RFE/svm_mkl
+
+ScalParC/scalparc
+
+Utility_Mining/para_tran_utility/utility_mine
+Utility_Mining/tran_utility/utility_mine
\ No newline at end of file
diff --git a/Apriori/Database.C b/Apriori/Database.C
index 4919c0a..f1882d8 100644
--- a/Apriori/Database.C
+++ b/Apriori/Database.C
@@ -91,7 +91,8 @@ int Database_readfrom(char *infile, int * &items, int * & offsets, int pid, int
seconds(t_io_1);
Dbase_file = fopen(infile,"r");
- if (Dbase_file < 0){
+ if (Dbase_file == NULL){
+ perror(infile);
printf("Error couldn't open file %s\n", infile);
exit(-1);
}
@@ -165,6 +166,7 @@ int Database_readfrom(char *infile, int * &items, int * & offsets, int pid, int
}
free(buffer);
+ fclose(Dbase_file);
return max_trans_sz;
}
diff --git a/Apriori/Makefile b/Apriori/Makefile
index 650e256..d0cf552 100644
--- a/Apriori/Makefile
+++ b/Apriori/Makefile
@@ -2,8 +2,8 @@ CXX = g++
OMPFLAG = -fopenmp
OPTS = -g -O2 -DBALT
-CFLAGS = $(OPTS) $(OMPFLAG)
-LIBS = -lm
+CFLAGS = $(OPTS) $(OMPFLAG) $(shell pkg-config --cflags copper-eval)
+LIBS = -lm $(shell pkg-config --libs --static copper-eval)
HEADERS = Itemset.h \
ListItemset.h \
diff --git a/Apriori/omp_apriori.C b/Apriori/omp_apriori.C
index 36e8504..8efaf45 100644
--- a/Apriori/omp_apriori.C
+++ b/Apriori/omp_apriori.C
@@ -11,6 +11,7 @@
#include <sys/types.h>
#include <math.h>
#include <string.h>
+#include <copper-eval.h>
#include "Itemset.h"
#include "ListItemset.h"
@@ -560,6 +561,19 @@ void clean_up(){
int main(int argc, char **argv)
{
+ if (copper_eval_init()) {
+ perror("copper_eval_init");
+ exit(1);
+ }
+
+ unsigned long jobs = 100;
+ const char* env_jobs = getenv("JOBS");
+ if (env_jobs != NULL) {
+ jobs = atoi(env_jobs);
+ }
+ unsigned long job;
+ for (job = 0; job < jobs; job++) {
+
char sumfile[100];
parse_args(argc, argv);
@@ -591,6 +605,12 @@ int main(int argc, char **argv)
fflush(stdout);
clean_up();
fclose(summary);
+
+ copper_eval_iteration(job, 0);
+ }
+ if (copper_eval_finish()) {
+ perror("copper_eval_finish");
+ }
exit(0);
}
diff --git a/HOP/Makefile b/HOP/Makefile
index 811b201..4501e00 100644
--- a/HOP/Makefile
+++ b/HOP/Makefile
@@ -2,8 +2,8 @@
CXX = g++
OMPFLAG = -fopenmp
-CFLAGS = -O -g -Wno-write-strings $(OMPFLAG)
-LIB = -lm
+CFLAGS = -O -g -Wno-write-strings $(OMPFLAG) $(shell pkg-config --cflags copper-eval)
+LIB = -lm $(shell pkg-config --libs --static copper-eval)
SRCS = para_hop.c \
para_hop_kd.c \
diff --git a/HOP/para_hop.c b/HOP/para_hop.c
index d13124d..3e0e4b9 100644
--- a/HOP/para_hop.c
+++ b/HOP/para_hop.c
@@ -24,6 +24,8 @@ http://www.sns.ias.edu/~eisenste/hop/hop_doc.html */
#include "para_kd.h"
#include "smooth.h"
+#include <copper-eval.h>
+
static int _debug;
int nthreads,*start_index,num_particles,*local_num_p, *local_buf_size;
float **samples_set, **median_seg, **local_median_seg;
@@ -108,6 +110,18 @@ int main(int argc, char *argv[])
strcpy(achFile,"output_hop");
inputfile = NULL;
double t1, t2,timing_io_read, total_time, timing[NUM_STAGES];
+
+ if (copper_eval_init()) {
+ perror("copper_eval_init");
+ exit(1);
+ }
+ unsigned long jobs = 400;
+ const char* env_jobs = getenv("JOBS");
+ if (env_jobs != NULL) {
+ jobs = atoi(env_jobs);
+ }
+ unsigned long job;
+ for (job = 0; job < jobs; job++) {
for (j=0;j<3;++j) fPeriod[j] = 1.0;
nMerge = 4;
@@ -214,6 +228,7 @@ if (pid==0)
kd->bnd.fMax[j]=local_bnd[i].fMax[j];
}
}
+ fclose(fp);
}/*end of parallelization*/
seconds(t1);
@@ -343,6 +358,11 @@ printf("number of groups = %d\n", smx->nGroups);
kdFinish(kd);
INFORM("All Done!");
*/
+ copper_eval_iteration(job, 0);
+ }
+ if (copper_eval_finish()) {
+ perror("copper_eval_finish");
+ }
return 0;
}
diff --git a/KMeans/Makefile b/KMeans/Makefile
index a27f287..5abed63 100644
--- a/KMeans/Makefile
+++ b/KMeans/Makefile
@@ -8,8 +8,8 @@ DFLAGS =
OPTFLAGS = -O2
INCFLAGS =
-CFLAGS = $(OPTFLAGS) $(DFLAGS) $(INCFLAGS)
-LDFLAGS = -lm
+CFLAGS = $(OPTFLAGS) $(DFLAGS) $(INCFLAGS) $(shell pkg-config --cflags copper-eval)
+LDFLAGS = -lm $(shell pkg-config --libs --static copper-eval)
H_FILES = fuzzy_kmeans.h
diff --git a/KMeans/example.c b/KMeans/example.c
index 76253ae..6876126 100644
--- a/KMeans/example.c
+++ b/KMeans/example.c
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <omp.h>
+#include <copper-eval.h>
#include "fuzzy_kmeans.h"
@@ -140,6 +141,18 @@ int main(int argc, char **argv) {
if (filename == 0) usage(argv[0]);
+ if (copper_eval_init()) {
+ perror("copper_eval_init");
+ exit(1);
+ }
+ unsigned long jobs = 100;
+ const char* env_jobs = getenv("JOBS");
+ if (env_jobs != NULL) {
+ jobs = atoi(env_jobs);
+ }
+ unsigned long job;
+ for (job = 0; job < jobs; job++) {
+
/*
if (perform_fuzzy_kmeans == 1)
is_perform_valid = 1;
@@ -393,6 +406,12 @@ int main(int argc, char **argv) {
free(cluster_centres);
free(buf);
+ copper_eval_iteration(job, 0);
+ }
+ if (copper_eval_finish()) {
+ perror("copper_eval_finish");
+ }
+
return(0);
}
diff --git a/PLSA/Makefile b/PLSA/Makefile
index f61b2c8..edbed16 100644
--- a/PLSA/Makefile
+++ b/PLSA/Makefile
@@ -2,7 +2,7 @@
CCOMPILE = gcc
CPPCOMPILE = g++
-COMPILEOPTION = -g -Wno-write-strings
+COMPILEOPTION = -g -Wno-write-strings -fopenmp
INCLUDEDIR =
LIBHOME =
LINK = $(CPPCOMPILE)
@@ -13,7 +13,7 @@ OBJS = wtime.o ParseFile.o ParallelSWAlgorithm.o ParaSWProcessorSet.o ParaSWProb
OUTPUT = ./parasw
################OPTION END################
$(OUTPUT):$(OBJS)
- $(LINK) $(OBJS) $(LINKOPTION) -o $(OUTPUT) $(LIBS) $(LIBDIRS)
+ $(LINK) $(OBJS) $(LINKOPTION) -o $(OUTPUT) $(LIBS) $(LIBDIRS) -fopenmp
clean:
rm -f $(OBJS) $(OUTPUT)
diff --git a/SEMPHY/programs/rate4site/rate4siteOptions.cpp b/SEMPHY/programs/rate4site/rate4siteOptions.cpp
index 1ea03bf..cf127a7 100644
--- a/SEMPHY/programs/rate4site/rate4siteOptions.cpp
+++ b/SEMPHY/programs/rate4site/rate4siteOptions.cpp
@@ -3,6 +3,7 @@
#include "rate4siteOptions.h"
#include "errorMsg.h"
#include <iostream>
+#include <unistd.h>
using namespace std;
rate4siteOptions::rate4siteOptions(int& argc, char *argv[]):
diff --git a/SNP/pnl.snp/snp/Makefile b/SNP/pnl.snp/snp/Makefile
index 69ee033..76ec5b0 100644
--- a/SNP/pnl.snp/snp/Makefile
+++ b/SNP/pnl.snp/snp/Makefile
@@ -1,5 +1,5 @@
# CXX = icpc -openmp
-CXX = g++ -fopenmp
+CXX = g++ -fopenmp -fpermissive
all: snp
diff --git a/SVM-RFE/Makefile b/SVM-RFE/Makefile
index 90c8fde..f411de7 100644
--- a/SVM-RFE/Makefile
+++ b/SVM-RFE/Makefile
@@ -2,14 +2,14 @@
################OPTION###################
CCOMPILE = gcc
CPPCOMPILE = g++
-COMPILEOPTION = -g -fopenmp -D_OPT
+COMPILEOPTION = -g -fopenmp -D_OPT $(shell pkg-config --cflags copper-eval)
# INCLUDEDIR = -I/opt/intel/vtune/analyzer/include -I/opt/intel/mkl721/include
INCLUDEDIR = -I.
LIBHOME =
LINK = g++
LINKOPTION = -g -fopenmp -o ./svm_mkl
LIBS = /opt/intel/mkl721/lib/32/libmkl_ia32.a
-LIBS =
+LIBS = $(shell pkg-config --libs --static copper-eval)
LIBDIRS =
OBJS = wtime.o svm.o svm_rfe.o svm_rfe_test.o
OUTPUT = ./svm_mkl
diff --git a/SVM-RFE/svm_rfe.cpp b/SVM-RFE/svm_rfe.cpp
index 272a216..9349ec7 100644
--- a/SVM-RFE/svm_rfe.cpp
+++ b/SVM-RFE/svm_rfe.cpp
@@ -7,6 +7,7 @@
#include <math.h>
#include <string>
#include <iostream>
+#include <copper-eval.h>
#include "svm_rfe.h"
@@ -1343,6 +1344,7 @@ bool Svm_RFE::svm_rfe_engine(struct svm_problem prob,struct svm_parameter param,
}
else
{
+ int count = 0;
while (nIteration --) // Test use, eric, 5/14/2004
{
int temp= weights.size();
@@ -1401,6 +1403,7 @@ bool Svm_RFE::svm_rfe_engine(struct svm_problem prob,struct svm_parameter param,
end_t = clock();
total += (double)(end_t-start_t)/CLOCKS_PER_SEC;
#endif
+ copper_eval_iteration(count++, 0);
}
}
diff --git a/SVM-RFE/svm_rfe_test.cpp b/SVM-RFE/svm_rfe_test.cpp
index da0bbae..f13fe62 100644
--- a/SVM-RFE/svm_rfe_test.cpp
+++ b/SVM-RFE/svm_rfe_test.cpp
@@ -5,6 +5,7 @@
#include <iostream>
#include <fstream>
#include "time.h"
+#include <copper-eval.h>
#include "svm_rfe.h"
#define Malloc(type,n) (type *)malloc((n)*sizeof(type))
@@ -49,6 +50,11 @@ int cmdline_parse(int argc, char* argv[]);
int main(int argc, char* argv[])
{
+ if (copper_eval_init()) {
+ perror("copper_eval_init");
+ exit(1);
+ }
+
int i, j;
clock_t start0, end0;
double sum0;
@@ -109,6 +115,10 @@ int main(int argc, char* argv[])
}
fprank.close();
+ if (copper_eval_finish()) {
+ perror("copper_eval_finish");
+ }
+
return 0;
}
diff --git a/ScalParC/Makefile b/ScalParC/Makefile
index a539bfd..7a54452 100644
--- a/ScalParC/Makefile
+++ b/ScalParC/Makefile
@@ -1,12 +1,12 @@
# CC = icc -openmp
CC = gcc -fopenmp
-CFLAGS = -g $(INCLUDE_DIR)
+CFLAGS = -g $(INCLUDE_DIR) $(shell pkg-config --cflags copper-eval)
LINKFLAGS =
INCLUDE_DIR = -I.
-LIBS = -lm
+LIBS = -lm $(shell pkg-config --libs --static copper-eval)
TARGET = scalparc
OBJ = drive.o getdata.o parsort.o parclass.o
diff --git a/ScalParC/drive.c b/ScalParC/drive.c
index 7678d5a..56312f9 100644
--- a/ScalParC/drive.c
+++ b/ScalParC/drive.c
@@ -3,6 +3,7 @@
#include <string.h>
#include <math.h>
#include <time.h>
+#include <copper-eval.h>
#define MAIN_FILE
#include "pclass.h"
@@ -17,6 +18,18 @@ struct timeval tp;
int main(int argc, char *argv[])
{
+ if (copper_eval_init()) {
+ perror("copper_eval_init");
+ exit(1);
+ }
+ unsigned long jobs = 400;
+ const char* env_jobs = getenv("JOBS");
+ if (env_jobs != NULL) {
+ jobs = atoi(env_jobs);
+ }
+ unsigned long job;
+ for (job = 0; job < jobs; job++) {
+
FILE *fp_data;
char datafile[FILE_NAME_LEN], file_name[FILE_NAME_LEN];
int i,j,k;
@@ -97,4 +110,9 @@ int main(int argc, char *argv[])
printf("Total execution time with %d processoers: %f\n",nthreads, te-ts);
printf("I/O time = %f\n", max);
printf("Computation time =%f\n", te-ts - max);
+ copper_eval_iteration(job, 0);
+ }
+ if (copper_eval_finish()) {
+ perror("copper_eval_finish");
+ }
}
diff --git a/Utility_Mining/para_tran_utility/Makefile b/Utility_Mining/para_tran_utility/Makefile
index 9091e92..0390f28 100644
--- a/Utility_Mining/para_tran_utility/Makefile
+++ b/Utility_Mining/para_tran_utility/Makefile
@@ -1,11 +1,11 @@
# CXX = icpc -openmp
CXX = g++ -fopenmp
-CFLAGS = -O2 -g
+CFLAGS = -O2 -g $(shell pkg-config --cflags copper-eval)
OBJS = ListItemset.o
OBJS2 = Database.o Itemset.o HashTree.o
OPTS = -DBALT -DOPTIMAL
-LIBS = -lm
+LIBS = -lm $(shell pkg-config --libs --static copper-eval)
TARGET = utility_mine
diff --git a/Utility_Mining/para_tran_utility/utility.cc b/Utility_Mining/para_tran_utility/utility.cc
index 6173ce2..6bb723e 100644
--- a/Utility_Mining/para_tran_utility/utility.cc
+++ b/Utility_Mining/para_tran_utility/utility.cc
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <memory.h>
#include <fcntl.h>
+#include <copper-eval.h>
#include "Itemset.h"
#include "ListItemset.h"
@@ -530,6 +531,18 @@ void clean_up(){
int main(int argc, char **argv)
{
+ if (copper_eval_init()) {
+ perror("copper_eval_init");
+ exit(1);
+ }
+ unsigned long jobs = 100;
+ const char* env_jobs = getenv("JOBS");
+ if (env_jobs != NULL) {
+ jobs = atoi(env_jobs);
+ }
+ unsigned long job;
+ for (job = 0; job < jobs; job++) {
+
int profit_file;
summary = fopen("out", "a+");
int lb, ub, pid, blk,indx, i, k, j, m, n, *buf, numitem, tid;
@@ -682,6 +695,12 @@ seconds(t3);
// close_DCB(DCB);
clean_up();
+ copper_eval_iteration(job, 0);
+ }
+ if (copper_eval_finish()) {
+ perror("copper_eval_finish");
+ }
+
return(0);
}
diff --git a/compilenotes.txt b/compilenotes.txt
index ef0e403..3695ba8 100644
--- a/compilenotes.txt
+++ b/compilenotes.txt
@@ -107,10 +107,10 @@
-- SNP --
cd SNP/pnl.snp/PNL
- run commands "./configure CC=gcc CXX=g++"
+ run commands "./configure CC=gcc CXX=g++ CXXFLAGS=-fpermissive"
run "make"
cd ../snp
- edit Makefile to set CXX to g++ and run command "make"
+ edit Makefile to append "-fpermissive" to CXX and run command "make"
This will produce executable named "snp".
For icc 7.1 and 8.1