re-added back in fatal error if petsc is not compiled when using cmfd

This commit is contained in:
Bryan Herman 2013-08-27 15:50:57 -04:00
parent cc553da527
commit 4b6b1a7b98

View file

@ -561,6 +561,10 @@ contains
call lower_case(run_cmfd_)
if (run_cmfd_ == 'true' .or. run_cmfd_ == '1') then
cmfd_run = .true.
#ifndef PETSC
message = 'CMFD is not available, recompile OpenMC with PETSc'
call fatal_error()
#endif
end if
end subroutine read_settings_xml