Great! Thank you for trying! I will definitely explore flang-new in PRIMA.
I am particularly glad to hear that no flang-new raised no warning when compiling PRIMA. That is exactly what I wanted to achieve. PRIMA does not tolerate any warning. Each warning is regarded as a bug and gets fixed.
How should I install flang-new? Isn't compiling from the source the only way? I remember doing it once a few months ago, but the binary I got did not succeed in compiling PRIMA. Not sure what I missed. Maybe I should give it another go, especially for trying BFLOAT16!
https://fortran-lang.discourse.group/t/supporting-bfloat16-i...