An open API service indexing awesome lists of open source software.

https://github.com/thoth-station/openblas

OpenBLAS s2i
https://github.com/thoth-station/openblas

artificial-intelligence hacktoberfest openblas openshift openshift-s2i s2i-image thoth

Last synced: 2 months ago
JSON representation

OpenBLAS s2i

Awesome Lists containing this project

README

        

# OpenBLAS
OpenBLAS s2i

https://www.openblas.net/

## Usage

#### 1. Create the templates
```
oc create -f build-image.json
oc create -f build-job.json
```

#### 2. Create build image
```
oc new-app --template=openblas-build-image \
--param=APPLICATION_NAME=openblas-build-image-rhel7 \
--param=S2I_IMAGE=registry.access.redhat.com/rhscl/s2i-core-rhel7 \
--param=DOCKER_FILE_PATH=Dockerfile.rhel75
```
The above command creates a tensorflow builder image `APPLICATION_NAME:VERSION` for specific OS.

The values for `S2I_IMAGE` are :
- Fedora26- `registry.fedoraproject.org/f26/s2i-core`
- Fedora27- `registry.fedoraproject.org/f27/s2i-core`
- Fedora28- `registry.fedoraproject.org/f28/s2i-core`
- RHEL7.5- `registry.access.redhat.com/rhscl/s2i-core-rhel7`
- Centos7- `openshift/base-centos7`

The values for `DOCKER_FILE_PATH` are :
- Fedora26- `Dockerfile.fedora26`
- Fedora27- `Dockerfile.fedora27`
- Fedora28- `Dockerfile.fedora28`
- RHEL7.5- `Dockerfile.rhel75`
- Centos7- `Dockerfile.centos7`

*OR*

Import the template `build-image.json` into your namespace from Openshift UI.
And then deploy from UI with appropriate values.

#### 3. Compile and test openblas

```
oc new-app --template=openblas-build-job \
--param=APPLICATION_NAME=openblas-build-job-rhel7 \
--param=BUILDER_IMAGESTREAM=openblas-build-image-rhel7
```
NOTE: `BUILDER_IMAGESTREAM = APPLICATION_NAME:VERSION` from step 2.

*OR*

Import the template `build-job.json` into your namespace from Openshift UI.
And then deploy from UI with appropriate values.