Hello,<br /><br />I am trying to learn CP2K, and I am stuck with an error that I cannot<br />understand that looks like this:<br /><br /> Trying to move ...wfn to ....wfn.bak-1.<br /> rename returned status:<span style="white-space: pre;"> </span>-1<br /><br />The same error is repeated more than once<br />Followed by a crash.<br /><br /> forrtl: error (76): Abort trap signal<br /><br />I got the same error on a basic sample extracted from the CP2K<br />test suite, as well as my actual work case. I am running cp2k.popt on a<br />cluster with one or two nodes of 48 cores using Slurm.<br /><br />The crash happens at the end of the m_mov routine of<br />src/base/machine_posix.f90.<br /><br />According to the POSIX manual, rename (the C version at least) always<br />return -1, but the binding in the same file label the result code errno.<br />Sadly, even assuming that it somewhat get the global errno (I don't know<br />much about Fortran-C interop), -1 (or any unsigned equivalent of if) is<br />not a valid errno value.<br /><br />I checked for permission problems, or size limits, but I don't see<br />anything wrong with that. However, I think there might be more than one<br />process trying to do the same m_mov concurrently, creating a race<br />condition where some of them try to move a file that does not exist.<br /><br />So, I don't know what to do next to debug the issue.<br />What is the relevant info on the MPI context in the output?<br /><div>Could it be some library mismatch with the MPI implementation?</div><div>What should I check to make sure I am not misusing CP2K?<br /></div><br />Best regards,<br /><br />Théo CAVIGNAC<br />
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/3067c7b9-3dcd-4df2-8385-9cff35808347n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/3067c7b9-3dcd-4df2-8385-9cff35808347n%40googlegroups.com</a>.<br />