Skip to main content

NLCPy is a package for accelerating performance of Python scripts using NumPy on SX-Aurora TSUBASA.

Project description

NLCPy : NumPy-like API accelerated with SX-Aurora TSUBASA

NLCPy is a library for accelerating performance of Python scripts using NumPy on SX-Aurora TSUBASA. Python programmers can use this package on Linux/x86 of SX-Aurora TSUBASA. NLCPy's API is designed based on NumPy one. The current version provides a subset of NumPy's API.

Requirements

Before the installation, the following components are required to be installed on your x86 Node of SX-Aurora TSUBASA.

  • NEC SDK

    • required NEC C/C++ compiler version: >= 3.1.0
    • required NLC version: >= 2.1.0
  • Alternative VE Offloading (AVEO)

    • If you install NLCpy from wheel, the runtime packages of Alternative VE Offloading(AVEO) are required.

      # yum install veoffload-aveo veoffload-aveorun
      
    • If you install NLCpy from source, the development packages of Alternative VE Offloading(AVEO) are required.

      # yum install veoffload-aveo-devel veoffload-aveorun-devel
      
  • Python

    • required version: >=3.6

Install from wheel

You can install NLCPy by executing either of following commands.

  • Install from PyPI

    $ pip install nlcpy
    
  • Install from your local computer

    1. Download the wheel package from GitHub.

    2. Put the wheel package to your any directory.

    3. Install the local wheel package via pip command.

      $ pip install <path_to_wheel>
      

The shared objects for Vector Engine, which are included in the wheel package, are compiled and tested by using NEC C/C++ Version 3.1.0.

Install from source (with building)

Before building source files, please install following packages.

$ pip install numpy cython wheel

And, entering these commands in the environment where gcc and ncc commands are available.

$ git clone https://github.com/SX-Aurora/nlcpy.git
$ cd nlcpy
$ pip install .

Documentation

License

The BSD-3-Clause license (see LICENSE file).

NLCPy is derived from NumPy, CuPy, and PyVEO (see LICENSE_DETAIL/LICENSE_DETAIL file).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

nlcpy-1.0.0b2-cp38-cp38-manylinux1_x86_64.whl (95.7 MB view details)

Uploaded CPython 3.8

nlcpy-1.0.0b2-cp37-cp37m-manylinux1_x86_64.whl (94.7 MB view details)

Uploaded CPython 3.7m

nlcpy-1.0.0b2-cp36-cp36m-manylinux1_x86_64.whl (94.7 MB view details)

Uploaded CPython 3.6m

File details

Details for the file nlcpy-1.0.0b2-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: nlcpy-1.0.0b2-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 95.7 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for nlcpy-1.0.0b2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cf0364506a3d0dc061d320c3077846b25ccf7e7864b6834d79951dc9d29ed63f
MD5 ba12efc93cef706de81b555e76bf716e
BLAKE2b-256 bdd8ed816df99e307ce60d277262227c9b2dd6dd5745b87458cf0ac5da1710b1

See more details on using hashes here.

File details

Details for the file nlcpy-1.0.0b2-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: nlcpy-1.0.0b2-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 94.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for nlcpy-1.0.0b2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d01af07ea9ac3a3a7895d4b2c05f14e09157c7c37929bc4306fdd0dbf736a7ee
MD5 bc5a5e55094783c6d86840483be37eb2
BLAKE2b-256 bdc65ce366a4527031ea89552095addd23217dbc6bb378abca417131081f1d6c

See more details on using hashes here.

File details

Details for the file nlcpy-1.0.0b2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: nlcpy-1.0.0b2-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 94.7 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for nlcpy-1.0.0b2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c5aa50be234a3d0b91511d741caec3b5f5792dd15eb29f4c737ab2a81e67aa16
MD5 af36888328b4cb9fa334e0255ca53166
BLAKE2b-256 e4e80330fdba5845f79c061006545a85a4781f6f41337e5ac01ec778f5f92b6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page