Difference between revisions of "Applications/Utilities"

From HPC
Jump to: navigation , search
m
m (Further information)
 
(3 intermediate revisions by the same user not shown)
Line 24: Line 24:
 
<pre style="background-color: #C8C8C8; color: black; border: 2px solid #C8C8C8; font-family: monospace, sans-serif;">
 
<pre style="background-color: #C8C8C8; color: black; border: 2px solid #C8C8C8; font-family: monospace, sans-serif;">
  
[root@c025 ~]# module load utilities/multi
+
[root@c025 ~]# module add utilities/multi
 
[root@c025 ~]# git clone git://github.com/Tomas-M/linux-live
 
[root@c025 ~]# git clone git://github.com/Tomas-M/linux-live
 
Cloning into 'linux-live'...
 
Cloning into 'linux-live'...
Line 76: Line 76:
 
* [http://www.gnu.org/ http://www.gnu.org/]
 
* [http://www.gnu.org/ http://www.gnu.org/]
  
{|
+
{{Modulepagenav}}
|style="width:5%; border-width: 0" | [[File:icon_home.png]]
 
|style="width:95%; border-width: 0" |
 
* [[Main_Page|Home]]
 
* [[Applications|Application support]]
 
* [[General|General]]
 
* [[Training|Training]]
 
* [[Programming|Programming support]]
 
|-
 
|}
 

Latest revision as of 11:00, 16 November 2022

Application Details

  • Description : Utilities is a collection, including zip, unzip, bzip2, bunzip2, git, and wget
  • Versions : Various
  • Module names : utilities/multi
  • License: GNU license(s)


Usage Examples

The following utilities are loaded as part of this module:

  • bzip2 (& bunzip2)
  • git
  • zip (& unzip)
  • wget


Special Consideration

  • There is an issue with with using https:// addresses with git, this is easily resolved with replacing the operator git:// rather than https://

[root@c025 ~]# module add utilities/multi
[root@c025 ~]# git clone git://github.com/Tomas-M/linux-live
Cloning into 'linux-live'...
warning: templates not found /usr/share/git-core/templates
remote: Counting objects: 2945, done.
remote: Compressing objects: 100% (267/267), done.
remote: Total 2945 (delta 171), reused 362 (delta 124), pack-reused 2519
Receiving objects: 100% (2945/2945), 5.82 MiB | 5.77 MiB/s, done.
Resolving deltas: 100% (1304/1304), done.


Batch Submission


#!/bin/bash

#SBATCH -J -20
#SBATCH -N 1
#SBATCH --ntasks-per-node=20

#SBATCH -o test.out
#SBATCH -e test.err
#SBATCH -p compute
#SBATCH --exclusive
#SBATCH --time=2-00:00:00

echo $SLURM_NTASKS
echo $SLURM_JOB_NODELIST
echo $SLURM_HOSTS

module purge
module add utilities/multi

wget http://www.example.com/somedatatodownload.zip
unzip somedatatodownload.zip
/home/user/processthisdata mydatadownloaded


[username@login01 ~]$ sbatch downloadprocess.job
Submitted batch job 389511

Further information





Modules | Main Page | Further Topics