o 6a$@snddlZddlmZdgZGdddeZedkr5ddlmZedddl m Z e e d d  dSdS) N) FCompilerNVHPCFCompilerc@szeZdZdZdZdZdZddgdgddgdgdgd d gd gd Zd gZdZ dZ ddZ ddZ ddZ ddZddZdS)ra6 NVIDIA High Performance Computing (HPC) SDK Fortran Compiler https://developer.nvidia.com/hpc-sdk Since august 2020 the NVIDIA HPC SDK includes the compilers formerly known as The Portland Group compilers, https://www.pgroup.com/index.htm. See also `numpy.distutils.fcompiler.pg`. nvzNVIDIA HPC SDKzM\s*(nvfortran|(pg(f77|f90|fortran)) \(aka nvfortran\)) (?P[\d.-]+).*zz-V nvfortranz-Mfixedarz-crranlib) version_cmd compiler_f77 compiler_fix compiler_f90 linker_soarchiverr-fpicz-module z-IcCsddg}|j|S)Nz-Minform=informz-Mnosecond_underscore) pic_flags)selfoptr>/usr/lib/python3/dist-packages/numpy/distutils/fcompiler/nv.py get_flags#s zNVHPCFCompiler.get_flagscCdgS)Nz-fastrrrrr get_flags_opt'zNVHPCFCompiler.get_flags_optcCr)Nz-grrrrrget_flags_debug*rzNVHPCFCompiler.get_flags_debugcCsddgS)Nz-sharedrrrrrrget_flags_linker_so-z"NVHPCFCompiler.get_flags_linker_socCsd|S)Nz-R%sr)rdirrrrruntime_library_dir_option0rz)NVHPCFCompiler.runtime_library_dir_optionN)__name__ __module__ __qualname____doc__ compiler_type descriptionversion_pattern executablesrmodule_dir_switchmodule_include_switchrrrrrrrrrrs*   __main__)log)customized_fcompilerr)compiler) sysnumpy.distutils.fcompilerr compilersrr distutilsr) set_verbositynumpy.distutilsr+print get_versionrrrrs ,