HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/numpy/distutils/fcompiler/__pycache__/nv.cpython-310.pyc
o

���g�@sfddlmZdgZGdd�de�Zedkr1ddlmZe�d�ddlm	Z	e
e	dd	����d
Sd
S)�)�	FCompiler�NVHPCFCompilerc@szeZdZdZdZdZdZddgdgddgdgdgd	d
gdgd�Zd
gZdZ	dZ
dd�Zdd�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-V�	nvfortranz-Mfixed�arz-cr�ranlib)�version_cmd�compiler_f77�compiler_fix�compiler_f90�	linker_so�archiverr�-fpicz-module z-IcCsddg}|j|S)Nz-Minform=informz-Mnosecond_underscore)�	pic_flags)�self�opt�r�G/usr/local/lib/python3.10/dist-packages/numpy/distutils/fcompiler/nv.py�	get_flags!s
zNVHPCFCompiler.get_flagscC�dgS)Nz-fastr�rrrr�
get_flags_opt%�zNVHPCFCompiler.get_flags_optcCr)Nz-grrrrr�get_flags_debug(rzNVHPCFCompiler.get_flags_debugcCsddgS)Nz-sharedrrrrrr�get_flags_linker_so+�z"NVHPCFCompiler.get_flags_linker_socCsd|S)Nz-R%sr)r�dirrrr�runtime_library_dir_option.rz)NVHPCFCompiler.runtime_library_dir_optionN)�__name__�
__module__�__qualname__�__doc__�
compiler_type�description�version_pattern�executablesr�module_dir_switch�module_include_switchrrrrrrrrrrs*	�	�__main__)�log�)�customized_fcompilerr)�compilerN)�numpy.distutils.fcompilerr�	compilersrr�	distutilsr)�
set_verbosity�numpy.distutilsr+�print�get_versionrrrr�<module>s,
�