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.1.1
- required NLC version: >= 2.2.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.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45d137e487e22630fece84be3a4779288ae98e2862def6a2e4a072d728a6547a |
|
MD5 | c1c8bb8069c35f4173d75464291739e4 |
|
BLAKE2b-256 | 6adfe71039c6883ad0e21b92f7f99aa6f03de85d7d8ae34d1b91375529f13e0e |
Hashes for nlcpy-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4262336878b3cc2c46ac5c827358121bd0af25d95eaffe48d8b5af4575f5e0d0 |
|
MD5 | a4405ecdcfde88e607ef33d5080d6f9e |
|
BLAKE2b-256 | fdba4aca22032372ae06a582cb583a5e28c899a7f0773ae0019b27c36fd1fe08 |
Hashes for nlcpy-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40482344c0d9ee2a25f4872ee266f264dd796981cc23f2e13f7077c8e21f13e8 |
|
MD5 | 91abef372c3b562e59dc62dbf04d81f2 |
|
BLAKE2b-256 | 143b430817ad834572f56b9829443ad55c8425e32d3afb5f9ce742039a59449e |