-
Notifications
You must be signed in to change notification settings - Fork 1
/
libs.bash
219 lines (172 loc) · 4.95 KB
/
libs.bash
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
msg_install -message "Installing all libraries..."
# Basic libraries
source_pack libs/zlib.bash
source_pack libs/szip.bash
source_pack libs/expat.bash
source_pack libs/libffi.bash
source_pack libs/libxml2.bash
source_pack libs/openlibm.bash
source_pack libs/flint.bash
source_pack libs/arb.bash
source_pack libs/hwloc.bash
# Basic parallel libraries
#source_pack libs/pmix.bash
source_pack libs/knem.bash
source_pack libs/ucx.bash
source_pack libs/openmpi.bash
source_pack libs/mpich.bash
source_pack libs/mvapich.bash
# Set the default MPI version
if $(is_c intel) ; then
# The current implementation does not abstract the
# mpi differences
pack_set -alias mpi openmpi
else
pack_set -alias mpi $_mpi_version
fi
source_pack libs/osu-benchmarks.bash
source_pack libs/mpi-benchmarks.bash
# Optimization of openmpi parameters
source_pack libs/adcl.bash
source_pack libs/otpo.bash
#source_pack libs/netpipe.bash
source_pack libs/upcxx.bash
source_pack libs/opencoarray.bash
# Default fftw libs
source_pack libs/fftw2.bash
source_pack libs/fftw2-intel.bash
source_pack libs/fftw-intel.bash
source_pack libs/fftw.bash
source_pack libs/nfft.bash
# ONETEPs multigrid Poisson solver
source_pack libs/dl_mg.bash
# Currently aotus is compiled together with flook
source_pack libs/flook.bash
# Install my fortran dictionary library
source_pack libs/fdict.bash
# Default packages for many libs
source_pack libs/lapack.bash
source_pack libs/scalapack.bash
source_pack libs/scalapack-debug.bash
source_pack libs/spike.bash
source_pack libs/blis.bash
source_pack libs/atlas.bash
source_pack libs/openblas.bash
source_pack libs/libxsmm.bash
source_pack libs/flame.bash
source_pack libs/plasma.bash
source_pack libs/arpack.bash
source_pack libs/arpack-ng.bash
source_pack libs/parpack.bash
source_pack libs/qhull.bash
source_pack libs/elpa.bash
source_pack libs/elpa-debug.bash
source_pack libs/eigenexa.bash
source_pack libs/globalarrays.bash
source_pack libs/eigen.bash
# nearest neighbour search
source_pack libs/nanoflann.bash
# Some specific libraries
source_pack libs/glpk.bash
source_pack libs/gsl.bash
source_pack libs/boost.bash
source_pack libs/ctl.bash
source_pack libs/harminv.bash
# Requires BOOST:
source_pack libs/blaze.bash
source_pack libs/zeep.bash
source_pack libs/xssp.bash
source_pack libs/libint1.bash
source_pack libs/libint.bash
source_pack libs/openexr.bash
# For symbolic stuff
source_pack libs/symengine.bash
# Install generic libraries
source_pack libs/hdf5.bash
source_pack libs/hdf5-serial.bash
source_pack libs/hdf5-serial-noszip.bash
source_pack libs/h5utils-serial.bash
source_pack libs/pnetcdf.bash
source_pack libs/netcdf.bash
source_pack libs/netcdf-logging.bash
source_pack libs/netcdf-serial.bash
source_pack libs/netcdf-serial-noszip.bash
source_pack libs/pio.bash
source_pack libs/openimageio.bash
# Install my ncdf library
source_pack libs/ncdf.bash
source_pack libs/udunits.bash
source_pack libs/nco.bash
source_pack libs/spglib.bash
# sorting algorithms for matrices
source_pack libs/metis.bash
source_pack libs/metis-par-3.bash
source_pack libs/parmetis.bash
source_pack libs/scotch.bash
source_pack libs/seacas.bash
source_pack libs/geos.bash
source_pack libs/cgal.bash
source_pack libs/amgcl.bash
source_pack libs/sfcgal.bash
# A sparse matrix library
#source libs/suitesparse_separate.bash
source_pack libs/suitesparse.bash
source_pack libs/mumps-serial.bash
source_pack libs/mumps.bash
source_pack libs/superlu.bash
source_pack libs/superlu-dist.bash
source_pack libs/hypre.bash
source_pack libs/proj.bash
source_pack libs/gdal.bash
source_pack libs/petsc.bash
source_pack libs/slepc.bash
source_pack libs/p4est.bash
source_pack libs/dealii.bash
# PEXSI
source_pack libs/sympack.bash
source_pack libs/pexsi.bash
# Libraries for DFT
source_pack libs/xmlf90.bash
source_pack libs/libxc.bash
source_pack libs/psml.bash
source_pack libs/pspio.bash
source_pack libs/gridxc.bash
source_pack libs/etsf_io.bash
source_pack libs/atompaw.bash
# We install the module scripts here:
create_module \
-module-path $(build_get -module-path)-apps \
-n mpi.zlib.hdf5.netcdf \
-W "Script for: $(get_c)" \
-v $(date +'%g-%j') \
-M mpi.zlib.hdf5.netcdf \
-P "/directory/should/not/exist" \
-RL netcdf
# Create a module with default all plotting tools
tmp=
for i in nco h5utils-serial
do
if [[ $(pack_installed $i) -eq $_I_INSTALLED ]]; then
tmp="$tmp $i"
fi
done
if [ ! -z "$tmp" ]; then
create_module \
-module-path $(build_get -module-path)-apps \
-n file-utils \
-W "Script for: $(get_c)" \
-v $(date +'%g-%j') \
-M hdf5.netcdf.utils \
-P "/directory/should/not/exist" \
$(list -prefix '-RL ' $tmp)
fi
for bl in blas atlas openblas blis ; do
create_module \
-module-path $(build_get -module-path)-apps \
-n mpi.$bl.scalapack \
-W "Parallel math script for: $(get_c)" \
-v $(date +'%g-%j') \
-M mpi.$bl.scalapack \
-P "/directory/should/not/exist" \
$(list -prefix '-RL ' $(pack_get -module-requirement mpi) mpi $bl)
done