UCL-RITS / mkdocs-rc-docs

Experimental Research Computing documentation generation using mkdocs
http://rits.github-pages.ucl.ac.uk/mkdocs-rc-docs/
29 stars 18 forks source link

ACFS correction #76

Open traktofon opened 2 months ago

traktofon commented 2 months ago

https://github.com/UCL-RITS/mkdocs-rc-docs/blob/b2cc328b35ac6e707cfac2622e50ae0682f5bf5d/mkdocs-project-dir/docs/Data_Management.md?plain=1#L25

should be ls -als; -l shows actual file size, -s additionally shows the allocated size

heatherkellyucl commented 2 months ago

The two give me the same output at the moment on Kathleen?

[cceahke@login01 testmodules]$ pwd
/home/cceahke/ACFS/testmodules
[cceahke@login01 testmodules]$ ls -als
total 11
1 drwxr-xr-x 2 cceahke staff 4096 Sep 10 15:48 .
1 drwx------ 3 cceahke staff 4096 Sep 10 15:48 ..
1 -rw-r--r-- 1 cceahke staff  386 Sep 10 15:48 gerun-test
1 -rw-r--r-- 1 cceahke staff  737 Sep 10 15:48 hwloc-2.8.0
1 -rw-r--r-- 1 cceahke staff 1518 Sep 10 15:48 openmpi-1.10.1-both
1 -rw-r--r-- 1 cceahke staff 1294 Sep 10 15:48 openmpi-1.10.1-patched
1 -rw-r--r-- 1 cceahke staff 1061 Sep 10 15:48 openmpi-4.0.3-gnu4.9.2
1 -rw-r--r-- 1 cceahke staff 1512 Sep 10 15:48 openmpi_4.0.5_gnu-10.2.0
1 -rw-r--r-- 1 cceahke staff 1512 Sep 10 15:48 openmpi_4.1.0_gnu-10.2.0
1 -rw-r--r-- 1 cceahke staff  850 Sep 10 15:48 qe-6.4.1
1 -rw-r--r-- 1 cceahke staff 1017 Sep 10 15:48 testmodulefunctions
[cceahke@login01 testmodules]$ ls -al
total 11
drwxr-xr-x 2 cceahke staff 4096 Sep 10 15:48 .
drwx------ 3 cceahke staff 4096 Sep 10 15:48 ..
-rw-r--r-- 1 cceahke staff  386 Sep 10 15:48 gerun-test
-rw-r--r-- 1 cceahke staff  737 Sep 10 15:48 hwloc-2.8.0
-rw-r--r-- 1 cceahke staff 1518 Sep 10 15:48 openmpi-1.10.1-both
-rw-r--r-- 1 cceahke staff 1294 Sep 10 15:48 openmpi-1.10.1-patched
-rw-r--r-- 1 cceahke staff 1061 Sep 10 15:48 openmpi-4.0.3-gnu4.9.2
-rw-r--r-- 1 cceahke staff 1512 Sep 10 15:48 openmpi_4.0.5_gnu-10.2.0
-rw-r--r-- 1 cceahke staff 1512 Sep 10 15:48 openmpi_4.1.0_gnu-10.2.0
-rw-r--r-- 1 cceahke staff  850 Sep 10 15:48 qe-6.4.1
-rw-r--r-- 1 cceahke staff 1017 Sep 10 15:48 testmodulefunctions
traktofon commented 2 months ago

-s adds a column in the front; your files are all very small so allocated size currently shows as 1kiB but multiple files might be packed together into one inode filesystem block. Try larger files.

uccafot@login01.kathleen ~/ACFS/bin$ ls -lsh
total 48K
48K -rwxr-xr-x 1 uccafot uccas0 23K Sep 10 15:42 mpi_pi

48K vs 23K