[GRASS-user] r.sun with opencl

Dear list,

I’m not sure if it would be better to ask here or in the developer list, but I’ll try it here first - I’m trying to get r.sun to run on my graphic card with OpenCL. I’ve managed to compile OpenCL and GRASS 7, but when I try to run r.sun it doesn’t work. I’ve tracked the problem down to a header file; both rsun_opencl.c and main.c include rsun_opencl.h, but it’s not in the git repository with the source codes. I tried writing the header file myself, but it’s definitely not the prettiest thing in the world and it still doesn’t work. Does anybody know where the real header is? Thanks a lot!

Daniel

B.Sc. Daniel Lee
Geschäftsführung für Forschung und Entwicklung
ISIS - International Solar Information Solutions

Deutschhausstr. 10
35037 Marburg
Festnetz: +49 6421 379 6256
Mobil: +49 176 6127 7269
E-Mail: Lee@isi-solutions.org
Web: http://www.isi-solutions.org

ISIS wird gefördert durch die Bundesrepublik Deutschland, Zuwendungsgeber: Bundesministerium für Wirtschaft und Technologie aufgrund eines Beschlusses des Deutchen Bundestages, sowie durch die Europäische Union, Zuwendungsgeber: Europäischer Sozialfonds.
Zusätzliche Unterstützung erhält ISIS von dem Entrepreneurship Cluster Mittelhessen, der Universität Marburg, dem Laboratory for Climatology and Remote Sensing und dem GIS-Lab Marburg.

Hi Daniel,

On Mon, Aug 22, 2011 at 5:42 PM, Daniel Lee <lee@isi-solutions.org> wrote:

Dear list,

I'm not sure if it would be better to ask here or in the developer list, but
I'll try it here first - I'm trying to get r.sun to run on my graphic card
with OpenCL. I've managed to compile OpenCL and GRASS 7, but when I try to
run r.sun it doesn't work. I've tracked the problem down to a header file;
both rsun_opencl.c and main.c include rsun_opencl.h, but it's not in the git
repository with the source codes. I tried writing the header file myself,
but it's definitely not the prettiest thing in the world and it still
doesn't work. Does anybody know where the real header is? Thanks a lot!

I see main contact points:
- the original author, Seth Price
- his GSoC mentor.

http://grass.osgeo.org/wiki/R.sun#OpenCL

Did you contact them?

Markus

Hi Markus,

No, I haven’t yet, but thanks for the tip, I’ll give it a try :slight_smile:

Daniel

On Mon, Aug 22, 2011 at 10:49 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi Daniel,

On Mon, Aug 22, 2011 at 5:42 PM, Daniel Lee <lee@isi-solutions.org> wrote:

Dear list,

I’m not sure if it would be better to ask here or in the developer list, but
I’ll try it here first - I’m trying to get r.sun to run on my graphic card
with OpenCL. I’ve managed to compile OpenCL and GRASS 7, but when I try to
run r.sun it doesn’t work. I’ve tracked the problem down to a header file;
both rsun_opencl.c and main.c include rsun_opencl.h, but it’s not in the git
repository with the source codes. I tried writing the header file myself,
but it’s definitely not the prettiest thing in the world and it still
doesn’t work. Does anybody know where the real header is? Thanks a lot!

I see main contact points:

  • the original author, Seth Price
  • his GSoC mentor.

http://grass.osgeo.org/wiki/R.sun#OpenCL

Did you contact them?

Markus

B.Sc. Daniel Lee
Geschäftsführung für Forschung und Entwicklung
ISIS - International Solar Information Solutions

Deutschhausstr. 10
35037 Marburg
Festnetz: +49 6421 379 6256
Mobil: +49 176 6127 7269
E-Mail: Lee@isi-solutions.org
Web: http://www.isi-solutions.org

ISIS wird gefördert durch die Bundesrepublik Deutschland, Zuwendungsgeber: Bundesministerium für Wirtschaft und Technologie aufgrund eines Beschlusses des Deutchen Bundestages, sowie durch die Europäische Union, Zuwendungsgeber: Europäischer Sozialfonds.
Zusätzliche Unterstützung erhält ISIS von dem Entrepreneurship Cluster Mittelhessen, der Universität Marburg, dem Laboratory for Climatology and Remote Sensing und dem GIS-Lab Marburg.

I just noticed the conversation… this is what I have saved on my computer:

(attachments)

rsun_opencl.h (2.5 KB)