Copy of f90cache from http://people.irisa.fr/Edouard.Canot/f90cache/