or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
Stat Analysis documentation
Version: 2020.01.24
Python environment setup
The instructions are for setting up an user environment on Rackham but could be easily adapter for personal computers as well. Memory requirement is minimized, but access to more memory will speed up the execution of the analysis.
This needs to be done only once for each user.
Setting up the calculation
The pattern expression to read multiple files needs to be specified in the python script.
Once the file mask is setup, the program is ready to run.
Submitting job to SLURM
Here is a SLURM script to submit a job to the queue.
Please, edit the corresponding parameters for the project (-A), CPUs (-n) and time (-t)
The program will calculate the properties in question, then save a plot of the histogram in
histogram.png
and the raw data used for the plot inhistogram.dat
stat_dask_v03.py
will show a progress bar if it is run interactively, for example, while testing on smaller subsets.This is handy, but when the output from the progress bar is redirected it generates unnecessary large amount of printout into
slurm-123456.out
. Despite this, one could still monitor the progress by filtering the "noise" and collect only the relevant data.To remove the progress bar, comment these lines in the script.
Note that some of the results are calculated twice which adds additional 8 min. The double calculation is to check for inconsistencies due to the approximations in the method. One can skip the first function call and directly call the second function call i.e. comment the first function call.
Stat Analysis documentation - performance tests
Dask vs. discrete histogram
About
tags:
SNIC
UPPMAX
python
dask