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 package on Linux/x86 of SX-Aurora TSUBASA. NLCPy's API is designed based on NumPy 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.1.0
- required NLC version: >= 2.1.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
-
-
- required version: >=3.6
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.0.
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, and PyVEO (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.0b2-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0364506a3d0dc061d320c3077846b25ccf7e7864b6834d79951dc9d29ed63f |
|
MD5 | ba12efc93cef706de81b555e76bf716e |
|
BLAKE2b-256 | bdd8ed816df99e307ce60d277262227c9b2dd6dd5745b87458cf0ac5da1710b1 |
Hashes for nlcpy-1.0.0b2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d01af07ea9ac3a3a7895d4b2c05f14e09157c7c37929bc4306fdd0dbf736a7ee |
|
MD5 | bc5a5e55094783c6d86840483be37eb2 |
|
BLAKE2b-256 | bdc65ce366a4527031ea89552095addd23217dbc6bb378abca417131081f1d6c |
Hashes for nlcpy-1.0.0b2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5aa50be234a3d0b91511d741caec3b5f5792dd15eb29f4c737ab2a81e67aa16 |
|
MD5 | af36888328b4cb9fa334e0255ca53166 |
|
BLAKE2b-256 | e4e80330fdba5845f79c061006545a85a4781f6f41337e5ac01ec778f5f92b6b |