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.1.1
    • required NLC version: >= 2.2.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.1.1 and NumPy v1.17.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, 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 Distributions

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

Built Distributions

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

Uploaded CPython 3.8

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.6m

File details

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

File metadata

  • Download URL: nlcpy-1.0.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 96.8 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for nlcpy-1.0.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 45d137e487e22630fece84be3a4779288ae98e2862def6a2e4a072d728a6547a
MD5 c1c8bb8069c35f4173d75464291739e4
BLAKE2b-256 6adfe71039c6883ad0e21b92f7f99aa6f03de85d7d8ae34d1b91375529f13e0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nlcpy-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 95.8 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for nlcpy-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4262336878b3cc2c46ac5c827358121bd0af25d95eaffe48d8b5af4575f5e0d0
MD5 a4405ecdcfde88e607ef33d5080d6f9e
BLAKE2b-256 fdba4aca22032372ae06a582cb583a5e28c899a7f0773ae0019b27c36fd1fe08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nlcpy-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 95.9 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for nlcpy-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 40482344c0d9ee2a25f4872ee266f264dd796981cc23f2e13f7077c8e21f13e8
MD5 91abef372c3b562e59dc62dbf04d81f2
BLAKE2b-256 143b430817ad834572f56b9829443ad55c8425e32d3afb5f9ce742039a59449e

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