1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
U
O±dMã@sbddlmZdgZGdd„deƒZedkr^ddlmZe d¡ddlm    Z    e
e    dd      ¡ƒd
S) é)Ú    FCompilerÚNVHPCFCompilerc@szeZdZdZdZdZdZddgdgddgdgdgd    d
gd gd œZd gZdZ    dZ
dd„Z dd„Z dd„Z dd„Zdd„ZdS)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<version>[\d.-]+).*z<F90>z-VZ    nvfortranz-MfixedÚarz-crÚranlib)Z version_cmdZ compiler_f77Z compiler_fixZ compiler_f90Ú    linker_soÚarchiverrú-fpicz-module z-IcCsddg}|j|S)Nz-Minform=informz-Mnosecond_underscore)Ú    pic_flags)ÚselfÚopt©r úSd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/distutils/fcompiler/nv.pyÚ    get_flags!szNVHPCFCompiler.get_flagscCsdgS)Nz-fastr ©r r r rÚ get_flags_opt%szNVHPCFCompiler.get_flags_optcCsdgS)Nz-gr rr r rÚget_flags_debug(szNVHPCFCompiler.get_flags_debugcCsddgS)Nz-sharedr    r rr r rÚget_flags_linker_so+sz"NVHPCFCompiler.get_flags_linker_socCsd|S)Nz-R%sr )r Údirr r rÚruntime_library_dir_option.sz)NVHPCFCompiler.runtime_library_dir_optionN)Ú__name__Ú
__module__Ú __qualname__Ú__doc__Ú compiler_typeÚ descriptionZversion_patternZ executablesr
Zmodule_dir_switchZmodule_include_switchrrrrrr r r rrs(    ù    Ú__main__)Úlogé)Úcustomized_fcompilerr)ÚcompilerN) Znumpy.distutils.fcompilerrZ    compilersrrÚ    distutilsrÚ set_verbosityZnumpy.distutilsrÚprintÚ get_versionr r r rÚ<module>s ,