1 (* yes sometimes cpp is useful
*)
4 note
: in addition to Makefile
.config
, globals
/config
.ml is also modified
6 features
.ml
: features
.ml
.cpp Makefile
.config
7 cpp
-DFEATURE_GUI
=$
(FEATURE_GUI
) \
8 -DFEATURE_MPI
=$
(FEATURE_MPI
) \
9 -DFEATURE_PCRE
=$
(FEATURE_PCRE
) \
10 features
.ml
.cpp
> features
.ml
15 beforedepend:: features
.ml
21 module Distribution
= struct
23 Distribution
.under_mpirun()
25 let mpi_main2
?debug_mpi map_ex reduce_ex fxs
=
26 Distribution
.mpi_main2 debug_mpi map_ex reduce_ex fxs
28 let mpi_adjust_argv argv
=
29 Distribution
.mpi_adjust_argv argv
34 module Distribution
= struct
38 let mpi_main2
?debug_mpi map_ex reduce_ex fxs
=
39 let res
= List
.map
map_ex (fxs()) in
42 let mpi_adjust_argv argv
=
49 #if FEATURE_REGEXP_PCRE==1
53 #if FEATURE_BACKTRACE==1
54 module Backtrace
= struct
60 module Backtrace
= struct
62 print_string
"no backtrace support, use configure --with-backtrace\n"