libflame icon indicating copy to clipboard operation
libflame copied to clipboard

libflame.a.in: No such file or directory

Open liu-shaobo opened this issue 4 years ago • 4 comments

CentOS-7.6 GCC-7.3 libflame-3.0.1 https://github.com/amd/libflame ./configure --prefix=/usr/local/libflame --enable-lapack2flame --enable-cblas-interfaces --enable-max-arg-list-hack make -j The error is as follows,What is the reason: Compiling src/lapack/util/app/qutinc/lhfc/flamec/FLA_Apply_Q_UT_inc_lhfc_blk_var1.c Compiling src/lapack/util/app/qutinc/lnfc/flamec/FLA_Apply_Q_UT_inc_lnfc_blk_var1.c Archiving lib/x86_64-unknown-linux-gnu/libflame.a ar: @lib/x86_64-unknown-linux-gnu/libflame.a.in: No such file or directory make: *** [lib/x86_64-unknown-linux-gnu/libflame.a] Error 1

liu-shaobo avatar Oct 22 '21 06:10 liu-shaobo

I met the same problem. Have u solved this problem?

Here is my cmd to install:

git clone https://github.com/amd/libflame cd libflame CC=clang CXX=clang++ FC=flang ./configure \ --enable-lapack2flame --enable-max-arg-list-hack \ --prefix=/opt/amd/libflame make -j4

gives:

Compiling src/lapack/util/app/qutinc/lhfc/flamec/FLA_Apply_Q_UT_inc_lhfc_blk_var1.c Compiling src/lapack/util/app/qutinc/lnfc/flamec/FLA_Apply_Q_UT_inc_lnfc_blk_var1.c Archiving lib/x86_64-unknown-linux-gnu/libflame.a ar: @lib/x86_64-unknown-linux-gnu/libflame.a.in: No such file or directory make: *** [lib/x86_64-unknown-linux-gnu/libflame.a] Error 1

zhouych87 avatar Apr 22 '22 11:04 zhouych87

get same error with spack: spack -d install -v [email protected] +ilp64 %[email protected]

install succed with "[email protected]".

longerzone avatar Jun 06 '22 15:06 longerzone

I also ran into this issue and was able to fix it by upgrading make. The libflame makefile uses the file function, but that wasn't added to GNU make until version 4.0.

neil-lindquist avatar Aug 27 '22 21:08 neil-lindquist

I also ran into this issue and was able to fix it by upgrading make. The libflame makefile uses the file function, but that wasn't added to GNU make until version 4.0.

Thank you!

rlKoekie avatar Nov 22 '22 13:11 rlKoekie