-
Notifications
You must be signed in to change notification settings - Fork 7
/
load_headless.pl
50 lines (43 loc) · 1.8 KB
/
load_headless.pl
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
:- set_prolog_flag(encoding, utf8).
:-prolog_load_context(directory, Dir)
,asserta(user:file_search_path(project_root, Dir)).
user:file_search_path(src, project_root(src)).
user:file_search_path(subsystems, src(subsystems)).
user:file_search_path(lib, project_root(lib)).
user:file_search_path(data, project_root(data)).
user:file_search_path(output, project_root(output)).
user:file_search_path(scripts, data(scripts)).
:-use_module(configuration).
:-use_module(src(louise)).
:-use_module(src(mil_problem)).
:-use_module(src(auxiliaries)).
:-use_module(subsystems(examples_invention)).
:-use_module(subsystems(metagen)).
:-use_module(subsystems(metarule_extraction)).
:-use_module(subsystems(toil)).
:-use_module(subsystems(greedy)).
:-use_module(subsystems(thelma/thelma)).
:-use_module(lib(evaluation/evaluation)).
:-use_module(lib(folding_unfolding/folding_unfolding)).
:-use_module(lib(sampling/sampling)).
%:-load_test_files([]).
%:-run_tests.
% Large data may require a larger stack.
:- set_prolog_flag(stack_limit, 2_147_483_648).
%:- set_prolog_flag(stack_limit, 4_294_967_296).
%:-set_prolog_flag(stack_limit, 8_589_934_592).
%:-set_prolog_flag(stack_limit, 17_179_869_184).
:-current_prolog_flag(stack_limit, V)
,format('Global stack limit ~D~n',[V]).
% Large hypotheses may require large tables particularly for evaluation
% purposes
:-set_prolog_flag(table_space, 2_147_483_648).
%:-set_prolog_flag(table_space, 4_294_967_296).
%:-set_prolog_flag(table_space, 8_589_934_592).
%:-set_prolog_flag(table_space, 17_179_869_184).
%:-set_prolog_flag(table_space, 34_359_738_368). % 32 GB
%:-set_prolog_flag(table_space, 49_392_123_904). % 46 GB
%:-set_prolog_flag(table_space, 51_539_607_552). % 48 GB
%:-set_prolog_flag(table_space, 53_687_091_200). % 50 GB
:-current_prolog_flag(table_space, V)
,format('Table space ~D~n',[V]).