Difference between revisions of "Kennedy manual"

From wiki
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
Temporary quick start info can be found here. This is a work in progress until something official is made up.
+
*[[quick start]]
  
https://github.com/peterthorpe5/How_to_use_Kennedy_HPC
+
#[[creating ssh keys and logging on]]
 +
#[[logging on to Kennedy]]
  
 +
*[[pull and push to to and from MARVIN]]
  
The following are command line commands, or tags you can put in your shell script to achieve certain functionality.
+
*[[filezilla data transfer]]
  
request_48_thread_1.3TBRAM
+
*[[slurm commands]]
#!/bin/bash -l  '''# not the -l is essential now'''
 
#SBATCH -J fly_pilon  #jobname
 
#SBATCH -N 1    #node
 
#SBATCH --ntasks-per-node=48
 
#SBATCH --threads-per-core=2
 
#SBATCH -p bigmem
 
#SBATCH --nodelist=kennedy150  # this is the specific node. This one has 1.5TB RAM
 
#SBATCH --mem=1350GB
 
  
 +
*[[submit a job and monitor queues]]
  
test_conda_activate
+
*[[samba like connection]]
#!/bin/bash -l
 
#SBATCH -J conda_test  #jobname
 
#SBATCH -N 1    #node
 
#SBATCH --tasks-per-node=1
 
#SBATCH -p bigmem    # big mem if for the BIOINF community
 
#SBATCH --mail-type=END    # email at the end of the job
 
#SBATCH --mail-user=$USER@st-andrews.ac.uk      # your email address
 
  
cd /gpfs1/home/$USER/
+
*[[Conda]]
 +
CONDA: http://stab.st-andrews.ac.uk/wiki/index.php/Conda#conda
 +
Training: github.com/peterthorpe5/Sys_admin/tree/master/cluster_course
 +
Note: on Kennedy, you may need to make programs executable to run. This is a know bug. Locate where the install have just gone, move to that directory and run
 +
chmod u+x prog(s)_of_interest. often in th elib folder
  
pyv="$(python -V 2>&1)"
+
The error that indicates this kind of error is:
 +
libptf77blas.so.3: '''cannot open shared object file
 +
'''
  
echo "$pyv"
+
==syntax highlighting in Nano==
 
+
do the following
# conda to activate the software
+
  cp /gpfs1/apps/kennedy_sys_admin/misc/.nanorc ./
 
 
echo $PATH
 
 
 
conda activate spades
 
 
 
pyv="$(python -V 2>&1)"
 
 
 
echo "$pyv"
 
 
 
conda deactivate
 
 
 
conda activate python27
 
 
 
pyv="$(python2 -V 2>&1)"
 
 
 
echo "$pyv"
 
 
 
  12threads_bigMeme_30G_RAM
 
 
 
!/bin/bash -l  # essential
 
#SBATCH -J trimmo  #jobname
 
#SBATCH -N 1    #node
 
#SBATCH --ntasks-per-node=12
 
#SBATCH --threads-per-core=2
 
#SBATCH -p bigmem
 
#SBATCH --mem=30GB
 

Latest revision as of 11:48, 7 May 2020

  1. creating ssh keys and logging on
  2. logging on to Kennedy
CONDA: http://stab.st-andrews.ac.uk/wiki/index.php/Conda#conda
Training: github.com/peterthorpe5/Sys_admin/tree/master/cluster_course

Note: on Kennedy, you may need to make programs executable to run. This is a know bug. Locate where the install have just gone, move to that directory and run

chmod u+x prog(s)_of_interest. often in th elib folder

The error that indicates this kind of error is:

libptf77blas.so.3: cannot open shared object file

syntax highlighting in Nano

do the following

cp /gpfs1/apps/kennedy_sys_admin/misc/.nanorc ./