Skip to content

v0.4.1

Choose a tag to compare

@ufechner7 ufechner7 released this 22 Oct 13:57
· 33 commits to main since this release

KiteControllers v0.4.1

Diff since v0.4.0

Changed

  • on macOS, create_sys_image counts twice the free disk space (minus 5 GB) as swap, because macOS writes compressed memory to its swap files (measured: 2.5 : 1); a Mac with 8 GB of RAM now needs about 16 GB of free disk space instead of 27 GB
  • bin/create_sys_image checks the memory and chooses the number of image threads (JULIA_IMAGE_THREADS) with the same rules as Tethers.jl and KiteModels.jl, documented in docs/sysimage.md: it stops if RAM + swap (Windows: maximum pagefile size, macOS: free disk space) is less than 30 GB, or if the RAM is less than 15 GB (macOS: 7 GB); it uses one thread if RAM + swap is less than 34 GB, two threads with less than 27 GB of RAM, and otherwise half the CPU threads, at most 16. Before, it used one thread with less than 27 GB of RAM and did not check the swap
  • bin/create_sys_image checks the memory before anything else, so that a machine with too little memory fails right away
  • bin/create_sys_image precompiles Profile with the system image if KaimonGate is installed, because KaimonGate loads Profile in interactive sessions; before, bin/run_julia precompiled Profile when it was first started with a new system image
  • bin/create_sys_image no longer passes --heap-size-hint=8000M; it only limited the Julia process that drives PackageCompiler, not the processes where the peak memory demand occurs
  • bin/install without parameters asks nothing and changes nothing outside the repository and the Julia depot; steps that fail now stop the script. The Julia version dialog, the alias jl, the global Revise installation and the optional precompilation of the test and docs environments moved to the new option -i. The options --update, --tests, --no-tests and --version were removed; bin/update_default_manifests no longer needs them
  • bin/run_julia meets the documented behaviour of the repository scripts: it has -h/--help, loads Revise only if it is available, defines menu() as documented in the README, and passes all arguments to Julia (before, only a script name was accepted). A .jl file as first argument is still run without REPL, as bin/batch_pilot and bin/batch_plot need
  • bin/run_julia no longer sets MPLBACKEND and NO_MTK

Merged pull requests:

Closed issues:

  • Investigate the use of optimal control (#37)