forked from monajemi/clusterjob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
42 lines (27 loc) · 1.1 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#This is the installation guide for clusterjob (CJ).
#Copyright 2015 Hatef Monajemi ([email protected])
#
(-) Clone clusterjob to a directory where you would like to install CJ (Dropbox folder recommended)
git clone [email protected]:monajemi/clusterjob.git ~/Dropbox/CJ_install
(-) Set path variables:
To add the path of install directory to @INC,
add one of the followings to your ~/.bashrc pr ~./profile
export PERL5LIB=~/Dropbox/CJ_install/src
or
export PERLLIB=~/Dropbox/CJ_install/src
To read more about setting path variable in perl, please
visit:
http://perlmaven.com/how-to-change-inc-to-find-perl-modules-in-non-standard-locations
(-) Set your cluster information:
You will need to update the following file to reflect your own
server setup.
~/Dropbox/CJ_install/ssh_config
The convention is
[MACHINE_ALIAS]
Host [INSERT_TAB] proclus.stanford.edu
User [INSERT_TAB] monajemi
Bqs [INSERT_TAB] SGE|SLURM
Matlib [INSERT_TAB] matlab/cvx:matlab/asp
[MACHINE_ALIAS]
(-) For easy use, add an alias for calling CJ.pl to your ~/.profile or ~/.bashrc:
alias cj='perl /Dropbox/CJ_install/src/CJ.pl';