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.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
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-1.0.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d7be05244f6f68e82374422d0025ec0378a3bb85b8ed8ac383a94dad98a883 |
|
MD5 | 8fde91df8f909844a3bd7076ff293860 |
|
BLAKE2b-256 | 79ff0e6b0c2c7411cbe231d1415e9b89081917fd3ee60f196a91ddf92cb82fd8 |
Hashes for nlcpy-1.0.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aa636ee32bbb82943552c2dd2744eb83a22430e2b62cae966c891d690f9aac8 |
|
MD5 | 8204f444dc7d0a73aa12b772957f87f3 |
|
BLAKE2b-256 | 24d7b39d924ded2a184ad817a75b845286bd17925282b2ec6c5063e47aee16c2 |
Hashes for nlcpy-1.0.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f18ad58d0d93101265eff783a624d3e1b1b0c9544bdbdcc0031ea59eb3f8004 |
|
MD5 | 62a9d5935f725df0ca3ecba24e73c596 |
|
BLAKE2b-256 | fa1f0bb2ffab262e4033d6096a8a1d1e948de1e7f03be7e304913c4fd23e8d76 |