Dear all,
spack install --test=root dealii ^bo...@1.72.0 ^mu...@5.2.0 ^trilinos~exodus~netcdf
The first problem I met is that the installation of the netlib-scalapack through spack would case error:
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
8489 | CALL BTRECV(3, 1, NERR2, K, IBTMSGID()+50)
| 2
......
8492 | CALL BTRECV(3, NERR2*6, IERR, K, IBTMSGID()+51)
| 1
> "This looks like an issue with some of the older Fortran code inside netlib-scalapack
relying on unspecified/non-standards-compliant behavior, probably
triggered by a change in default with GCC 10 (which you're using)
compared to older versions. GCC10 is pretty new."
The second problem is that installing trilinos would case error:
stray '\' in program
this error also cause by a incompatible behavior which cause by make4.3, after using an old version of make, the error disappeared.
And the third problem is that in spack build phase of dealii cause an error:
==> Error: ProcessError: Command exited with status 2:
'make' '-j8' 'test'
5356 Start 1: step.debug
5357 1/23 Test #1: step.debug .......................***Failed
0.12 sec
5358 make[6]: *** read jobs pipe: Bad file descriptor. Stop.
5359 make[6]: *** Waiting for unfinished jobs....
>> 5360 make[5]: *** [CMakeFiles/Makefile2:8062: tests/quick_tests/CM
akeFiles/step.debug.run.dir/rule] Error 2
This error happened in build of the quick_tests, even though I have set the OMP_NUM_THREADS=1 which suggested by issue:
and the old mail in dealii mailing list.
Then I go to the dealii quick_tests directory of spack-build, if I use "make test" then everything is right, but if use "make -j8(n) test" then the error appears again.
The spack command I used is
spack install --test=root dealii%g...@9.3.0 ^boost@1.72.0 ^mu...@5.2.0 ^trilinos%g...@9.3.0~exodus~netcdf
the compiler is gcc9.3.0 and make version is 4.2.1. The spack build log and env are attached. And the log of quick_tests by manually build ("make -j8 test") is also attached. Any suggection would be appreciated.
Thanks,
m.