@@ -43,12 +43,17 @@ double asci_pt2_constraint(ASCISettings asci_settings,
4343
4444 const size_t ncdets = std::distance (cdets_begin, cdets_end);
4545 logger->info (" [ASCI PT2 Settings]" );
46- logger->info (" * NDETS = {}" , ncdets);
47- logger->info (" * PT2_TOL = {}" , asci_settings.pt2_tol );
48- logger->info (" * PT2_RESERVE_COUNT = {}" , asci_settings.pt2_reserve_count );
49- logger->info (" * PT2_CONSTRAINT_LVL = {}" , asci_settings.pt2_constraint_level );
50- logger->info (" * PT2_PRUNE = {}" , asci_settings.pt2_prune );
51- logger->info (" * PT2_PRECMP_EPS = {}" , asci_settings.pt2_precompute_eps );
46+ logger->info (" * NDETS = {}" , ncdets);
47+ logger->info (" * PT2_TOL = {}" , asci_settings.pt2_tol );
48+ logger->info (" * PT2_RESERVE_COUNT = {}" , asci_settings.pt2_reserve_count );
49+ logger->info (" * PT2_CONSTRAINT_LVL = {}" , asci_settings.pt2_constraint_level );
50+ logger->info (" * PT2_PRUNE = {}" , asci_settings.pt2_prune );
51+ logger->info (" * PT2_PRECOMP_EPS = {}" , asci_settings.pt2_precompute_eps );
52+ logger->info (" * PT2_BIGCON_THRESH = {}" , asci_settings.pt2_bigcon_thresh );
53+ logger->info (" * NXTVAL_BCOUNT_THRESH = {}" ,
54+ asci_settings.nxtval_bcount_thresh );
55+ logger->info (" * NXTVAL_BCOUNT_INC = {}" ,
56+ asci_settings.nxtval_bcount_inc );
5257 logger->info (" " );
5358
5459 // For each unique alpha, create a list of beta string and store metadata
@@ -176,7 +181,7 @@ double asci_pt2_constraint(ASCISettings asci_settings,
176181 size_t NPT2 = 0 ;
177182
178183 const size_t ncon_total = constraints.size ();
179- const size_t ncon_big = 250 ;
184+ const size_t ncon_big = asci_settings. pt2_bigcon_thresh ;
180185 const size_t ncon_small = ncon_total - ncon_big;
181186
182187 // Global atomic task-id counter
@@ -333,7 +338,7 @@ double asci_pt2_constraint(ASCISettings asci_settings,
333338 while (ic < ncon_total) {
334339 // Atomically get the next task ID and increment for other
335340 // MPI ranks and threads
336- size_t ntake = ic < 1000 ? 1 : 10 ;
341+ size_t ntake = ic < asci_settings. nxtval_bcount_thresh ? 1 : asci_settings. nxtval_bcount_inc ;
337342 ic = nxtval_small.fetch_and_add (ntake);
338343
339344 // Loop over assigned tasks
0 commit comments