-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.jl
More file actions
41 lines (36 loc) · 1.14 KB
/
setup.jl
File metadata and controls
41 lines (36 loc) · 1.14 KB
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
using Pkg
PWD = ENV["PWD"]
PROJECT_PATH_KAIEDJ = PWD*"/envs/KEDJ"
ENV["PROJECT_PATH_KAIEDJ"] = PROJECT_PATH_KAIEDJ
Pkg.activate(PROJECT_PATH_KAIEDJ)
ModuleNames = [
"Formatting",
"LinearAlgebra",
"SparseArrays",
"DelimitedFiles",
"FastGaussQuadrature",
"BenchmarkTools",
"Optimization",
"OptimizationOptimJL",
"Optim",
"Arpack",
#"ThreadedSparseCSR",
"SparseMatricesCSR",
"Plots",
"TickTock",
"TimerOutputs",
"FFTW",
"JSON",
"Dierckx",
"ImageFiltering",
"HDF5",
"JLD2",
"DFTforge"
]
nmod = length(ModuleNames)
for (imod, modname) in Iterators.enumerate(ModuleNames )
println( "[$(imod)/$(nmod)] $(modname) ..." )
Pkg.add(modname)
end
#include("scripts/patch_hotfix.jl") # Not required for DFTforge 1.4.2 and higher
Pkg.add(url="https://github.com/KAIST-ELST/ThreadedSparseCSR.jl")