GPUMD icon indicating copy to clipboard operation
GPUMD copied to clipboard

File mismatch error when running gpumd or nep in windows platform

Open hityingph opened this issue 2 years ago • 4 comments

When running simulations (or trainning) in windows platform, the gpumd package sometimes reports the error of "File size mismatch". I have raised this isuue previously, however, it has not been perfectly fixed. This bug should be fixed as soon as possible.

hityingph avatar Aug 30 '22 06:08 hityingph

Could you upload your run.in such that I can reproduce the problem?

brucefan1983 avatar Aug 30 '22 07:08 brucefan1983

@brucefan1983 Attached please find the "run.in", "model.xyz", and potential files used in the master version. file_mismatch.zip

hityingph avatar Aug 30 '22 07:08 hityingph

I will look into this ASAP. I also encountered this problem sometimes. It's time to use modern C++ to deal with the run.in file now.

brucefan1983 avatar Sep 02 '22 09:09 brucefan1983

I tried to fix this but failed to find a simple way. To fix this, I might need re-write the whole part parsing run.in. I would like to postpone this to the next release.

brucefan1983 avatar Sep 06 '22 12:09 brucefan1983

solved in PR #310

brucefan1983 avatar Nov 13 '22 13:11 brucefan1983