It looks like I clicked on the wrong button and I didn't sent the message 
to the mailing list :( There are two solutions to this problem:
1. Compile everything using a single processor, i.e. using spack install 
-j1 ... This works but it will be very slow
2. Do not run quicktest when using spack. This can be done by omitting 
--test=root.

Bruno

On Thursday, June 17, 2021 at 9:49:14 AM UTC-4 [email protected] wrote:

>
> Dear all,
> I try to install dealii through spack with the illustration in website 
> https://github.com/dealii/dealii/wiki/deal.II-in-Spack, the command is 
> that:
> spack install --test=root dealii ^[email protected] ^[email protected] 
> ^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
> Hint by https://github.com/spack/spack/issues/17713, I fix this error by 
> using gcc9 compiler rather than gcc10, which would case the error. 
>
> > "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:
> https://github.com/dealii/dealii/issues/6589
> https://github.com/dealii/dealii/pull/7143
> 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%[email protected] ^[email protected] ^[email protected] 
> ^trilinos%[email protected]~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.
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/9a15c4c9-3806-4be4-902f-343cd0c9b676n%40googlegroups.com.

Reply via email to