$67 GRAYBYTE WORDPRESS FILE MANAGER $36

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/distutils/fcompiler/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/distutils/fcompiler//nv.py
from numpy.distutils.fcompiler import FCompiler

compilers = ['NVHPCFCompiler']

class NVHPCFCompiler(FCompiler):
    """ 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`.
    """

    compiler_type = 'nv'
    description = 'NVIDIA HPC SDK'
    version_pattern = r'\s*(nvfortran|(pg(f77|f90|fortran)) \(aka nvfortran\)) (?P<version>[\d.-]+).*'

    executables = {
        'version_cmd': ["<F90>", "-V"],
        'compiler_f77': ["nvfortran"],
        'compiler_fix': ["nvfortran", "-Mfixed"],
        'compiler_f90': ["nvfortran"],
        'linker_so': ["<F90>"],
        'archiver': ["ar", "-cr"],
        'ranlib': ["ranlib"]
    }
    pic_flags = ['-fpic']

    module_dir_switch = '-module '
    module_include_switch = '-I'

    def get_flags(self):
        opt = ['-Minform=inform', '-Mnosecond_underscore']
        return self.pic_flags + opt

    def get_flags_opt(self):
        return ['-fast']

    def get_flags_debug(self):
        return ['-g']

    def get_flags_linker_so(self):
        return ["-shared", '-fpic']

    def runtime_library_dir_option(self, dir):
        return '-R%s' % dir

if __name__ == '__main__':
    from distutils import log
    log.set_verbosity(2)
    from numpy.distutils import customized_fcompiler
    print(customized_fcompiler(compiler='nv').get_version())

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
14 Aug 2025 9.24 PM
root / root
0755
__pycache__
--
14 Aug 2025 9.24 PM
root / root
0755
__init__.py
39.673 KB
17 Apr 2025 8.10 PM
root / root
0644
absoft.py
5.387 KB
17 Apr 2025 8.10 PM
root / root
0644
arm.py
2.041 KB
17 Apr 2025 8.10 PM
root / root
0644
compaq.py
3.812 KB
17 Apr 2025 8.10 PM
root / root
0644
environment.py
3.008 KB
17 Apr 2025 8.10 PM
root / root
0644
fujitsu.py
1.302 KB
17 Apr 2025 8.10 PM
root / root
0644
g95.py
1.299 KB
17 Apr 2025 8.10 PM
root / root
0644
gnu.py
20.021 KB
17 Apr 2025 8.10 PM
root / root
0644
hpux.py
1.321 KB
17 Apr 2025 8.10 PM
root / root
0644
ibm.py
3.451 KB
17 Apr 2025 8.10 PM
root / root
0644
intel.py
6.416 KB
17 Apr 2025 8.10 PM
root / root
0644
lahey.py
1.296 KB
17 Apr 2025 8.10 PM
root / root
0644
mips.py
1.674 KB
17 Apr 2025 8.10 PM
root / root
0644
nag.py
2.712 KB
17 Apr 2025 8.10 PM
root / root
0644
none.py
0.74 KB
17 Apr 2025 8.10 PM
root / root
0644
nv.py
1.523 KB
17 Apr 2025 8.10 PM
root / root
0644
pathf95.py
1.036 KB
17 Apr 2025 8.10 PM
root / root
0644
pg.py
3.484 KB
17 Apr 2025 8.10 PM
root / root
0644
sun.py
1.54 KB
17 Apr 2025 8.10 PM
root / root
0644
vast.py
1.628 KB
17 Apr 2025 8.10 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF