Difference between revisions of "Applications/Utilities"

From HPC
Jump to: navigation , search
(Batch Submission)
m
Line 5: Line 5:
 
* Versions : Various
 
* Versions : Various
 
* Module names : utilities/multi
 
* Module names : utilities/multi
* License: GNU license  
+
* License: GNU license(s)
  
  
 
== Usage Examples ==
 
== Usage Examples ==
  
 +
=== Batch Submission ===
  
=== Batch Submission ===
+
<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 blue; font-family: monospace, sans-serif;">
 
 
#!/bin/bash
 
#!/bin/bash
  
Line 31: Line 31:
  
 
module purge
 
module purge
module load utilities/multi
+
module add utilities/multi
  
 
wget http://www.example.com/somedatatodownload.zip
 
wget http://www.example.com/somedatatodownload.zip

Revision as of 12:30, 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(s)


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