a ;jg@sbddlmZdgZGdddeZedkr^ddlmZedddlm Z e e dd  d S) ) 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 SDKz:\s*(nvfortran|.+ \(aka nvfortran\)) (?P[\d.-]+).*zz-VZ nvfortranz-Mfixedarz-crranlib)Z version_cmdZ compiler_f77Z compiler_fixZ compiler_f90 linker_soarchiverr-fpicz-module z-IcCsddg}|j|S)Nz-Minform=informz-Mnosecond_underscore) pic_flags)selfoptr F/usr/local/lib/python3.9/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 rget_flags_debug(szNVHPCFCompiler.get_flags_debugcCsddgS)Nz-sharedr r rr r rget_flags_linker_so+sz"NVHPCFCompiler.get_flags_linker_socCsd|S)Nz-R%sr )r dirr r rruntime_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.distutilsrprint get_versionr r r rs ,