NJOY2016 icon indicating copy to clipboard operation
NJOY2016 copied to clipboard

Improper use of equivalence statement in endf.f90

Open lazersos opened this issue 3 months ago • 0 comments

In the file endf.f90 the following lines appear (around line 29):

   character(4)::hol(17)
   real(kr)::rhol(17)
   equivalence(hol(1),rhol(1))

This produces an error when compiling

F90-S-0310-Cannot EQUIVALENCE non-character and character in the specification part of a MODULE (/app/NJOY2016/src/endf.f90)

This issue seems to only affect the flang compiler.

lazersos avatar Sep 20 '25 06:09 lazersos