User Tools

Site Tools


howto:tipsandtricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:tipsandtricks [2025/01/22 10:10]
ccrosby
howto:tipsandtricks [2025/03/19 15:20] (current)
ccrosby [Allowing or preventing rerunning]
Line 42: Line 42:
  
 ===== Compressing and uncompressing very large files ===== ===== Compressing and uncompressing very large files =====
-High-performance computing can obviously generate very large files very easily.  However, working with such large files demands some  +Reduce storage space occupation by making use of compression.  However, large files take a long time to compress or uncompress, but this process can be accelerated with the use of parallel compression methods.  On Lengau, there are two options: 
 + 
 +=== Parallel pzip2 === 
 +Get access to parallel bzip2 with the following module: 
 +<code> module load chpc/compmech/pbzip2/1.1.13 </code> 
 +This provides the following executables:  
 +<code> $ ls /apps/chpc/compmech/utils/bzip2/bin 
 +bunzip2  bzcat  bzcmp  bzdiff  bzegrep  bzfgrep  bzgrep  bzip2  bzip2recover  bzless  bzmore  pbunzip2  pbzcat  pbzip2 
 +</code>  
 + 
 +''pbzip2 --help '' will provide the necessary instructions. 
 + 
 +=== Pigz, or parallel gzip === 
 +Get access to the parallel implementation of gzip with the following module: 
 +<code> module load chpc/compmech/pigz/2.8 </code> 
 +This provides the following executables: 
 +<code> $ ls /home/apps/chpc/compmech/pigz-2.8 
 +pigz  unpigz  </code>  
 + 
 +''pigz --help'' and ''unpigz --help'' will provide the necessary instructions.
  
  
Line 56: Line 75:
 </code> </code>
  
 +In general, the CHPC recommends that you do not allow automatic re-running.  It is most often better to have a process die properly, so that the fault can be traced and corrected.
  
-On the other hand, if your software is set up to resume automatically from the last data written, PBS should be permitted to rerun the process:+On the other hand, if your software is set up to resume automatically from the last data written, PBS may be permitted to rerun the process:
 <code> <code>
 #PBS -r y #PBS -r y
/app/dokuwiki/data/attic/howto/tipsandtricks.1737533440.txt.gz · Last modified: 2025/01/22 10:10 by ccrosby