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.4.0
    • 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

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++ Compiler Version 3.4.0 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 Distributions

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

Built Distributions

nlcpy-2.1.1-cp38-cp38-manylinux1_x86_64.whl (100.5 MB view details)

Uploaded CPython 3.8

nlcpy-2.1.1-cp37-cp37m-manylinux1_x86_64.whl (99.4 MB view details)

Uploaded CPython 3.7m

nlcpy-2.1.1-cp36-cp36m-manylinux1_x86_64.whl (99.4 MB view details)

Uploaded CPython 3.6m

File details

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

File metadata

  • Download URL: nlcpy-2.1.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 100.5 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for nlcpy-2.1.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 43da5cbbef9e836fdf4c6816133f89485351c291136bc2c1cca80868acead8e6
MD5 87c4c787be1c4fc1169b4d30522a54ab
BLAKE2b-256 d41fe12ac6fc8b48eee988cc476d38a3bacf3e96c14ca35a52ab55d5ccac5a89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nlcpy-2.1.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 99.4 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for nlcpy-2.1.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 707978b5c42eb84709c04848923cebdf99db2fdeb566d8d26c778302eb70feae
MD5 78ed6ead4b5fdcd53e9ed663e7730931
BLAKE2b-256 ee88212db2e4a2f805b6ae609fdb29584dfbf933c1abe542a6516a49cafda8c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nlcpy-2.1.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 99.4 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for nlcpy-2.1.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5dbc71ad8cd7b6772a8e678d91b31c63288b96a6324f98ce3621558fd9bcfa4b
MD5 4783c72107c8132e1c041ecb6ffa20e6
BLAKE2b-256 e92a0472f00f9501e2731f5e0a47f951fd30769c5d6790eeb50f9be623fb9db2

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