This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update setup-Linux-debian-10.sh (#1069)
* fix make install causes pyhton validation error fix #1056 * fix missing when using --parallel option #1044 * update python3.9.6 and necessary packages * update mono installation * fix numpy and matrix version not the latest version issue. #1045 * repair test_matrix_random,#assert == '1.22.0' * remove test Dockerfile' * temporary Dockerfile. one validation error : ERROR [2000-01-01 00:00:00 EST] : on_exit 0 'test == CURRENT' command failed (return code 2) * fix test_violation_record.glm. sh: 1: test: CURRENT: unexpected operatordone)...; I should try on centos to check if this test valid * update * add test Dockerfile * add temporary test Dockerfile for debian * updat python3.9.6 installation * update build toos for gridlabd * try the final test * update installation dependencies * remove merge confic * add test Dockerfile of debian 10 * final test and validation pass. remove Dockerfile * Remove deltamode failure tests * Remove more unneeded deltamode error tests Co-authored-by: JimmyLeu76 <jimmyleu@slac.stanford.edu> Co-authored-by: David P. Chassin <david.chassin@me.com>
- Loading branch information
1 parent
e860c93
commit 64953eb
Showing
22 changed files
with
95 additions
and
39,509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
FROM centos:8 | ||
# Install needed system tools | ||
# RUN yum clean all | ||
# RUN yum groupinstall "Development Tools" -y | ||
# RUN yum install cmake -y | ||
# RUN yum install ncurses-devel -y | ||
# RUN yum install epel-release -y | ||
# RUN yum install curl-devel -y | ||
# RUN yum install which -y | ||
# RUN yum install svn -y | ||
|
||
|
||
|
||
|
||
|
||
# RUN yum install 'dnf-command(config-manager)' -y | ||
|
||
# #RUN yum config-manager --set-enabled PowerTools # error | ||
# #RUN yum install armadillo-devel -y #error | ||
|
||
# # change directory | ||
# WORKDIR "/usr/local/src" | ||
# RUN yum install gcc openssl-devel bzip2-devel libffi-devel zlib-devel xz-devel -y | ||
|
||
# # Install python 3.9.6 | ||
# RUN curl https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz > Python-3.9.6.tgz | ||
# RUN tar xzf Python-3.9.6.tgz | ||
# WORKDIR "/usr/local/src/Python-3.9.6" | ||
# RUN ./configure --prefix=/usr/local --enable-optimizations --with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions CFLAGS="-fPIC" | ||
# RUN make -j 10 | ||
# RUN make altinstall | ||
# RUN /sbin/ldconfig /usr/local/lib | ||
# RUN ln -sf /usr/local/bin/python3.9 /usr/local/bin/python3 | ||
# RUN ln -sf /usr/local/bin/python3.9-config /usr/local/bin/python3-config | ||
# RUN ln -sf /usr/local/bin/pydoc3.9 /usr/local/bin/pydoc | ||
# RUN ln -sf /usr/local/bin/idle3.9 /usr/local/bin/idle | ||
# RUN ln -sf /usr/local/bin/pip3.9 /usr/local/bin/pip3 | ||
# RUN pip3 install --upgrade pip | ||
|
||
# RUN /usr/local/bin/python3 -m pip install matplotlib Pillow pandas numpy networkx pytz pysolar PyGithub scikit-learn xlrd boto3 | ||
# RUN /usr/local/bin/python3 -m pip install IPython censusdata | ||
# # mac m1 | ||
# RUN /usr/local/bin/python3 -m pip install shapely | ||
# WORKDIR /usr/local/src | ||
# RUN rm -f Python-3.9.6.tgz | ||
|
||
# RUN export PYTHONPATH="." | ||
# RUN export PATH=/usr/local/bin:$PATH | ||
# RUN export MAKEFLAGS=-j20 | ||
# RUN export PYTHONSETUPFLAGS="-j 20" | ||
# clone gridlabd | ||
WORKDIR /usr/local/src | ||
RUN git clone -b develop-fix-debian10-setup https://github.com/slacgismo/gridlabd | ||
|
||
WORKDIR "/usr/local/src/gridlabd" | ||
# COPY ./module/powerflow/autotest/test_violation_record.glm ./module/powerflow/autotest/test_violation_record.glm | ||
RUN autoreconf -isf && ./configure | ||
RUN make -j6 system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.