Dear dedalus experts,
I encountered a really annoying issue for which I am totally at loss and only you can help me. A few months ago, I ran parameter space swipe on compressible convection with the D3 version of the script we developed for a previous paper (
doi: 10.1093/gji/ggac102) and I needed to run a few more cases. For various reasons (including system update), I installed a new version (3.0.2, latest) of dedalus on our cluster and I can’t get the same results. As an example, I show the time evolution of several scalar diagnostics originally obtained in a simple case which reaches a periodic solution and the continuation using the new install. I checked on my Mac laptop, on which I still have a rather old install (3.0.0a), and I get the proper continuation. The most annoying part is that when I plot the vertical total heat flow, which should be constant when time-averaged, I indeed get the proper result in the old results but not at all with the new install. Moreover, I installed the latest version as a different conda environment on my laptop and it does not run at all (with the same parameters) : after a few time steps, it blows off with NaNs. I checked that the problem does not arise in a Boussinesq model: this is really associated with some compressible terms.
That situation brings several questions:
- The most important one: what makes that issue arise and what can be done to solve it?
- I trust more the results obtained with the old build since it conserves heat but should I?
- How can I go back to the previous build. On the cluster, I use a somewhat custom install because of modules to be charged etc, using git to get the source. I guess I could checkout the one used before but how can I know which one it was ? On my laptop, I also tried another install (in a different env) using conda install -c conda-forge dedalus=3.0.0=py310h5fe63e2_0 but that did not work. Since I have a working (?) version, can I recover some reference to the exact build to use by git and/or conda?
I attach, to this mail, the script and par file to replicate the run, as well as post-treatment scripts. And the figures. Any help would be greatly appreciated.
Stephane