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

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

OK, you may have forgotten to reply to the mailing list. I prefer to make
this discussion public as it will be useful to all the users.

The latest released version (2.4.1) does not have this HNEMD example as in
the developing version. Also some "keywords" and even the format of the
xyz.in file have been changed from version 2.4.1 to the developing version.

Anyway, welcome to ask any questions related to the code.

Zheyong


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

Hi Zheyong,

Got it. I just checked the new example files and they are working fine
with the source code that I have. Thanks for the heads up about the debug
version. I would not have looked into it myself. I am going to download
both of the the latest version and the stable release version and see what
suits best for my needs. I will let you know if I have any problems with
the latest version.


Thanks and regards,

Abhishek
On 8/28/19 10:21 AM, Bruce Fan 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: