[gpumd] Re: illegal memory access in gpumd example problem

  • From: Bruce Fan <brucenju@xxxxxxxxx>
  • To: gpumd@xxxxxxxxxxxxx
  • Date: Wed, 28 Aug 2019 17:24:04 +0300

A typo:

That is, there is randomness when "-DDEBUG" is included in this line.

should be

That is, there is no randomness when "-DDEBUG" is included in this line.

Zheyong

On Wed, Aug 28, 2019 at 5:22 PM Bruce Fan <brucenju@xxxxxxxxx> wrote:

Hello Abhishek,

That's good. It's better to download the whole new package, as I changed
both the code (to make some parts safer for Volta GPUs) and the examples
about 9 days ago. Also remind you that starting from this version
(hopefully will be released as version 2.5 soon), there is only an online
manual (https://gpumd.zheyongfan.org/). So you need to consult this
online manual to understand the code and the provided examples. Actually, I
have written detailed tutorials for some examples.

Another note to everyone who wants to use the latest "developing" version,
we (me and Alex) usually use the "debug" version for the makefile. If you
see this line in the makefile:

CFLAGS = -std=c++11 -O3 -arch=sm_35 -DDEBUG

You'd better remove "-DDEBUG" before compiling. Without doing this, you
will get exactly the same result for different runs of the same input. That
is, there is randomness when "-DDEBUG" is included in this line.

Best,
Zheyong

On Wed, Aug 28, 2019 at 5:02 PM Abhishek Pathak <apathak@xxxxxxxxxxx>
wrote:

Hello Zheyong,

Yes, you are correct. I downloaded the code from git more than 9 days
ago. I will download the new example problems and see if that works.

Thanks and regards,

Abhishek
On 8/28/19 3:17 AM, Bruce Fan wrote:

Abhishek,

OK, I just have noticed that you said you were trying to run
example/diffusive. Then you must have used the latest (unreleased) version.
For this version, the examples and the code were not consistent with each
other up 9 days ago. So if you have downloaded the unreleased version more
than 9 days ago, you might have unexpected run-time problems such as what
you have seen. If you have downloaded more recently and still got such
errors, I can have a closer look at the problem.

Best,
Zheyong

On Wed, Aug 28, 2019 at 1:23 AM Abhishek Pathak <apathak@xxxxxxxxxxx>
wrote:

Hello,

I am testing my installation of GPUMD and while doing that I tried
running gpumd example4 diffusive simulation. I found a CUDA error about
illegal memory access. The screenshot of the error is appended below. I am
new to GPU computing. Could you help me resolve this problem?




Thanks and regards,

Abhishek Pathak



PNG image

Other related posts: