The name of the module
module subroutines
was different from the name used in the 'use' statement
use subroutines_mod