I am one of the homebrew-science maintainers. We updated to the latest gcc version an are getting this error, while building abinit:
m_vcoul.F90:352:24:
call random_seed(put=seed)
1
Error: Size of 'put' argument of 'random_seed' intrinsic at (1) too small (12/33)
make[3]: *** [m_vcoul.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I think the seed size for the put argument needs to be dynamically calculated first.
Could you please have a look? A patch would be greatly appreciated.
For ref.: https://github.com/Homebrew/homebrew-science/pull/5682