-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetenv
executable file
·118 lines (110 loc) · 2.35 KB
/
setenv
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#!/bin/bash
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'
eval $(dircolors -b /etc/DIR_COLORS)
alias ls='ls --color=auto'
alias grep='grep --colour=auto'
REPO=/data/scratch/simone/repo
# default environment
PATH=/bin:/usr/bin
LD_LIBRARY_PATH=
INFOPATH=
MANPATH=
PKG_CONFIG_PATH=
PYTHONPATH=
source /etc/profile.d/sge-binaries.sh
setpkg()
{
echo "Setting $1-$2 ..."
pkgdir=$REPO/opt/$1-$2
if [ ! -d "$pkgdir" ]; then
echo "!!! Package not found"
return
fi
source $pkgdir/setenv
}
#setpkg diffutils 3.3
#setpkg bc 1.06
setpkg gmp 5.1.2
setpkg mpfr 3.1.2
setpkg libmpc 1.0.1
setpkg isl 0.11.2
setpkg cloog 0.18.0
setpkg gcc 4.8.1
setpkg make 3.82
setpkg tar 1.26
setpkg m4 1.4.16
setpkg zlib 1.2.8
setpkg libffi 3.0.13
setpkg pkg-config 0.28
setpkg gawk 4.1.0
setpkg autoconf 2.69
setpkg automake 1.14
setpkg libtool 2.4.2
setpkg ncurses 5.9
setpkg readline 6.2
setpkg texinfo 5.1
setpkg binutils 2.23.2
setpkg bzip2 1.0.6
setpkg expat 2.1.0
setpkg gdbm 1.10
setpkg tcl 8.6.0
setpkg tk 8.6.0
setpkg sqlite 3.7.17
setpkg python 2.7.5
setpkg valgrind 3.8.1
setpkg openmpi 1.6.5
setpkg icu 51.2
setpkg boost 1.54.0
setpkg atlas 3.10.1
setpkg xz 5.0.5
setpkg lzo2 2.06
setpkg libarchive 3.1.2
setpkg cmake 2.8.11.2
setpkg metis 5.1.0
setpkg parmetis 4.0.3
setpkg suitesparse 4.2.1
setpkg python-distribute 0.6.49
setpkg python-nose 1.3.0
setpkg python-numpy 1.7.1
setpkg python-scipy 0.12.0
setpkg armadillo 3.900.7
setpkg unixodbc 2.3.1
setpkg nasm 2.10.09
setpkg libjpeg-turbo 1.3.0
setpkg libtiff 4.0.3
setpkg libpng 1.6.3
setpkg qt4 4.8.5
setpkg cgal 4.2
setpkg git 1.8.3.4
setpkg hdf5 1.8.11
setpkg scalapack 2.0.2
setpkg netcdf 4.3.0
setpkg scotch 6.0.0
setpkg hypre 2.9.1a
setpkg mumps 4.10.0
setpkg pcre 8.33
setpkg swig 2.0.10
setpkg superlu 4.3
setpkg superlu_dist 3.3
setpkg trilinos 11.4.1
setpkg petsc 3.4.2
setpkg python-ply 3.4
setpkg python-scientificpython 2.9.2
setpkg python-ufl dev
setpkg python-uflacs dev
setpkg python-ffc dev
setpkg python-fiat dev
setpkg python-instant dev
setpkg python-ufc dev
setpkg dolfin dev
export PATH=${PATH%:}
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%:}
export LIBRARY_PATH=${LD_LIBRARY_PATH}
export CPATH=
export INCLUDE=
export INFOPATH=${INFOPATH%:}
export MANPATH=${MANPATH%:}
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH%:}
export PYTHONPATH=${PYTHONPATH%:}
export LC_ALL="C"
export LANG="C"