code: def get_compiler_flags():
      
      compiler = get_default_fcompiler()
      if compiler == 'absoft':
          flags = ['-m64', '-O3', '-YEXT_NAMES=LCS', '-YEXT_SFX=_',
                   '-fpic', '-speed_math=10']
      elif compiler == 'gnu95':
          flags = ['-m64', '-fPIC', '-O3', '-ffast-math']
      elif compiler == 'intel':
          flags = ['-m64', '-fpp', '-free', '-O3', '-Tf']
      elif compiler == 'g95':
          flags = ['-O3', '-fno-second-underscore']
      elif compiler == 'pg':
          flags = ['-fast']
      else:
          flags = ['-m64', '-O3']
      return flags
docs: Set fortran flags depending on the compiler.