custer installation issue (again)

More
6 years 3 months ago #709 by Guosheng Fu
In the cmake file, I used these two lines to locate zlib

-DZLIB_INCLUDE_DIR=/gpfs/runtime/opt/zlib/1.2.8/ \
-DZLIB_LIBRARY=/gpfs/runtime/opt/zlib/1.2.8/lib \
More
6 years 3 months ago #710 by cwinters
If you specify it that way, you have to set
Code:
-DZLIB_LIBRARY=/gpfs/runtime/opt/zlib/1.2.8/lib/libz.so
And check if the "libz.so" is in this folder.

Did you try to set
Code:
-DZLIB_INCLUDE_DIRS=/gpfs/runtime/opt/zlib/1.2.8/
I think this should find both, library and header.

Best,
Christoph
More
6 years 3 months ago #711 by Guosheng Fu
Well,
DZLIB_INCLUDE_DIRS
is not recognized...

Now, I have a even worse issue while building netgen....

[ 26%] Built target visual
/tmp/ccV60kWH.s: Assembler messages:
/tmp/ccV60kWH.s:1100: Error: suffix or operands invalid for `vbroadcastsd'
make[8]: *** [libsrc/linalg/CMakeFiles/la.dir/bfgs.cpp.o] Error 1
[ 26%] Building CXX object libsrc/general/CMakeFiles/gen.dir/seti.cpp.o
[ 27%] Building CXX object libsrc/general/CMakeFiles/gen.dir/sort.cpp.o
/tmp/ccsdcFfI.s: Assembler messages:
/tmp/ccsdcFfI.s:896: Error: suffix or operands invalid for `vbroadcastsd'
/tmp/ccsdcFfI.s:1039: Error: suffix or operands invalid for `vbroadcastsd'
/tmp/ccsdcFfI.s:1504: Error: no such instruction: `vpbroadcastd %xmm0,%ymm0'
/tmp/ccsdcFfI.s:1505: Error: suffix or operands invalid for `vpaddd'
/tmp/ccsdcFfI.s:1510: Error: suffix or operands invalid for `vpaddd'
/tmp/ccsdcFfI.s:2813: Error: suffix or operands invalid for `vbroadcastsd'
/tmp/ccsdcFfI.s:3999: Error: suffix or operands invalid for `vbroadcastsd'
/tmp/ccsdcFfI.s:4462: Error: suffix or operands invalid for `vbroadcastsd'
make[8]: *** [libsrc/linalg/CMakeFiles/la.dir/densemat.cpp.o] Error 1

This didn't happen yesterday :<
More
6 years 3 months ago #712 by Guosheng Fu
After deleting all the old files... now, the installation phase is working fine. It was the ZLIB issue...

However, it give me a segmentation fault when I tried

from ngsolve import *
More
6 years 3 months ago #713 by Guosheng Fu
FYI, besides the seg. fault,
this is what I got when run
make test_ngsolve

3% tests passed, 28 tests failed out of 29

Label Time Summary:
accuracy = 0.26 sec (3 tests)
performance = 0.09 sec (1 test)
standard = 0.95 sec (11 tests)

Total Test time (real) = 3.79 sec

The following tests FAILED:
1 - assemble.py (Failed)
2 - bla.py (Failed)
3 - poisson.py (Failed)
4 - adaptive.py (Failed)
5 - cmagnet.py (Failed)
6 - mixed.py (Failed)
7 - hybrid_mixed.py (Failed)
8 - hybrid_dg.py (Failed)
9 - taskmanager.py (Failed)
10 - compound.py (Failed)
11 - pickling.py (Failed)
12 - d1_square.pde (Failed)
13 - d2_chip.pde (Failed)
14 - d3_helmholtz.pde (Failed)
15 - d4_cube.pde (Failed)
16 - d5_beam.pde (Failed)
17 - d6_shaft.pde (Failed)
18 - d7_coil.pde (Failed)
19 - d8_coilshield.pde (Failed)
20 - d9_hybridDG.pde (Failed)
21 - d10_DGdoubleglazing.pde (Failed)
22 - d11_chip_nitsche.pde (Failed)
23 - d4_cube_performance.pde (Failed)
24 - acc_poisson_circle.pde (Failed)
25 - acc_poisson_circle_HDG.pde (Failed)
26 - acc_poisson_circle_HDG_hodc.pde (Failed)
28 - test_ngscxx (Not Run)
29 - pytest (Failed)
Errors while running CTest
gmake[4]: *** [test] Error 8
make[3]: *** [CMakeFiles/test_ngsolve] Error 2
make[2]: *** [CMakeFiles/test_ngsolve.dir/all] Error 2
make[1]: *** [CMakeFiles/test_ngsolve.dir/rule] Error 2
make: *** [test_ngsolve] Error 2
More
6 years 3 months ago #714 by joachim
Hi Guosheng,

not everything from the sequential version is expected to work in parallel, see this list of supported MPI functionality:

ngsolve.org/docu/latest/how_to/howto_parallel.html

Joachim
Time to create page: 0.130 seconds