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.3.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
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.3.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.1.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8e87b88c687d4cb3538ac3f4c8147729a3ff4be30f4df2f248630ddf0178a0 |
|
MD5 | e9939409582713914a82d5da672dde87 |
|
BLAKE2b-256 | 4c2ddeea336f9173bfcdae2e0f5da1b1771f53a4794a298f3cf091da4c23a500 |
Hashes for nlcpy-2.1.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19abfcdedea542f1947f2b6903ea0658de48324957840ec68efbfdee365e27fc |
|
MD5 | 3790bc59538f4fff23614ca4294d5f20 |
|
BLAKE2b-256 | 8edd45eddf9f401de9f842f55b0f81ada31bc0e3e76a15ce688decf6c4225398 |
Hashes for nlcpy-2.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e31f13aa29329c4e7b16bc559bf973da3d4c2c1054eeb11068167a98abfd661f |
|
MD5 | 96f1d45e40c64a319e5bc8f12e21afeb |
|
BLAKE2b-256 | 209cf9d4273cf1c2829bd88bd1caea2032a07ce164a06c81cb80889c79746cc6 |