qmcpack icon indicating copy to clipboard operation
qmcpack copied to clipboard

mmap failure in tests/scripts/check_deriv.py

Open ye-luo opened this issue 1 year ago • 3 comments

Describe the bug It seems that it choked Permutter https://github.com/QMCPACK/qmcpack/issues/4937#issuecomment-2007240632

@Paul-St-Young is mmap really needed?

ye-luo avatar Mar 20 '24 18:03 ye-luo

I wonder if this is the root cause? Are other mmaps done successfully in other test scripts?

prckent avatar Mar 20 '24 19:03 prckent

I wonder if this is the root cause? Are other mmaps done successfully in other test scripts?

The two failing tests both include a line of mmap.

ye-luo avatar Mar 20 '24 19:03 ye-luo

@ye-luo mmap is not strictly necessary. It just has some nice utilities for text parsing. It would be totally fine to rewrite the script to parse ascii text.

Paul-St-Young avatar May 16 '24 17:05 Paul-St-Young