Closed prckent closed 5 years ago
I'll take a look. I built it last week with no issues but perhaps something changed with the software stack since then.
Thanks. I'll be happy to disable TDDFT if that is possible. Just trying to get a working build.
This is a bit odd but I got a successful build by just running make again after getting an error the first time. I did have to load the hdf5 module so I'll update the Summit instructions with that but why the second make works after the first one fails is still unclear.
P.S. The build directory does not need to actually be located inside the source directory just as long as the actual path to CMakeLists.txt is passed to cmake.
I noticed this error message which occurred during the cmake phase before the message about eldyn_mod.dir
[elbriggs@login1.summit build_rmg_gpu]$ cmake -DRMG_GPU_ENABLED=1 -DBLAS_blas_LIBRARY=/sw/summit/essl/6.1.0-2/essl/6.1/lib64/libessl.so ../rmgdft/ fatal: Not a git repository (or any parent up to mount point /autofs/nccs-svm1_home1) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
The CMakeLists.txt file uses git to extract version/patch level information to be compiled into the binary but apparently this does not work reliably on Summit. It's not clear if this is the root cause which makes running make twice necessary but it's clearly a problem in that the correct version/patch information won't get included in the executable.
The TDDFT error on the inital make goes away if you reduce the number of cores used in the parallel make. This is definitely a bug but it's not clear where it's coming from but using make -j8 instead of make -j32 seems to be more reliable.
The -j settings sensitivity indicates a missing dependency.
Yep. Fixed now in latest commit. Guess it's been there for a while but never actually saw it before.
I am unable to build RMG reliably, sometimes at all on Summit. Errors occur during make. Tests were done today, 9 September 2019. It looks like there is a bad dependency or a workaround might be needed for Summit filesystem weirdness.
Reproducer:
Output: