![](https://secure.gravatar.com/avatar/10865e060afb7cc469876e78062d9596.jpg?s=120&d=mm&r=g)
Hi,
I have the version of 2015.3. I would like to update it to 2016.1. Could you tell me how to update Sfepy to the new version? Do I have to install the new version from scratch? If so, do I have to remove the old version in advance and install the new version? Thanks,
Takuo Fujita
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
Hi Takuo,
On 05/03/2016 10:53 PM, pyontaku14 wrote:
Hi,
I have the version of 2015.3. I would like to update it to 2016.1. Could you tell me how to update Sfepy to the new version? Do I have to install the new version from scratch? If so, do I have to remove the old version in advance and install the new version?
This depends on whether you use sfepy installed (via python setup.py install), or in-place (via python setup.py build_ext --inplace).
When in-place, you can unpack the new version into a new directory, and just use it from there. You might want to check and compare output of your problems that it stays the same between the versions.
When installed, I recommend removing the old version.
r.
![](https://secure.gravatar.com/avatar/10865e060afb7cc469876e78062d9596.jpg?s=120&d=mm&r=g)
Hi Robert,
Thank you for your answer. I installed 2016.1. Though there are 3 failures in the test, I try this version. The failures are in eigenvalue_solvers, input_linear_elastic_probes and shell10x_cantilever. Thanks,
Takuo Fujita
2016年5月4日水曜日 17時58分13秒 UTC+9 Robert Cimrman:
Hi Takuo,
On 05/03/2016 10:53 PM, pyontaku14 wrote:
Hi,
I have the version of 2015.3. I would like to update it to 2016.1. Could you tell me how to update Sfepy to the new version? Do I have to install the new version from scratch? If so, do I have to remove the old version in advance and install the new version?
This depends on whether you use sfepy installed (via python setup.py install), or in-place (via python setup.py build_ext --inplace).
When in-place, you can unpack the new version into a new directory, and just use it from there. You might want to check and compare output of your problems that it stays the same between the versions.
When installed, I recommend removing the old version.
r.
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
On 05/04/2016 03:42 PM, pyontaku14 wrote:
Hi Robert,
Thank you for your answer. I installed 2016.1. Though there are 3 failures in the test, I try this version. The failures are in eigenvalue_solvers, input_linear_elastic_probes and shell10x_cantilever.
Could you run the failed tests separately with --debug flag (see [1]), and send here the output? I suspect those failures are caused only by missing some external solvers, but there might be some other problem.
Thanks!
![](https://secure.gravatar.com/avatar/10865e060afb7cc469876e78062d9596.jpg?s=120&d=mm&r=g)
Hi Robert,
I send the error report as attached. For test_input_linear_elastic_probes.py, I installed vtk and solved the issue. Thanks,
Takuo
2016年5月4日水曜日 23時01分24秒 UTC+9 Robert Cimrman:
On 05/04/2016 03:42 PM, pyontaku14 wrote:
Hi Robert,
Thank you for your answer. I installed 2016.1. Though there are 3 failures in the test, I try this version. The failures are in eigenvalue_solvers, input_linear_elastic_probes and shell10x_cantilever.
Could you run the failed tests separately with --debug flag (see [1]), and send here the output? I suspect those failures are caused only by missing some external solvers, but there might be some other problem.
Thanks!
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
Thanks!
The tests/test_input_shell10x_cantilever.py failure is due to missing scikit-umfpack - then the default scipy solver (superlu) is used, that has a slightly lower precision (and is much slower). I will increase the expected tolerance in the example so that this test passes also without umfpack.
Not sure about tests/test_eigenvalue_solvers.py - the printed results are correct - probably also just a too strict tolerance issue - could you try increasing atol on line 132 of the test file to see whether then the test passes?
r.
On 05/06/2016 01:58 PM, pyontaku14 wrote:
Hi Robert,
I send the error report as attached. For test_input_linear_elastic_probes.py, I installed vtk and solved the issue. Thanks,
Takuo
2016年5月4日水曜日 23時01分24秒 UTC+9 Robert Cimrman:
On 05/04/2016 03:42 PM, pyontaku14 wrote:
Hi Robert,
Thank you for your answer. I installed 2016.1. Though there are 3 failures in the test, I try this version. The failures are in eigenvalue_solvers, input_linear_elastic_probes and shell10x_cantilever.
Could you run the failed tests separately with --debug flag (see [1]), and send here the output? I suspect those failures are caused only by missing some external solvers, but there might be some other problem.
Thanks!
![](https://secure.gravatar.com/avatar/10865e060afb7cc469876e78062d9596.jpg?s=120&d=mm&r=g)
Dear Robert,
Thank you for your instruction. The tests/test_input_shell10x_cantilever.py passed without error as I installed scikit-umfpack. The tests/test_eigenvalue_solvers.py passed without error when atol=8.0e-2. This test fails when atol=7.0e-2. Thanks,
Takuo
2016年5月6日金曜日 21時14分19秒 UTC+9 Robert Cimrman:
Thanks!
The tests/test_input_shell10x_cantilever.py failure is due to missing scikit-umfpack - then the default scipy solver (superlu) is used, that has a slightly lower precision (and is much slower). I will increase the expected tolerance in the example so that this test passes also without umfpack.
Not sure about tests/test_eigenvalue_solvers.py - the printed results are correct - probably also just a too strict tolerance issue - could you try increasing atol on line 132 of the test file to see whether then the test passes?
r.
On 05/06/2016 01:58 PM, pyontaku14 wrote:
Hi Robert,
I send the error report as attached. For test_input_linear_elastic_probes.py, I installed vtk and solved the issue. Thanks,
Takuo
2016年5月4日水曜日 23時01分24秒 UTC+9 Robert Cimrman:
On 05/04/2016 03:42 PM, pyontaku14 wrote:
Hi Robert,
Thank you for your answer. I installed 2016.1. Though there are 3 failures in the test, I try this version. The failures are in eigenvalue_solvers, input_linear_elastic_probes and shell10x_cantilever.
Could you run the failed tests separately with --debug flag (see [1]),
and
send here the output? I suspect those failures are caused only by missing some external solvers, but there might be some other problem.
Thanks!
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
On 05/06/2016 02:49 PM, pyontaku14 wrote:
Dear Robert,
Thank you for your instruction. The tests/test_input_shell10x_cantilever.py passed without error as I installed scikit-umfpack.
ok
The tests/test_eigenvalue_solvers.py passed without error when atol=8.0e-2. This test fails when atol=7.0e-2.
I see the problem - it seems that the evp0 solver missed the double eigenvalue (0.12170685+0.j should be two times in the output) - this is probably related to scipy version, and/or blas/lapack version. So this is not a sfepy error - consider it a recommendation which eigensolvers to (not) use :)
r.
Thanks,
Takuo
2016年5月6日金曜日 21時14分19秒 UTC+9 Robert Cimrman:
Thanks!
The tests/test_input_shell10x_cantilever.py failure is due to missing scikit-umfpack - then the default scipy solver (superlu) is used, that has a slightly lower precision (and is much slower). I will increase the expected tolerance in the example so that this test passes also without umfpack.
Not sure about tests/test_eigenvalue_solvers.py - the printed results are correct - probably also just a too strict tolerance issue - could you try increasing atol on line 132 of the test file to see whether then the test passes?
r.
On 05/06/2016 01:58 PM, pyontaku14 wrote:
Hi Robert,
I send the error report as attached. For test_input_linear_elastic_probes.py, I installed vtk and solved the issue. Thanks,
Takuo
2016年5月4日水曜日 23時01分24秒 UTC+9 Robert Cimrman:
On 05/04/2016 03:42 PM, pyontaku14 wrote:
Hi Robert,
Thank you for your answer. I installed 2016.1. Though there are 3 failures in the test, I try this version. The failures are in eigenvalue_solvers, input_linear_elastic_probes and shell10x_cantilever.
Could you run the failed tests separately with --debug flag (see [1]),
and
send here the output? I suspect those failures are caused only by missing some external solvers, but there might be some other problem.
Thanks!
participants (2)
-
pyontaku14
-
Robert Cimrman