Re: 2D arrays and accull

38 views
Skip to first unread message

Ruymán Reyes

unread,
Oct 23, 2013, 6:24:59 AM10/23/13
to rpsouto, acc...@googlegroups.com
Hi Roberto,

Many thanks for giving accULL a try.
Sorry for the delay in our response, we have been taking a look to the code. As a matter of fact, mixing OpenMP and OpenACC pragmas on the same code is causing troubles to our parser, and we are not supporting this at the moment.
In addition, you have to add the copy_in / copy_out clauses to indicate the directionality of the variables. When building the codes (in verbose mode) you'll see that the missing variables are detected by our compiler, but it just emits a warning. The default policy of accULL is that the user code is "OK", so if we detect something wrong we emit a warning.
Your code allowed us to identify a bug in the 2D arrays that we have solved in the current development version (you can get it from the repository in https://bitbucket.org/ruyman/accull/).
However there is still another issue that is causing the code to crash under some circumstances. 
We are hoping to provide a fix soon, and we will let you know when it is fixed.
In the meantime, feel free to try the current development version as it may just work with your platform!

Cheers,


--
Ruymán Reyes Castro
Ph.D  - High Performance Computing Group
Telefono/Phone: +34 922 318178
Correo/Email: rre...@ull.es  
Dpto. Estadística, Investigación Operativa y Computación
Universidad de La Laguna (ULL)


On Sat, Oct 12, 2013 at 11:35 AM, rpsouto <rps...@lncc.br> wrote:
Dear Iván and Ruymán.

My name is Roberto Souto. I am research at National Laboratory for Scientific Computing (LNCC) in Rio de Janeiro/Brazil
We download accull and it is an amazing compiler to use OpenACC.
However, when we tried to compile programs with 2D array indexes, it failed (see the attached files).
Please, could we overcome this issue, without modifying the laplace2d.c code?

Thank you.

Best regards,

Roberto.


Jose Lucas Grillo Lorenzo

unread,
Oct 25, 2013, 8:33:38 AM10/25/13
to acc...@googlegroups.com, rpsouto
Now you can compile the attached code, with accull revision tagged 0.3.1 from accull repository.

Your code has been minimally adapted and tagged with the correct pragmas for acull compilation.

J. Lucas Grillo


2013/10/23 Ruymán Reyes <rre...@ull.es>

--
You received this message because you are subscribed to the Google Groups "accULL Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accull+un...@googlegroups.com.
To post to this group, send an email to acc...@googlegroups.com.
Visit this group at http://groups.google.com/group/accull.
For more options, visit https://groups.google.com/groups/opt_out.

laplace2d.c
Reply all
Reply to author
Forward
0 new messages