Skip to content

Commit

Permalink
make it possible to ignore stops with XCINT_IGNORE_STOPS env var
Browse files Browse the repository at this point in the history
  • Loading branch information
bast committed Jan 16, 2021
1 parent b0f59b9 commit fde3e75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/integrator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,10 @@ void XCint::integrate_batch(const double dmat[],

if (geo_derv_order == 2 && num_fields == 0)
{
fprintf(stderr, "F_xc^GG contribution is not fully implemented/tested");
exit(-1);
if (!getenv("XCINT_IGNORE_STOPS")) {
fprintf(stderr, "F_xc^GG contribution is not fully implemented/tested");
exit(-1);
}
// contribution_is_implemented = true;

// M_ij d_n
Expand Down

0 comments on commit fde3e75

Please sign in to comment.