I have been receiving repeatedly during my flair runs a strange warning stating that my current project’s .flair file has been altered since editing started. The warning also prompts me to reload the new version, thus interrupting the current run or decline.
However neither the .flair file nor the .inp have been altered since the start of the simulation…
you changed externally the .flair or .inp file, which is a valid way of working (not your case as you explained)
You are writing in a remote mounted file system that has a time which is different (>1 second) from your mounting computer. So when the file is written it reports a different timestamp than your computer and flair thinks that the file was changed externally. If this is the case try to correct the NTP on both computers
A bug during the writing and the file is written incomplete. If this is the case you should see error messages in the output or on the bug report of flair. Please send us the .flair file and the error messages so we can debug it.
given the fact that I am running flair through Ubuntu 20.04 - WSL2, I immediately checked if the system date for windows is in correspondence with the date of the WSL2 environment, during a simulation I started with flair. The screenshot I am attaching below proves that indeed there is a discrepancy of at least 1 sec between the two systems.
I am currently investigating how to synchronize the two systems, by correcting the NTP as you indicated.
I did experience as well, similarly on WSL2 with Ubuntu 20.04.
Yesterday I tried to reproduce it again, but I wasn’t able to. After a bit of searching, I found that there was a kernel update for WSL2 about a month ago, fixing an issue about the clock synchronisation between Windows and Ubuntu. (Release Notes for WSL kernel | Microsoft Docs)
Can you check if you have the 5.10.16.3 kernel, with the command uname -r?
The time difference you saw can be just a coincidence as the two commands weren’t run exactly at the same time.
So it seems one solution remains: Switching back to WSL1 (if you are not using other software which requires WSL2). (Comparing WSL 1 and WSL 2 | Microsoft Docs) This can be done with the command: