Skip to content
Snippets Groups Projects
  1. Jan 24, 2022
  2. Jan 09, 2022
  3. Jan 08, 2022
  4. Dec 30, 2021
  5. Dec 29, 2021
  6. Nov 30, 2021
  7. Nov 28, 2021
  8. Nov 27, 2021
  9. Nov 24, 2021
  10. Nov 21, 2021
  11. Nov 20, 2021
  12. Nov 12, 2021
  13. Nov 08, 2021
  14. Nov 07, 2021
    • Izzard, Robert Dr (Maths & Physics)'s avatar
      Slurm is now basically working. · 495803e3
      I've added a new grid_option, num_processes, which is the number of processes launched by Python's multiprocessing. num_cores is used to set this:
      
      if > 0 use the number specified (as previously, so backwards compatibility is fine)
      if == 0 use the number of logical cores
      if == -1 use the number of physical cores
      
      Try running it with a command like:
      
      ---
      rm -rf /tmp/slurm ; nice python3.9 ./src/python/ensemble.py dists=Moe binaries=False r=100 verbosity=1 max_evolution_time=10 slurm_dir=/tmp/slurm slurm_partition=debug slurm_memory=100MB monte_carlo_kicks=0 save_ensemble_chunks=False num_cores=-1 slurm=1 slurm_njobs=2 num_cores=2
      ---
      
      You will want to change num_cores and slurm_njobs to suit. Each Slurm job gets num_processes cores allocated to it.
      
      Note: you should set your slurm directory to be empty. This isn't really required, but makes debugging a lot easier.
      
      You also have to set the slurm_partition by hand - this is something you need to find out based on your cluster. In the above example I use "debug" because this is the default.
      
      There are quite a few changes internally, particularly new functions to load, save and merge Population objects and their data (mostly) correctly, and updates to the dict merging functions that this required.
      
      please report bugs because there will be many!
      495803e3
  15. Nov 06, 2021
  16. Nov 05, 2021
  17. Nov 01, 2021
  18. Oct 18, 2021
  19. Oct 14, 2021
  20. Oct 10, 2021
  21. Oct 09, 2021
  22. Oct 08, 2021
  23. Oct 07, 2021
  24. Jul 28, 2021
  25. Jan 05, 2021
  26. Apr 08, 2020
  27. Mar 09, 2020
Loading