kmos icon indicating copy to clipboard operation
kmos copied to clipboard

Fortran runtime error: Array size of PUT is too small

Open mbracconi opened this issue 6 years ago • 2 comments

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)

mbracconi avatar May 31 '19 15:05 mbracconi

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.

mhoffman avatar May 31 '19 16:05 mhoffman

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.

Dortaj avatar Sep 10 '19 12:09 Dortaj