VE3 kernel for NLCPy
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: >= 5.0.0
- required NLC version: >= 3.0.0
-
Alternative VE Offloading (AVEO)
-
required version: >= 3.0.2
-
If you install NLCPy from wheel, the runtime packages of Alternative VE Offloading(AVEO) are required.
# yum install veoffload-aveo veoffload-aveorun-ve1 veoffload-aveorun-ve3 -
If you install NLCPy from source, the development packages of Alternative VE Offloading(AVEO) are required.
# yum install veoffload-aveo-devel veoffload-aveorun-ve1-devel veoffload-aveorun-ve3-devel
-
-
veosinfo3
# yum install veosinfo3 -
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 tested by using NEC C/C++ Compiler Version 5.0.0 and NumPy v1.19.5.
Install from source (with building)
Before building source files, please install following packages.
$ pip install numpy cython wheel
$ sudo yum install veosinfo3-devel
$ sudo yum install veoffload-aveo-devel veoffload-aveorun-ve1-devel veoffload-aveorun-ve3-devel
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
$ python3 setup.py build_ext --targ ve1,ve3,vh
$ python3 setup.py intall --targ ve1,ve3,vh
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nlcpy_ve3_kernel-3.0.1-py3-none-any.whl.
File metadata
- Download URL: nlcpy_ve3_kernel-3.0.1-py3-none-any.whl
- Upload date:
- Size: 93.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8edf520f8e15108af16bc695a37a0e77a6d00110056ae6520b6f2d291f451dad
|
|
| MD5 |
650b813c091a8a656cddac693470720a
|
|
| BLAKE2b-256 |
21d45d40684ddb3f55179b62eccc62e7317cc0fd6c80c501267c95d5c4b8fc36
|