Difference between revisions of "Applications/Utilities"
From HPC
m |
m |
||
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 | + | [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'... |
Revision as of 13:20, 7 June 2018
Contents
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