Fortran runtime error: Array size of PUT is too small
Actual behavior
I have compiled kmos on Ubuntu 18.04. I followed the procedure reported in INSTALL.rst to test the installation.
I followed the steps and tried to run kmos: kmos benchmark
I got this error: Fortran runtime error: Array size of PUT is too small.
Is there any fix?
System information
I am using Ubuntu 18.04 and gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04)
Looks like the required array size for the builtin random number generator keeps changing with compiler versions. Have you tried installing a different gcc version of ifort? You can change the compiler being used with the F2PY_COMPILER environment variable. Like so
export F2PY_FCOMPILER=intelem
export F2PY_FCOMPILER=gfortran
or something like that. Best of luck.
Dear Max, I did "export F2PY_FCOMPILER=gfortran-4.6" however I got the compiler error. Sooner or later ZEDAT will update the gcc repo so I do not have enough time to work with the office PC.