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 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.
-
- required NEC C/C++ compiler version: >= 3.5.1
- required NLC version: >= 2.3.0
-
Alternative VE Offloading (AVEO)
-
required version: >= 2.13.0
-
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
-
Download the wheel package from GitHub.
-
Put the wheel package to your any directory.
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for nlcpy-2.2.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 660a7fc70b24887c2f6338577185a4fe567af0a12f1f504652924053f3f6e923 |
|
MD5 | 14b6f6188f91084191f58d3b04b70bab |
|
BLAKE2b-256 | b971893164f0240121ac64395f0ce41c5ebe1829970a202fc23253d0e046b2d3 |
Hashes for nlcpy-2.2.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c997dd4f56938f17f72515634ee713ac179790d566860e07b6731b2ab046ee8 |
|
MD5 | 0cb3106f97d517f6294707dfc792d713 |
|
BLAKE2b-256 | ad211eb4ce8c5ccd393c0dddbb47381192589d18a6fbdc464fa076b6e97f17b8 |
Hashes for nlcpy-2.2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f2ee02c4f515044131adfa7729c2d621605eeadfbc578e97f073bf445c76765 |
|
MD5 | c7d0a7bded22ad9ad65acbc3c38b65c4 |
|
BLAKE2b-256 | 1de71c2f77dfd4d48cac2c503ba43777caa85ed72c81e390f7e85e8ed8da5654 |