Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Docker and various updates to functions #65

Merged
merged 245 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
245 commits
Select commit Hold shift + click to select a range
84931db
rebase branch
vmmhep Dec 6, 2022
d2519cb
rebase branches
vmmhep Dec 6, 2022
d7446c3
added docstring for GeometryIndex
vmmhep Dec 6, 2022
561b220
Updated Dockerfile with new repo location
vmmhep Dec 7, 2022
c277c1f
Docker instructions updated
vmmhep Dec 7, 2022
1d8b946
fixed conventions
vmmhep Dec 19, 2022
420b90e
tree testing notebook
vmmhep Dec 19, 2022
c565dad
new naming convention for GeometryIndex
vmmhep Dec 19, 2022
9522084
Adding tree structure
vmmhep Dec 19, 2022
7e8bebf
Added minima tree struct and relevant functions from discourse post
vmmhep Dec 19, 2022
e4f8f96
Added SparseArrays and tree packages
vmmhep Dec 22, 2022
1b9fe0b
New notebook for tree structure testing
vmmhep Dec 22, 2022
e92c620
further improvements to omega function
vmmhep Dec 22, 2022
a9bc555
ProjectedQ now sparse arrays
vmmhep Dec 22, 2022
ed25d59
testing omega functions
vmmhep Dec 29, 2022
96182cd
continued tree structure testing
vmmhep Dec 29, 2022
4f2a798
added norm2 and norm2minus1 functions
vmmhep Dec 29, 2022
fe6c0bc
amended templated tree structure
vmmhep Dec 29, 2022
ad07646
profile LQtilde, \alphamatrix and omega functions
vmmhep Jan 4, 2023
72e003d
Fixed pq_spectrum, added pq_spectra_generator
vmmhep Jan 4, 2023
6a7fad0
removed conflicting functions
vmmhep Jan 4, 2023
12664ca
added ωnorm2_estimate to qshape
vmmhep Jan 4, 2023
c1fdd81
added AxionSpectrum and IndexedAxionSpectrum
vmmhep Jan 4, 2023
fb1424e
Continuation of tree structure testing
vmmhep Jan 4, 2023
7d6b15d
added ωnorm2_estimate
vmmhep Jan 4, 2023
0e7d132
generate database with 1000 geoms per h11
vmmhep Mar 1, 2023
67d59a3
fixed typos
vmmhep Mar 1, 2023
708a084
added fair triangulations option
vmmhep Mar 1, 2023
457c54d
fair random triangulations option added
vmmhep Mar 1, 2023
44a0128
generate new database for vacua project
vmmhep Mar 7, 2023
3ba99df
new flag for CYTools detection
vmmhep Mar 7, 2023
727ebbb
vacua_0323 database added
vmmhep Mar 7, 2023
262243a
fixed \alphamatrix outside for loop
vmmhep Mar 7, 2023
abe1820
added α-masks to CanonicalQBasis
vmmhep Mar 7, 2023
e96d689
added α-masks to αmatrix
vmmhep Mar 7, 2023
87334c0
corrected h11_end in script
vmmhep Mar 7, 2023
2ea93dc
generalisation of initial h11 for parallel computing
vmmhep Mar 8, 2023
4ca88b4
new struct for alpha matrix
vmmhep Mar 8, 2023
f7582e4
Canonicalα struct added for αmatrix
vmmhep Mar 8, 2023
ee972eb
added missing h11 geometry generator script
vmmhep Mar 9, 2023
18cc7f1
added function to generate h11list_missing
vmmhep Mar 10, 2023
a9b83a5
added `id_minimize` function
vmmhep Apr 3, 2023
4ed9a5c
fixed typos, increased number of polytopes fetched
vmmhep Apr 3, 2023
305fd15
fixed split to output N triangulations
vmmhep Apr 3, 2023
7d76224
fixed split to output N triangulations
vmmhep Apr 3, 2023
08679e4
added nlsolve and normalforms packages
vmmhep Apr 3, 2023
092965e
minor fixes
vmmhep Apr 3, 2023
96d2423
added functions for JOB_ARRAYs
vmmhep Apr 3, 2023
2c654d9
added struct for effective potential
vmmhep Apr 3, 2023
a03ebf3
Changed `potential` to `V`
vmmhep Apr 3, 2023
5ef544c
Added ode solver and interval root finder
vmmhep May 4, 2023
491cfbc
fixed h11list to include all h11s available in KS
vmmhep May 4, 2023
ee41a09
fixed '===' for 'nothing'
vmmhep May 4, 2023
23d07ca
added staticarrays and interval packages
vmmhep May 4, 2023
316b334
fixed id_minimize but still WIP
vmmhep May 4, 2023
f39d3e2
fixed sign of charge matrix
vmmhep May 11, 2023
bbef736
jlm minimize functions added
vmmhep Jun 7, 2023
4be4641
conda and pkg added to CYAxiverse
vmmhep Jun 7, 2023
033bf67
jlm python functions for optimization
vmmhep Jun 7, 2023
fa8c69a
don't sync JLM's files
vmmhep Jun 7, 2023
5c09522
minimize at h11=491
vmmhep Jun 7, 2023
9889134
minimise geoms in KS database
vmmhep Jun 7, 2023
39a8acb
plotting functions for vacua
vmmhep Jun 7, 2023
e90a626
reorder file calls
vmmhep Jun 7, 2023
f6c0734
added count_geoms
vmmhep Jun 7, 2023
adccee2
initialise python in singularity container
vmmhep Jun 7, 2023
1bd2cd1
fixed multiple dispatch subspace minimize function
vmmhep Jun 7, 2023
1e57566
plot functions for vacua and total_geoms
vmmhep Jun 7, 2023
2855113
read vacua files
vmmhep Jun 7, 2023
76350f8
new solver structs
vmmhep Jun 7, 2023
5f19d87
include h11 = 1, 2, 3 in database
vmmhep Jun 7, 2023
b3bed2c
fixed θparalleltest
vmmhep Jun 7, 2023
995732e
fixed typo in output
vmmhep Jun 20, 2023
8150064
box_plot test
vmmhep Jun 20, 2023
8a439c0
require type(det_Q_tilde) <: Int
vmmhep Jun 20, 2023
f148928
add box_plot function for vacua_jlm_db
vmmhep Jun 20, 2023
2ece89d
fetch enough polytopes for favourable in fair func
vmmhep Jun 22, 2023
2c73d3a
fixed jlm_vacua_db funcs (added kwargs)
vmmhep Jun 22, 2023
6429eb4
updated main_Qshape -- still WIP
vmmhep Jun 22, 2023
8a27ace
include jlm_minimizer, fixed module loading order
vmmhep Jun 22, 2023
b826168
moved jlm_* funcs to jlm_minmizer
vmmhep Jun 22, 2023
74148dd
moved jlm_minimize funcs to jlm_minimizer.jl
vmmhep Jun 22, 2023
887e074
corrected size of plot outputs
vmmhep Jun 22, 2023
09c687c
added cytools_version func
vmmhep Jun 22, 2023
e116ae1
breaking change in CYTools v0.8.0 workaround
vmmhep Jun 22, 2023
e4779dc
removed solver_1D solver_ND
vmmhep Jun 22, 2023
17d3788
loads init_python always
vmmhep Jun 22, 2023
6705375
checks PYTHONPATH is set
vmmhep Jun 22, 2023
141ddda
moved python check to init_python.jl
vmmhep Jun 22, 2023
67b4247
Updated for CYTools-v1.0.4
vmmhep Jun 23, 2023
16a7a98
added git and julia installations
vmmhep Jun 23, 2023
1ecc29b
error fixed, typos corrected
vmmhep Jun 23, 2023
d9ccc8b
added ColorSchemes.jl
vmmhep Jul 5, 2023
5bf8ce2
jlm_minimize functions moved to module
vmmhep Jul 5, 2023
0e119c3
parallelized
vmmhep Jul 5, 2023
3acf3af
vacua.jl -> vacua_with_phases.jl
vmmhep Jul 5, 2023
388786c
improved jlm_vacua_db
vmmhep Jul 5, 2023
9ed1224
added random phases
vmmhep Jul 5, 2023
e1830ab
fixed box plotting functions
vmmhep Jul 5, 2023
e76c412
fixed test run
vmmhep Jul 5, 2023
5534178
fixed pmap test run
vmmhep Jul 5, 2023
b0c5c25
fixed missing geoms list
vmmhep Jul 5, 2023
b8b5c6a
removed missing geoms
vmmhep Jul 5, 2023
eae48a3
find geoms with large vacua
vmmhep Jul 5, 2023
1d897ce
generate missing geometries
vmmhep Jul 5, 2023
cbbb982
fair/fast switch
vmmhep Jul 5, 2023
6483f03
fix typos
vmmhep Jul 5, 2023
af67cf1
added Distributions.jl
vmmhep Jul 5, 2023
77041c1
amended sizes of boxplot
vmmhep Jul 5, 2023
42f5b6f
added missing functions from filestructure module
vmmhep Jul 6, 2023
c069d8f
increased boxplot size
vmmhep Jul 6, 2023
d570497
combined boxplot functions
vmmhep Jul 7, 2023
2fe6fad
still 333 geoms returning 0 vacua
vmmhep Jul 7, 2023
675936d
Initialise python first
vmmhep Jul 7, 2023
6ffdd68
add 0 to no_vac such that dimensions match
vmmhep Jul 7, 2023
8a80ace
fixed PyCall
vmmhep Jul 7, 2023
a4d8cd1
added ylims
vmmhep Jul 8, 2023
ef0d6d7
differentiate missing minfile vs Nvac=0 errors
vmmhep Jul 8, 2023
9d85b17
CYTools uses python3
vmmhep Jul 8, 2023
4140bfc
amended to use occursin
vmmhep Jul 8, 2023
ad41e46
added nsteps to boxplot colorbar
vmmhep Jul 9, 2023
44bf4f9
assert Int on err_vacua
vmmhep Jul 9, 2023
0ba1d85
fixed cy_from_poly
vmmhep Jul 19, 2023
7e1809b
minimizers return detQTilde
vmmhep Jul 19, 2023
70defc2
return detQTilde and save
vmmhep Jul 19, 2023
796aeb5
add detQTilde to minfile
vmmhep Jul 19, 2023
34778e7
collect vacua database for Axiverse Vacua project
vmmhep Jul 19, 2023
6f423df
generate small h11 geometries
vmmhep Jul 19, 2023
50fcab1
testing functions for database walking
vmmhep Jul 19, 2023
18c9682
change port number to allow simultaneous notebooks
vmmhep Jul 19, 2023
aeb762a
correction to docker db in dict
vmmhep Jul 19, 2023
aa71803
fix vacua_db to include detQTilde
vmmhep Jul 19, 2023
ec52fa3
added Min_JLM_Square struct
vmmhep Jul 19, 2023
5612509
more boxplot options added to function
vmmhep Jul 19, 2023
9ec77f6
added Min_JLM_Square struct to include det_QTilde
vmmhep Jul 19, 2023
c3a2ec3
added det_QTilde to min structs
vmmhep Jul 19, 2023
409daf4
added rational_Q kwarg to geometries_generate
vmmhep Jul 19, 2023
a0a8b69
fixed key to match Min_JLM_Square struct
vmmhep Jul 19, 2023
dbc53b0
added Cone
vmmhep Jul 19, 2023
9aab2de
fixed cone function (typo)
vmmhep Jul 19, 2023
659286d
fixed rays input in cone
vmmhep Jul 19, 2023
a19415b
typos fixed?
vmmhep Jul 19, 2023
845b221
added basis_SNF for checking if FD is unit cube
vmmhep Jul 19, 2023
545ba29
included BasisSNF type
vmmhep Jul 19, 2023
bb6f14d
added BasisSNF type
vmmhep Jul 19, 2023
fb095e8
added Min_JLM_Square struct to jlm_vacua_db
vmmhep Jul 20, 2023
5f71e8b
potential struct fixed
vmmhep Jul 20, 2023
595acd4
fixed
vmmhep Jul 20, 2023
399ef2e
added hilbert script
vmmhep Jul 20, 2023
83ba108
added hilbert_basis and save functions
vmmhep Jul 20, 2023
588e88c
minimise small geometries
vmmhep Jul 20, 2023
c624fc0
fixed for singularity run
vmmhep Jul 20, 2023
f631ec6
fixed for run
vmmhep Jul 20, 2023
cd05126
fixed comparison
vmmhep Jul 20, 2023
5082326
fixed hilbert_save
vmmhep Jul 20, 2023
96d4d12
fixed hilbert_save to include geom_idx
vmmhep Jul 20, 2023
a4730df
added GeometryIndex
vmmhep Jul 20, 2023
a6d670c
hilbert_save amended
vmmhep Jul 20, 2023
dc8ff79
fixed for large run
vmmhep Jul 20, 2023
aa798b1
removed np --> size(workers())
vmmhep Jul 20, 2023
9ea22f1
added hilbert_basis
vmmhep Jul 20, 2023
8587934
reproduced from top_geom.jl
vmmhep Jul 20, 2023
642ac11
typos corrected
vmmhep Jul 20, 2023
f01660f
skip existing files
vmmhep Jul 21, 2023
dbe9c79
testing for 491
vmmhep Jul 22, 2023
59c574e
fixed script (?)
vmmhep Jul 22, 2023
9767bcd
using HDF5 added
vmmhep Jul 22, 2023
cf6a597
full scan
vmmhep Jul 22, 2023
9753dff
script to compare qprime with glsm
vmmhep Jul 26, 2023
38f20db
use GeometryIndex as input to read CYTools outputs
vmmhep Jul 26, 2023
93365c5
typo fixed
vmmhep Jul 27, 2023
dcca135
glsm_charges saved as transpose -- typo fixed
vmmhep Jul 27, 2023
3c8f1f6
fixed script for run (cols vs rows)
vmmhep Aug 2, 2023
b2c9048
added TopologicalData and GeometricData structs
vmmhep Aug 2, 2023
b4f53d2
new structs for reading topological/geometric data
vmmhep Aug 2, 2023
409b01b
include hilbert basis in GeometricData
vmmhep Aug 2, 2023
ad932f7
read in hilbert_basis with GeometricData
vmmhep Aug 2, 2023
c662dff
missing end added
vmmhep Aug 2, 2023
f72c118
fixed cy_from_poly to include new structs
vmmhep Aug 2, 2023
b65ffd1
fixed typos
vmmhep Aug 2, 2023
c43525a
add single cy_from_poly function
vmmhep Aug 2, 2023
80380e4
use GeometryIndex for cy_from_poly
vmmhep Aug 2, 2023
b6e3379
typos fixed for consistency
vmmhep Aug 2, 2023
c7d4cf1
added geometries_hilbert for saving new geoms
vmmhep Aug 2, 2023
8102679
fixed typos for geometries dict -> struct
vmmhep Aug 2, 2023
c010d0e
added despatch: αmatrix(Q, L; threshold)
vmmhep Aug 3, 2023
a120e3e
added despatch:
vmmhep Aug 3, 2023
c9d7bea
h11 defined incorrectly in LQtilde
vmmhep Aug 3, 2023
fdb2c87
fixed major error with LQtilde
vmmhep Aug 3, 2023
a3904cd
PTD_volumes -> τ_volumes
vmmhep Aug 3, 2023
7c44654
script generates hilbert_basis for geometries
vmmhep Aug 3, 2023
3897f6b
np -> nworkers()
vmmhep Aug 3, 2023
4365a99
included hilbert kwarg for reading data
vmmhep Aug 3, 2023
3c21ce6
fixed typo
vmmhep Aug 3, 2023
9844340
fixed multiple declarations of variables
vmmhep Aug 3, 2023
7628c7b
hilbert_minima script
vmmhep Aug 3, 2023
0b77e72
run hilbert test on geoms with h11 <= 55
vmmhep Aug 3, 2023
fb4b376
testing corrected
vmmhep Aug 3, 2023
7d672da
l -> lfile typo corrected
vmmhep Aug 4, 2023
ca2b09e
run on all geoms up to h11 = 53
vmmhep Aug 4, 2023
3b6e957
geometries_hilbert now overwrites quantities
vmmhep Aug 4, 2023
4e2e71a
geometries_hilbert fix replaces data if keys exist
vmmhep Aug 9, 2023
213faf2
hdf5 overwrite data requires delete_object
vmmhep Aug 9, 2023
f640ff8
replace potential data that previously zeroed
vmmhep Aug 9, 2023
78d6ea5
amended correct file this time (see last push)
vmmhep Aug 9, 2023
0809b3e
show details of comparisons when difference found
vmmhep Aug 10, 2023
10f9139
include hilbert option in vacua_jlm
vmmhep Aug 10, 2023
14ecbab
added hilbert option to LQtilde and αmatrix
vmmhep Aug 10, 2023
fbf9c0a
added hilbert option to minimize / minimize_save
vmmhep Aug 10, 2023
f9269e4
save minima with hilbert basis up to h11=53
vmmhep Aug 10, 2023
66331b7
missing end added
vmmhep Aug 10, 2023
81a4779
missing end added
vmmhep Aug 10, 2023
7d52c0b
specify HDF5.delete_object
vmmhep Aug 22, 2023
8a6af75
check existence of each key of minima file
vmmhep Aug 22, 2023
1a7e424
adds random phase fn for geometries
vmmhep Aug 22, 2023
b54791b
add try catch for main
vmmhep Aug 22, 2023
0b76858
add detQtilde to vacua_jlm collect
vmmhep Aug 22, 2023
231de0d
added single axis heatmap function
vmmhep Aug 22, 2023
0cac0d5
testing files for rewriting python code in julia
vmmhep Oct 3, 2023
badd85e
include testing files in main package file
vmmhep Oct 3, 2023
4e78938
added std_dev for h11=491
vmmhep Oct 10, 2023
0c1afa2
added newARGS = pwd
vmmhep Oct 10, 2023
a609422
running for h11=491
vmmhep Oct 10, 2023
eb38b5e
wip hp_spectrum and pq_spectrum
vmmhep Oct 10, 2023
0b49faf
random_phases -> true
vmmhep Oct 10, 2023
0b334b3
added self-interactions notebook for testing
vmmhep Oct 10, 2023
d71a7fd
optimiser with phases file
vmmhep Oct 10, 2023
5be1626
optimise all geometries with random_phase=true
vmmhep Oct 12, 2023
0ca3a78
optimise all geometries with random_phase=true
vmmhep Oct 12, 2023
b811576
floor -> round
vmmhep Oct 12, 2023
150bc7f
updated notebook wip
vmmhep Oct 12, 2023
812323b
Generate QRCodes
vmmhep Jan 30, 2024
3bc78c5
testing Cholesky method for quartics
vmmhep Jan 30, 2024
16162f2
continue from end point
vmmhep Jan 30, 2024
4754e78
added continue from endpoint command
vmmhep Jan 30, 2024
e47016c
testing cholesky method for quartics / hessian
vmmhep Jan 30, 2024
798c77f
removed Qlt output from pq_spectrum
vmmhep Feb 7, 2024
6430d76
removed print from pq_spectrum
vmmhep Feb 7, 2024
3e81952
Update Dockerfile
vmmhep Feb 28, 2024
529e7a6
add apple files
vmmhep Jun 28, 2024
3224d49
fixed to work
vmmhep Jun 28, 2024
f1efba9
fixed versions in [compat]
vmmhep Jun 28, 2024
d02f954
SINGULARITY CONTAINER -> PYTHON
vmmhep Jun 28, 2024
3523a93
fixed base.convert for Nemo -> Julia
vmmhep Jun 28, 2024
9e7609a
PyCall.current_python() -> PyCall.python()
vmmhep Jun 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/Manifest.toml
.vscode/settings.json
src/clipboard.jl
jlm_python/multi_solver_phase_fraction.py
jlm_python/one_dim_phase_fraction.py
.DS_Store
44 changes: 30 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN apt-get -yqq install autoconf build-essential nano cmake libgmp-dev libcgal-dev\
libmpc-dev libsuitesparse-dev libppl-dev libeigen3-dev\
libc6 libcdd0d libgmp10 libgmpxx4ldbl libstdc++6 palp\
libflint-dev libflint-arb-dev python3 python3-pip\
wget libmath-libm-perl python3-venv normaliz git
libflint-dev libflint-arb-dev python3 python3-pip curl\
wget libmath-libm-perl python3-venv normaliz libqsopt-ex2 git

# Make a soft link to the arb library and flint headers so that python-flint can install
RUN ln -s /usr/lib/${AARCH}-linux-gnu/libflint-arb.so /usr/lib/${AARCH}-linux-gnu/libarb.so
Expand All @@ -30,27 +30,35 @@ RUN groupadd -r -g $USERID $USERNAME && useradd -r -s /bin/bash -u $USERID -g $U
|| echo "Skipping user creation"
USER $USERNAME

# Install Rust since there are some Python packages that now depend on it
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/home/${USERNAME}/.cargo/bin:${PATH}"

# Create python virtual environment for non-root user
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

# Install julia
WORKDIR /opt/cytools/
RUN wget https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.1-linux-x86_64.tar.gz
RUN tar xf julia-1.7.1-linux-x86_64.tar.gz
ENV PATH="$PWD/julia-1.7.1/bin:$PATH"
RUN ln -s $PWD/julia-1.7.1/bin/julia $VIRTUAL_ENV/bin/julia
RUN rm julia-1.7.1-linux-x86_64.tar.gz

RUN wget https://julialang-s3.julialang.org/bin/linux/x64/1.8/julia-1.8.4-linux-x86_64.tar.gz
RUN tar xf julia-1.8.4-linux-x86_64.tar.gz
ENV PATH="$PWD/julia-1.8.4/bin:$PATH"
RUN ln -s $PWD/julia-1.8.4/bin/julia $VIRTUAL_ENV/bin/julia
RUN rm julia-1.8.4-linux-x86_64.tar.gz
# RUN wget https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.1-linux-x86_64.tar.gz
# RUN tar xf julia-1.7.1-linux-x86_64.tar.gz
# ENV PATH="$PWD/julia-1.7.1/bin:$PATH"
# RUN ln -s $PWD/julia-1.7.1/bin/julia $VIRTUAL_ENV/bin/julia
# RUN rm julia-1.7.1-linux-x86_64.tar.gz

# Install pip packages
# Install pip packages
ENV CVXOPT_SUITESPARSE_INC_DIR=/usr/include/suitesparse
RUN pip3 install --upgrade pip
RUN pip3 install pip==21.0.1
RUN pip3 install numpy scipy jupyterlab cvxopt gekko pymongo ortools tqdm cython qpsolvers osqp
RUN pip3 install python-flint matplotlib h5py
RUN pip3 install scikit-sparse cysignals gmpy2==2.1.0a4
RUN pip3 install scikit-sparse cysignals gmpy2
RUN pip3 install pplpy
RUN pip3 install julia
RUN pip3 install -f https://download.mosek.com/stable/wheel/index.html Mosek
ENV MOSEKLM_LICENSE_FILE=/home/$USERNAME/mounted_volume/mosek/mosek.lic

Expand All @@ -60,8 +68,15 @@ RUN sed -i -e 's/mosek.solsta.near_optimal/ /g' $VIRTUAL_ENV/lib/python3.9/site-

# Install TOPCOM
WORKDIR /opt/cytools/external/topcom-mod
RUN wget https://github.com/LiamMcAllisterGroup/topcom/releases/download/v0.17.8%2Bds-2%2Bcytools-1/topcom_0.17.8+ds-2+cytools-1_${ARCH}.deb
RUN dpkg -i topcom_0.17.8+ds-2+cytools-1_${ARCH}.deb
RUN wget https://github.com/LiamMcAllisterGroup/topcom/releases/download/v1.1.2%2Bds-1%2Bcytools-1/topcom_1.1.2+ds-1+cytools-1_${ARCH}.deb
RUN wget https://github.com/LiamMcAllisterGroup/topcom/releases/download/v1.1.2%2Bds-1%2Bcytools-1/libtopcom0_1.1.2+ds-1+cytools-1_${ARCH}.deb
RUN wget https://github.com/LiamMcAllisterGroup/topcom/releases/download/v1.1.2%2Bds-1%2Bcytools-1/libtopcom-dev_1.1.2+ds-1+cytools-1_${ARCH}.deb
RUN dpkg -i topcom_1.1.2+ds-1+cytools-1_${ARCH}.deb
RUN dpkg -i libtopcom0_1.1.2+ds-1+cytools-1_${ARCH}.deb
RUN dpkg -i libtopcom-dev_1.1.2+ds-1+cytools-1_${ARCH}.deb

# Download file from github to keep track of the number of downloads
RUN wget https://github.com/LiamMcAllisterGroup/cytools/releases/download/v1.0.0/download_counter.txt

# Copy code and installer
COPY . /opt/cytools/
Expand All @@ -70,7 +85,7 @@ RUN python3 setup.py install

# Copy CYAxiverse.jl package
WORKDIR /opt/
RUN git clone -b dev https://github.com/vmmhep/CYAxiverse.jl.git
RUN git clone -b vmm https://github.com/Julia-meets-String-Theory/CYAxiverse.jl.git
WORKDIR /opt/CYAxiverse.jl/
ENV PYTHON="$VIRTUAL_ENV/bin/python3"
RUN julia --project="/opt/CYAxiverse.jl/" add_CYAxiverse.jl
Expand Down Expand Up @@ -103,6 +118,7 @@ WORKDIR /home/$USERNAME/mounted_volume

# Start jupyter lab by default
USER $USERNAME

ENV JULIA_REVISE_POLL=1
EXPOSE 8996
ENV newARGS="docker"
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,24 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License

Copyright (c) 2022 vmmhep

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
32 changes: 32 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ ArbNumerics = "7e558dbc-694d-5a72-987c-6f4ebed21442"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
ClusterManagers = "34f1f09b-3a8b-5176-ab39-66d58a4d544e"
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Expand All @@ -19,30 +22,59 @@ DrWatson = "634d3b9d-ee7a-5ddf-bec9-22491ea816e1"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
GenericLinearAlgebra = "14197337-ba66-59df-a3e3-ca00e7dcff7a"
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
IntervalArithmetic = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"
IntervalRootFinding = "d2bf35a9-74e0-55ec-b149-d360ff49b807"
LeftChildRightSiblingTrees = "1d6d02ad-be62-4b6b-8a6d-2f90e265016e"
LineSearches = "d3d80556-e9d4-5f37-9878-2ab0fcc64255"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890"
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
MPIClusterManagers = "e7922434-ae4b-11e9-05c5-9780451d2c66"
MPIPreferences = "3da0fdf6-3ccc-4f1b-acd9-58baa6c99267"
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
Nemo = "2edaba10-b0f1-5616-af89-8c11ac63239a"
NormalForms = "109d20d8-9763-411c-9b60-7eb2a068657f"
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8"
ProfileSVG = "132c30aa-f267-4189-9183-c8a63c7e05e6"
ProgressLogging = "33c8b6b6-d38a-422a-b730-caa89a2f386c"
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
QRCoders = "f42e9828-16f3-11ed-2883-9126170b272d"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665"
SharedArrays = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
Tullio = "bc48ee85-29a4-5162-ae0b-a64e1601d4bc"

[compat]
julia = "1.7"
AbstractTrees = "=0.4.3"
ArbNumerics = "=1.3.3"
BenchmarkTools = "=1.3.2"
CairoMakie = "=0.10.0"
ClusterManagers = "=0.4.3"
ColorSchemes = "=3.20.0"
Conda = "=1.7.0"
DifferentialEquations = "=7.7.0"
Distributions = "=0.25.60"
Documenter = "=0.27.20"
DrWatson = "=2.12.0"
ForwardDiff = "=0.10.32"
GenericLinearAlgebra = "=0.3.3"
HDF5 = "=0.16.11"
IntervalArithmetic = "=0.20.7"
LoopVectorization = "=0.12.140"
MPI = "=0.20.0"
Nemo = "=0.32.0"
NormalForms = "=0.1.0"
Optim = "=1.7.0"
Roots = "=2.0.0"
Tullio = "=0.3.4"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
Loading
Loading