Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 16 May 2013 15:29:47 -0400
From: Yaniv Sapir <yaniv@...pteva.com>
To: john-dev <john-dev@...ts.openwall.com>
Subject: Parallella: System update for users of Parallella and Parallella/OpenCL

Earlier today I have updated the Parallella computer available for
GSoC/Openwall applicants with the latest official eSDK release. Problem is
that the OpenCL environment is not in sync with that release, so I left the
two versions of eSDK installed on the machine.

Right now, the /opt/adapteva directory looks like:

lrwxrwxrwx 1 root   root     15 2013-01-14 19:20 *esdk -> esdk.4.13.01.04*/
drwxr-xr-x 6 linaro linaro 4096 2013-01-06 21:24 *esdk.4.13.01.04*/
drwxrwxr-x 6 linaro linaro 4096 2013-04-01 06:49 *esdk.4.13.03.30*/

The good news is the the eSDK was designed to work on multiple
installations, where the current installation is set in the EPIPHANY_HOME
variable.

For your convenience, please copy the last section, defining Epiphany
related paths, from my *.bashrc* file (*/home/ysapir/.bashrc*) to your *
.bashrc* . It looks like this:


# path for Epiphany SDK tools (4.13.03.30)
export EPIPHANY_HOME=/opt/adapteva/esdk.4.13.03.30
export
PATH=${EPIPHANY_HOME}/tools/e-gnu/bin:${EPIPHANY_HOME}/tools/host/bin:${PATH}
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EPIPHANY_HOME}/tools/host/lib
export ELIBS=${EPIPHANY_HOME}/tools/host/lib
export EINCS=${EPIPHANY_HOME}/tools/host/include
export
EPIPHANY_HDF=${EPIPHANY_HOME}/bsps/zed_E16G3_512mb/zed_E16G3_512mb.hdf



Then, set the EPIPHANY_HOME according to your target environment:

OpenCL users, set:

*export EPIPHANY_HOME="/opt/adapteva/esdk.4.13.01.04"*


C/C++ users, set:

*export EPIPHANY_HOME="/opt/adapteva/esdk.4.13.03.30"*


In the new release, you'll find a multicore Hello-World example, as well as
the matrix-multiply example.

Please let me know if you have problems building and running the eSDK
examples.

Yaniv.

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ