Skip to content

Commit

Permalink
IOSS: Fix parallel fpp qa output
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Mar 1, 2024
1 parent be9c1f6 commit 009f3d1
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -579,12 +579,7 @@ namespace Ioex {
Ioss::Utils::copy_string(qa[num_qa_records].qa_record[0][1], version, MAX_STR_LENGTH + 1);

int ierr = 0;
if (isParallel && myProcessor != 0) {
ierr = ex_put_qa(get_file_pointer(), num_qa_records + 1, nullptr);
}
else {
ierr = ex_put_qa(get_file_pointer(), num_qa_records + 1, qa[0].qa_record);
}
ierr = ex_put_qa(get_file_pointer(), num_qa_records + 1, qa[0].qa_record);
if (ierr < 0) {
Ioex::exodus_error(get_file_pointer(), __LINE__, __func__, __FILE__);
}
Expand Down

0 comments on commit 009f3d1

Please sign in to comment.