$20 GRAYBYTE WORDPRESS FILE MANAGER $94

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//sun.py
from numpy.distutils.ccompiler import simple_version_match
from numpy.distutils.fcompiler import FCompiler

compilers = ['SunFCompiler']

class SunFCompiler(FCompiler):

    compiler_type = 'sun'
    description = 'Sun or Forte Fortran 95 Compiler'
    # ex:
    # f90: Sun WorkShop 6 update 2 Fortran 95 6.2 Patch 111690-10 2003/08/28
    version_match = simple_version_match(
                      start=r'f9[05]: (Sun|Forte|WorkShop).*Fortran 95')

    executables = {
        'version_cmd'  : ["<F90>", "-V"],
        'compiler_f77' : ["f90"],
        'compiler_fix' : ["f90", "-fixed"],
        'compiler_f90' : ["f90"],
        'linker_so'    : ["<F90>", "-Bdynamic", "-G"],
        'archiver'     : ["ar", "-cr"],
        'ranlib'       : ["ranlib"]
        }
    module_dir_switch = '-moddir='
    module_include_switch = '-M'
    pic_flags = ['-xcode=pic32']

    def get_flags_f77(self):
        ret = ["-ftrap=%none"]
        if (self.get_version() or '') >= '7':
            ret.append("-f77")
        else:
            ret.append("-fixed")
        return ret
    def get_opt(self):
        return ['-fast', '-dalign']
    def get_arch(self):
        return ['-xtarget=generic']
    def get_libraries(self):
        opt = []
        opt.extend(['fsu', 'sunmath', 'mvec'])
        return opt

    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='sun').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