Difference between revisions of "Applications/Utilities"

From HPC
Jump to: navigation , search
m
(Batch Submission)
Line 14: Line 14:
  
 
<pre style="background-color: #C8C8C8; color: black; border: 2px solid blue; font-family: monospace, sans-serif;">
 
<pre style="background-color: #C8C8C8; color: black; border: 2px solid blue; font-family: monospace, sans-serif;">
 
 
#!/bin/bash
 
#!/bin/bash
  
Line 37: Line 36:
 
unzip somedatatodownload.zip
 
unzip somedatatodownload.zip
 
/home/user/processthisdata mydatadownloaded
 
/home/user/processthisdata mydatadownloaded
 
 
</pre>
 
</pre>
  

Revision as of 09:23, 8 February 2017

Application Details

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


Usage Examples

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 load 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