Skip to content

Commit

Permalink
IoC: workaround Flang segfault issue (see trilinos#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Dec 25, 2018
1 parent b2726d5 commit b4f55d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/interface/test/Tpetra_ModelEvaluator_1DFEM.f90
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,11 @@ subroutine delete_TpetraModelEvaluator1DFEM(self)
call self%x%release()
call self%J_diagonal%release()

#ifdef __GNUC__
! FIXME This segfaults with Flang
! Call base class release()
call self%ForModelEvaluator%release()
#endif
end subroutine

end module TpetraModelEvaluator1DFEM_module
3 changes: 3 additions & 0 deletions src/interface/test/test_solver_handle.f90
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,11 @@ subroutine delete_TriDiagOperator(self)
call self%domain_map%release()
call self%range_map%release()

#ifdef __GNUC__
! FIXME This segfaults with Flang
! Call base class release()
call self%ForTpetraOperator%release()
#endif
end subroutine


Expand Down

0 comments on commit b4f55d7

Please sign in to comment.