Installation with Spack

42 views
Skip to first unread message

tsah...@gmail.com

unread,
Aug 11, 2019, 5:34:12 PM8/11/19
to MoFEM Q&A
Hi Sir,

Here is Tarik Sahin. Computational Engineering master student.

During installation with spack, I have taken an error which is attached down. Than you for advanced.


==> Installing openblas
==> Searching for binary cache of openblas
==> Warning: No Spack mirrors are currently configured
==> No binary for openblas found: installing from source
==> Using cached archive: /home/tarik/spack/var/spack/cache/openblas/openblas-0.3.3.tar.gz
==> Staging archive: /home/tarik/spack/var/spack/stage/openblas-0.3.3-ocqy4j4zorvcbcwyn46mwwciia44coax/v0.3.3.tar.gz
==> Created stage in /home/tarik/spack/var/spack/stage/openblas-0.3.3-ocqy4j4zorvcbcwyn46mwwciia44coax
==> Using cached archive: /home/tarik/spack/var/spack/cache/openblas/4d183e5567346f80f2ef97eb98f8601c47f8cb56.patch
==> Applied patch https://github.com/xianyi/OpenBLAS/commit/4d183e5567346f80f2ef97eb98f8601c47f8cb56.patch
==> Applied patch make.patch
==> Building openblas [MakefilePackage]
==> Executing phase: 'edit'
==> Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' 'CC=/home/tarik/spack/lib/spack/env/gcc/gcc' 'FC=/home/tarik/spack/lib/spack/env/gcc/gfortran' 'MAKE_NO_J=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'libs' 'netlib' 'shared'

13 errors found in build log:
>> 6 getarch_2nd.c:12:35: error: 'SGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'?
7 printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);
8 ^~~~~~~~~~~~~~~~~~~~~~
9 XGEMM_DEFAULT_UNROLL_M
10 getarch_2nd.c:12:35: note: each undeclared identifier is reported only once for each function it appears in
>> 11 getarch_2nd.c:13:35: error: 'SGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function); did you mean 'SGEMM_DEFAULT_UNROLL_M'?
12 printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N);
13 ^~~~~~~~~~~~~~~~~~~~~~
14 SGEMM_DEFAULT_UNROLL_M
>> 15 getarch_2nd.c:14:35: error: 'DGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'SGEMM_DEFAULT_UNROLL_M'?
16 printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M);
17 ^~~~~~~~~~~~~~~~~~~~~~
18 SGEMM_DEFAULT_UNROLL_M
>> 19 getarch_2nd.c:15:35: error: 'DGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function); did you mean 'DGEMM_DEFAULT_UNROLL_M'?
20 printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N);
21 ^~~~~~~~~~~~~~~~~~~~~~
22 DGEMM_DEFAULT_UNROLL_M
>> 23 getarch_2nd.c:19:35: error: 'CGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'DGEMM_DEFAULT_UNROLL_M'?
24 printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M);
25 ^~~~~~~~~~~~~~~~~~~~~~
26 DGEMM_DEFAULT_UNROLL_M
>> 27 getarch_2nd.c:20:35: error: 'CGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function); did you mean 'CGEMM_DEFAULT_UNROLL_M'?
28 printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N);
29 ^~~~~~~~~~~~~~~~~~~~~~
30 CGEMM_DEFAULT_UNROLL_M
>> 31 getarch_2nd.c:21:35: error: 'ZGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'CGEMM_DEFAULT_UNROLL_M'?
32 printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M);
33 ^~~~~~~~~~~~~~~~~~~~~~
34 CGEMM_DEFAULT_UNROLL_M
>> 35 getarch_2nd.c:22:35: error: 'ZGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function); did you mean 'ZGEMM_DEFAULT_UNROLL_M'?
36 printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N);
37 ^~~~~~~~~~~~~~~~~~~~~~
38 ZGEMM_DEFAULT_UNROLL_M
>> 39 getarch_2nd.c:69:50: error: 'SGEMM_DEFAULT_Q' undeclared (first use in this function); did you mean 'SGEMM_DEFAULT_UNROLL_N'?
40 printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float)));
41 ^~~~~~~~~~~~~~~
42 SGEMM_DEFAULT_UNROLL_N
>> 43 getarch_2nd.c:70:50: error: 'DGEMM_DEFAULT_Q' undeclared (first use in this function); did you mean 'SGEMM_DEFAULT_Q'?
44 printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double)));
45 ^~~~~~~~~~~~~~~
46 SGEMM_DEFAULT_Q
>> 47 getarch_2nd.c:71:50: error: 'CGEMM_DEFAULT_Q' undeclared (first use in this function); did you mean 'DGEMM_DEFAULT_Q'?
48 printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float)));
49 ^~~~~~~~~~~~~~~
50 DGEMM_DEFAULT_Q
>> 51 getarch_2nd.c:72:50: error: 'ZGEMM_DEFAULT_Q' undeclared (first use in this function); did you mean 'CGEMM_DEFAULT_Q'?
52 printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double)));
53 ^~~~~~~~~~~~~~~
54 CGEMM_DEFAULT_Q
>> 55 make: *** [getarch_2nd] Error 1
56 Makefile:135: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop.

See build log for details:
/home/tarik/spack/var/spack/stage/openblas-0.3.3-ocqy4j4zorvcbcwyn46mwwciia44coax/OpenBLAS-0.3.3/spack-build.out

----------------------------

CORE LIBRARY: spconfig ...

----------------------------n
./install_mofem_developer.sh: line 157: ./spconfig.py: No such file or directory

----------------------------

CORE LIBRARY: make -j 2 ...

----------------------------

make: *** No targets specified and no makefile found. Stop.

----------------------------

CORE LIBRARY: ctest ...

----------------------------

init.c(379):ERROR:109: Unknown shell type 'install_mofem_d'
Cannot find file: /home/tarik/Documents/mofem/mofem_install/lib/DartConfiguration.tcl
Site:
Build name: (empty)
Create new tag: 20190811-2112 - Experimental
Configure project
Cannot find ConfigureCommand key in the DartConfiguration.tcl
Cannot find file: /home/tarik/Documents/mofem/mofem_install/lib/DartConfiguration.tcl
Build project
Cannot find MakeCommand key in the DartConfiguration.tcl
Cannot find file: /home/tarik/Documents/mofem/mofem_install/lib/DartConfiguration.tcl
Test project /home/tarik/Documents/mofem/mofem_install/lib
No tests were found!!!
Cannot find file: /home/tarik/Documents/mofem/mofem_install/lib/DartConfiguration.tcl
Performing coverage
Could not find gcov.

Reply all
Reply to author
Forward
0 new messages