I probably won't have much tim to look at you files before a few days, but here are a few quick indications which may help (especially the last part of this post, if you are simply looking for a simple way to compute the average temperature).
Regarding the GUI on Archer, I need to check with Charles Moulinec (who has done quite a few installs on Archer) if it is possible simple to install the code with the libxml2, so as to be able to read XML files generated by the GUI on other machines). This requires minimal installation effort (compared to PyQt4), and is sufficient if you have another install with the GUI on a workstation to generate XML files. Though after the holiday, Charles and I both have article deadlines for early January, so a new install may wait a bit and not be compatible with your own deadline (I released 3.0.6 recently, and have a few pending fixes for 3.0.7, but am waiting for a few other minor fixes from a colleague before releasing 3.0.7, so mid-January would be a good time for an upgrade of the install on Archer, but that may be too late for you).
The memory allocation issue is probably due to some uninitialized value (1.72E10 is either due to an integer overflow or an uninitialized value), but to debug that, I recommend trying to reproduce the issue on a much smaller mesh with otherwise the same setup, on a workstation, using a debug build, and running under Valgrind. Otherwise, debugging that may be a pain...
If you simply need the temperature average, you can use built-in functions in Code_Saturne, requiring only cs_user_parameters.f90 in version 3.0 (and cs_user_parameters.c in versions 3.3 and 4.0-beta). Search for "moments" or "imom" in cs_user_parameters.f90 and/or the user pdf documentation. Basically, all you need to do is something similar to:
Code: Select all
imom = 1
idfmom(1,imom) = iscalt
ntdmom(imom) = 1 ! starting time step for moment computation
Regards,
Yvan