Skip to main content

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

Project description

NLCPy : NumPy script accelerator for SX-Aurora TSUBASA

NLCPy is a package 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 API is designed based on NumPy one. The current version provides a subset of NumPy 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.0.4
    • 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.0.4.

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.0b1-cp38-cp38-manylinux1_x86_64.whl (90.6 MB view details)

Uploaded CPython 3.8

nlcpy-1.0.0b1-cp37-cp37m-manylinux1_x86_64.whl (89.6 MB view details)

Uploaded CPython 3.7m

nlcpy-1.0.0b1-cp36-cp36m-manylinux1_x86_64.whl (89.6 MB view details)

Uploaded CPython 3.6m

File details

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

File metadata

  • Download URL: nlcpy-1.0.0b1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 90.6 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

File hashes

Hashes for nlcpy-1.0.0b1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 37902438c7c27a1e9d16d3d8483c1b305369bf1c0440f32e0a2383cfcb537640
MD5 c2833e53ea430dc0c493992f765fc29f
BLAKE2b-256 96da3b63822cc0428ac9eaf1a2e7cc90338d504d5d8115148e637234802764dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nlcpy-1.0.0b1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 89.6 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

File hashes

Hashes for nlcpy-1.0.0b1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cdd3814de06a5a55fa10947309b0128e571f447e4be9d312a4212895bc739fbe
MD5 b64e8944783245a2e2d9d5997013316c
BLAKE2b-256 0ad5736ace3c1dc763a9d442574b230ce641295af6a481451624e784728c6381

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nlcpy-1.0.0b1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 89.6 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

File hashes

Hashes for nlcpy-1.0.0b1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8ba21927acb718503e817f8330cba88e3f7694b35e9900312744cb51884e8765
MD5 d2d198b5051208926f5ee059102484b4
BLAKE2b-256 c89faf6a3e5fd8332f5a17b7e21004fce85f11cfb7ed937cc9dd449cce106250

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