Skip to main content

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

Project description

NLCPy_banner

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

GitHub license Downloads Python Versions

NLCPy is a library for accelerating performance of Python scripts using NumPy on SX-Aurora TSUBASA. Python programmers can use this library on Linux/x86 of SX-Aurora TSUBASA. NLCPy's API is designed based on NumPy's 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.2.1
    • required NLC version: >= 2.3.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, 3.7, or 3.8

  • NumPy - required version: v1.17, v1.18, v1.19, or v1.20

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.2.1 and NumPy v1.19.2.

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, PyVEO, and numpydoc (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 Distribution

nlcpy-2.0.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distributions

nlcpy-2.0.0-cp38-cp38-manylinux1_x86_64.whl (95.9 MB view details)

Uploaded CPython 3.8

nlcpy-2.0.0-cp37-cp37m-manylinux1_x86_64.whl (94.8 MB view details)

Uploaded CPython 3.7m

nlcpy-2.0.0-cp36-cp36m-manylinux1_x86_64.whl (94.9 MB view details)

Uploaded CPython 3.6m

File details

Details for the file nlcpy-2.0.0.tar.gz.

File metadata

  • Download URL: nlcpy-2.0.0.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • 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-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3923504d781517ba8a7a48bb5b60e818ccf4609f51197c4f77ee288a33fb692f
MD5 38232295637698800fd53d9d6d8c5f1d
BLAKE2b-256 41b178836b57ec169ad66420688f20d943ffa049adfd3e2046624423cc0c29b7

See more details on using hashes here.

File details

Details for the file nlcpy-2.0.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: nlcpy-2.0.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 95.9 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-2.0.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f466e6a87c64b8b84d86fe56d2f6a8c55643c31aa08266e44a98c076988d456c
MD5 9ecda795899838cc3c6c5600bce0cdc1
BLAKE2b-256 49225341ed166e6defe546506a70e18eaafbe9126787f9a7ecaa5d389a3b0df0

See more details on using hashes here.

File details

Details for the file nlcpy-2.0.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: nlcpy-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 94.8 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-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 65e33002bc4a13eb43e0882275939c484af765c7355b52573098759ef4572289
MD5 5546d4b5ed07d287685ee68db0f6bd76
BLAKE2b-256 341e91dd5f343b4c186e3126487d2d14c4c5c53bc95c93313be35269b4e0847e

See more details on using hashes here.

File details

Details for the file nlcpy-2.0.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: nlcpy-2.0.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 94.9 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-2.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9b3f28ca743110ed36584a2fb87a8d8ca7d0fb5cd91feb55faed1c81266b42b9
MD5 bd969602bd7b75a49e1e5d947308d462
BLAKE2b-256 0aad34db5cc17a863b285a2553b41ac8282468d4e75977411b74be6ef0e22eec

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