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.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
-
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++ 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
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 Distribution
Built Distributions
Hashes for nlcpy-2.0.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f466e6a87c64b8b84d86fe56d2f6a8c55643c31aa08266e44a98c076988d456c |
|
MD5 | 9ecda795899838cc3c6c5600bce0cdc1 |
|
BLAKE2b-256 | 49225341ed166e6defe546506a70e18eaafbe9126787f9a7ecaa5d389a3b0df0 |
Hashes for nlcpy-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e33002bc4a13eb43e0882275939c484af765c7355b52573098759ef4572289 |
|
MD5 | 5546d4b5ed07d287685ee68db0f6bd76 |
|
BLAKE2b-256 | 341e91dd5f343b4c186e3126487d2d14c4c5c53bc95c93313be35269b4e0847e |
Hashes for nlcpy-2.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b3f28ca743110ed36584a2fb87a8d8ca7d0fb5cd91feb55faed1c81266b42b9 |
|
MD5 | bd969602bd7b75a49e1e5d947308d462 |
|
BLAKE2b-256 | 0aad34db5cc17a863b285a2553b41ac8282468d4e75977411b74be6ef0e22eec |