E3SM-Project / E3SM-Project/scorpio

error code checking

Open
#520 0 comments 0 reactions 1 assignee Claimed by @dqwu View on GitHub
bug
Dominant language
C++
Stars
22
Forks
20
Avg merge
12d 19m
Merged PRs (30d)
1

Description

This error code checking is problematic. Assuming it is possible that `ierr` can
be different among processes, checking only root's `ierr` at line 1429 after bcast
at line 1422 may not detect a failure on other processes.

https://github.com/E3SM-Project/scorpio/blob/ac679a546c2345e1b94e0fbb54d06115b91e792c/src/clib/pio_nc.c#L1421-L1434

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.