-
Notifications
You must be signed in to change notification settings - Fork 31
Conversation
…d after make install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On docker centos:8 I get the following error: RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
. This means that numpy
is not the correct version. Recommend using numpy>=1.21.4
in requirements.txt
.
After fixing this, I'm still getting errors in validation, e.g.,:
Traceback (most recent call last):test/test_inline_python.glm...
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'gridlabd'
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/autotest/test_inline_python.glm error unexpected, code 5 (simulation failed) in 0.0 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/autotest/test_python_property.glm error unexpected, code 5 (simulation failed) in 0.0 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/autotest/test_template_option.glm error unexpected, code 5 (simulation failed) in 0.5 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/scripts/autotest/test_job.glm error unexpected, code 5 (simulation failed) in 0.8 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/scripts/autotest/test_job_modfile.glm error unexpected, code 5 (simulation failed) in 0.8 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/scripts/autotest/test_matrix.glm error unexpected, code 5 (simulation failed) in 0.5 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/scripts/autotest/test_matrix_linalg.glm error unexpected, code 5 (simulation failed) in 0.5 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/scripts/autotest/test_matrix_matlib.glm error unexpected, code 5 (simulation failed) in 0.5 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/scripts/autotest/test_matrix_matrix.glm error unexpected, code 5 (simulation failed) in 0.5 seconds
ERROR [INIT] : /usr/local/src/gridlabd/gldcore/scripts/autotest/test_matrix_random.glm error unexpected, code 5 (simulation failed) in 0.5 seconds
ERROR [INIT] : /usr/local/src/gridlabd/module/revenue/autotest/test_pgande_billing.glm error unexpected, code 5 (simulation failed) in 0.5 seconds
The test_*python*
and test_template_option
look like the gridlabd
python module build did not work correctly.
The test_matrix_*
errors are the result of a check of the numpy version in the matrix
subcommand. Suggest changing the assert to #assert $(gridlabd matrix version) >= '1.21.4'
Thetest_job*
errors look like they're a result of running from a fork rather than the original project. Recommend using a branch in slacgismo/gridlabd
project instead of a fork.
In addition, two generator validation tests hang at 2% progress:
test_1isochronous_dg_1PQconstant_dg_err.glm
test_1isochronous_dg_1Pconstant_Qdroop_dg_err.glm
I've reached out to @ftuffner about this problem.
…. && /bin/sh /usr/local/src/gridlabd/build-aux/missing aclocal-1.16 -I m4 causes python installation problems. It will fail later in validation
This is a pull request from the forked branch. It causes validation errors. I close this branch and reopen a new pull request direct from the repository. |
This PR fixes
Current issues
Code changes
/usr/local/bin/python3 -m pip install IPython
,/usr/local/bin/python3 -m pip install wheel
and/usr/local/bin/python3 -m pip install censusdata
.rpmkeys --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
andsu -c 'curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo'
"$(/usr/local/bin/python3 --version)"
2)In install.sh
SYSTEM=$(uname -s)
Documentation changes
None
Test and Validation Notes
None