[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Fresh Install, mpi_lock_example won't make.

Fresh Install, mpi_lock_example won't make.

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Fresh Install, mpi_lock_example won't make.

Postby Nerded » Tue Jun 13, 2017 6:13 pm

Hi,

I just did a fresh install of the Parallella software onto an SD card, got it running, and now I am getting issue while trying to make a browndeer example program.

The error follows:

/usr/local/browndeer/lib/libstdcl.so: undefined reference to `clEnqueueWriteImage'
/usr/local/browndeer/lib/libstdcl.so: undefined reference to `clEnqueueWriteImage'
/usr/local/browndeer/lib/libstdcl.so: undefined reference to `clCreateCommandQueue'
/usr/local/browndeer/lib/libstdcl.so: undefined reference to `clGetMemObjectInfo'
/usr/local/browndeer/lib/libstdcl.so: undefined reference to `clEnqueueReadBuffer'
/usr/local/browndeer/lib/libstdcl.so: undefined reference to `clCreateProgramWithSource'
/usr/local/browndeer/lib/libstdcl.so: undefined reference to `clCreateFromGLBuffer'
...
collect2: error: ld returned 1 exit status
Makefile:27: recipe for target 'mpi_lock_example.x' failed

Anyone have a clue?
Nerded
 
Posts: 19
Joined: Tue Jun 06, 2017 8:30 pm

Re: Fresh Install, mpi_lock_example won't make.

Postby Nerded » Wed Jun 14, 2017 2:40 pm

*Shameful bump from lack of better ideas
Nerded
 
Posts: 19
Joined: Tue Jun 06, 2017 8:30 pm

Re: Fresh Install, mpi_lock_example won't make.

Postby jar » Wed Jun 14, 2017 4:12 pm

This is a linking problem. It looks like it's not finding libocl.so. Check the path in the Makefile (the one with -locl) and that the library exists.
User avatar
jar
 
Posts: 295
Joined: Mon Dec 17, 2012 3:27 am

Re: Fresh Install, mpi_lock_example won't make.

Postby Nerded » Thu Jun 15, 2017 12:17 pm

Thank you,

I checked, but to no avail. The library is in the correct place. When I try to compile the parallella MPI examples I am getting similar errors, just with the libcoprthr.so. I checked my $PATH and $LD_LIBRARY_PATH and they have the correct directories in them. I have had nothing but bad luck >.<
Nerded
 
Posts: 19
Joined: Tue Jun 06, 2017 8:30 pm

Re: Fresh Install, mpi_lock_example won't make.

Postby jar » Thu Jun 15, 2017 9:46 pm

Sorry about your troubles.

Which Linux image did you use for your board? Each image should have the COPRTHR 1.0 SDK installed, which supports OpenCL/STDCL

I have been using the 2015.1 image for a lot of development which uses the COPRTHR 2.0 SDK (and abandons OpenCL). I've been developing OpenSHMEM as the one-sided message passing API. Combined with the COPRTHR 2.0, it's a pretty good programming model to address the Parallella configuration of having the Epiphany coprocessor for offload, but which looks like a cluster on a chip. OpenCL just isn't a good model for Epiphany for anything trivially parallel code.

There was a showstopping bug with GCC in the 2016.11 image that hindered COPRTHR 2.0 SDK development for the image. My understanding is that it has been fixed, but there's no new image. So GCC will have to be redistributed with COPRTHR 2.0 or a new Parallella linux image will need to be bundled up (I don't believe there are any plans).

So how does this help you? I'm not sure.
User avatar
jar
 
Posts: 295
Joined: Mon Dec 17, 2012 3:27 am

Re: Fresh Install, mpi_lock_example won't make.

Postby Nerded » Fri Jun 16, 2017 1:18 pm

So is there a way to still get the older versions of the software? On this link, https://github.com/parallella/parabuntu/releases they only have the headless versions, and I am looking for the HDMI version.
Nerded
 
Posts: 19
Joined: Tue Jun 06, 2017 8:30 pm

Re: Fresh Install, mpi_lock_example won't make.

Postby jar » Fri Jun 16, 2017 5:11 pm

The 2015.1 image only came headless: http://ftp.parallella.org/ubuntu/dists/trusty/image/
The 2016.11 image brought back HDMI, but also that infernal compiler bug.

If you SSH into the board and use X forwarding (ssh -Y ...) then you can use X Windows applications on the headless images. I don't know if that workaround solves your problem.
User avatar
jar
 
Posts: 295
Joined: Mon Dec 17, 2012 3:27 am

Re: Fresh Install, mpi_lock_example won't make.

Postby Nerded » Fri Jun 16, 2017 7:50 pm

Thank you! Might you know simple instructions on SSH'ing into the board? Like the address and whatnot.
Nerded
 
Posts: 19
Joined: Tue Jun 06, 2017 8:30 pm

Re: Fresh Install, mpi_lock_example won't make.

Postby jar » Fri Jun 16, 2017 9:13 pm

User avatar
jar
 
Posts: 295
Joined: Mon Dec 17, 2012 3:27 am

Re: Fresh Install, mpi_lock_example won't make.

Postby olajep » Tue Jun 20, 2017 4:20 pm

_start = 266470723;
olajep
 
Posts: 140
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 6 guests

cron