parameters: (conf, fc)
docstring: Get the Open64 compiler version
docstring_summary: Get the Open64 compiler version
docstring_tokens: Get the Open64 compiler version
function: def get_open64_version(conf, fc):
  	"""Get the Open64 compiler version"""
  
  	version_re = re.compile(r"Open64 Compiler Suite: *Version *(?P<major>\d*)\.(?P<minor>\d*)", re.I).search
  	cmd = fc + ['-version']
  
  	out, err = fc_config.getoutput(conf,cmd,stdin=False)
  	if out:
  		match = version_re(out)
  	else:
  		match = version_re(err)
  	if not match:
  		conf.fatal('Could not determine the Open64 version.')
  	k = match.groupdict()
  	conf.env['FC_VERSION'] = (k['major'], k['minor'])
function_tokens: def get_open64_version ( conf , fc ) : version_re = re . compile ( r"Open64 Compiler Suite: *Version *(?P<major>\d*)\.(?P<minor>\d*)" , re . I ) . search cmd = fc + [ '-version' ] out , err = fc_config . getoutput ( conf , cmd , stdin = False ) if out : match = version_re ( out ) else : match = version_re ( err ) if not match : conf . fatal ( 'Could not determine the Open64 version.' ) k = match . groupdict ( ) conf . env [ 'FC_VERSION' ] = ( k [ 'major' ] , k [ 'minor' ] )