E3SM-Project / scorpio

A high-level Parallel I/O Library for structured grid applications
Other
21 stars 16 forks source link

Use function version of flush for XL #499

Closed jayeshkrishna closed 1 year ago

jayeshkrishna commented 1 year ago

The subroutine for flushing stdout, flush, is not available in newer versions (at least 16.1.1-10 on Summit) of the XL compiler.

So for XL we now use the function version of flush

Fixes #497

jayeshkrishna commented 1 year ago

This issue will be fixed by PR #500 .

Although this PR fixes the issue, PR #500 uses the same fix used in E3SM

(Note: This issue only shows up with standalone SCORPIO builds and works fine with E3SM builds).