training-hpc issueshttps://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues2019-07-03T09:29:57+02:00https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/12Remarks / todo after 1st session2019-07-03T09:29:57+02:00Pierre AugierRemarks / todo after 1st session## Think about what is important (and has to be presented) and what is not so important and should not be presented
It is a very general remark but I think it was a problem of this session.
An example: in my point of view, it is not u...## Think about what is important (and has to be presented) and what is not so important and should not be presented
It is a very general remark but I think it was a problem of this session.
An example: in my point of view, it is not useful to present `pipenv` in such training on Python HPC.
## Change the README to tell participants that they have to install the virtual box.
- Add a file explaining how to setup the virtual box (for example the potential problems with the BIOS configuration) and even how to create the virtual box from nothing
## dtw_cort_dist
- Add Julia
- Add a function using high level Numpy functions
- time the 3 functions
- change the structure to avoid using runpy + a directory per case only when needed...
- plots to show the speed up
- use pytest for checking
- write a nice blog post to summarize the results
## Simple decorators
Should be introduced at the end of the presentation on functions
- user perspective
- how to create decorators
- `functools.wraps`
## Simple generators
When should it be presented? After loops, functions and list comprehensions.
- Generator Expressions https://www.python.org/dev/peps/pep-0289/
- `yield` keyword
## Standardize presentations (all using ipynb and all included in the main web page)
- Merge the 2 presentations on packaging (with a little bit more on pytest)
## Put the presentations on the web!
## A good presentation of pip, virtualenv, pyenv (show how to use PyPy), conda
## Change order of the presentations: (wrapping, accelerators, parallel) to (parallel, wrapping, accelerators)
- We need to present the GIL before wrapping and accelerators.
- We don't need extensions to present parallelism
- We can come back to parallelism once accelerators are presented (OpenMP with Pythran, parallel loops with Numba / Cython, Dask + Numba(?))
## Improve the presentation on parallelism
See also https://github.com/fchuffar/practicle_sessions
- a little bit more on the architecture of the computers
- concepts of distributed and shared memories
- concepts of processes, threads, processors, cores, CPU
## A little bit more on GPU ?
## A little bit more on the statistic ecosystem (pandas, statsmodels, seaborn, ...), especially if there are R usershttps://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/11cython: remove call to min func2019-06-19T10:54:18+02:00Franck Thollardcython: remove call to min funcusing if elseusing if elseFranck ThollardFranck Thollardhttps://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/10parallelism: add future2019-06-19T10:36:08+02:00Franck Thollardparallelism: add futurehttps://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/9dtw_cort : unify setup.py (remove makes)2019-06-24T12:02:12+02:00Franck Thollarddtw_cort : unify setup.py (remove makes)https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/8rework testing (adding a ipynb)2019-06-24T11:52:02+02:00Franck Thollardrework testing (adding a ipynb)https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/7add dask ?2019-06-19T10:34:28+02:00Franck Thollardadd dask ?https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/6add pres decorateurs2019-06-19T10:34:11+02:00Franck Thollardadd pres decorateurshttps://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/5pres generateurs2019-06-19T10:33:57+02:00Franck Thollardpres generateursFranck ThollardFranck Thollardhttps://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/4Improve pres complexity - O def2019-06-19T10:33:33+02:00Franck ThollardImprove pres complexity - O defFranck ThollardFranck Thollardhttps://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/training-hpc/-/issues/3Improve pres dtw2019-06-19T10:33:02+02:00Franck ThollardImprove pres dtwFranck ThollardFranck Thollard