-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fatal error: too many errors emitted, stopping now [-ferror-limit=] #197
Comments
I think this is the same error as #196 |
What version of SLATE, e.g., |
|
Description
When I install SLATE using HIP, I encountered the following error. How can I resolve this issue?
export CXX=gcc
export FC=mpif90
export CXXFLAGS="-I/opt/hpc/software/mpi/hpcx/v2.7.4/gcc-7.3.1/include -I/public/software/compiler/intel/intel-compiler-2019.4.243/mkl/include"
export LDFLAGS="-L/opt/hpc/software/mpi/hpcx/v2.7.4/gcc-7.3.1/lib -L/public/software/compiler/intel/intel-compiler-2019.4.243/mkl/lib/intel64_lin -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmpi -lm -lstdc++"
export gpu_backend=hip
export mpi=1
export openmp=1
cd build
rm -rf CMakeFiles CMakeCache.txt
cmake -DCC=gcc -DCXX=g++ -DFC=mpifort -DF77=mpif90 -DMPICC=mpicc -DMPICXX=mpicxx -DMPIFC=mpif90 -DMPIF77=mpif90 -Dblas_int=32 --log-level=verbose ..
[ 55%] Linking CXX shared library liblapackpp.so
[ 55%] Built target lapackpp
[ 55%] Generating src/hip/device_geadd.hip.cc.o
/public/home/wwstu1/slate/build
In file included from :776:
:1:14: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions]
#define defs_-NOTFOUND 1
^
In file included from /public/home/wwstu1/slate/src/hip/device_geadd.hip.cc:10:
/public/home/wwstu1/slate/src/hip/device_util.hip.hh:107:79: error: no member named 'real' in 'rocblas_double_complex'
host device inline double real( rocblas_double_complex x ) { return x.real(); }
~ ^
/public/home/wwstu1/slate/src/hip/device_util.hip.hh:108:79: error: no member named 'real' in 'rocblas_float_complex'
host device inline float real( rocblas_float_complex x ) { return x.real(); }
~ ^
/public/home/wwstu1/slate/src/hip/device_util.hip.hh:110:79: error: no member named 'imag' in 'rocblas_double_complex'
host device inline double imag( rocblas_double_complex x ) { return x.imag(); }
~ ^
/public/home/wwstu1/slate/src/hip/device_util.hip.hh:111:79: error: no member named 'imag' in 'rocblas_float_complex'
host device inline float imag( rocblas_float_complex x ) { return x.imag(); }
~ ^
/public/home/wwstu1/slate/src/hip/device_util.hip.hh:113:97: error: no member named 'real' in 'rocblas_double_complex'
host device inline rocblas_double_complex conj( rocblas_double_complex x ) { return { x.real(), -x.imag() }; }
~ ^
/public/software/compiler/dtk/dtk-22.10.1/include/rocblas/internal/rocblas-complex-types.h:64:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/public/software/compiler/dtk/dtk-22.10.1/include/rocblas/internal/rocblas-complex-types.h:64:9: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
/public/home/wwstu1/slate/src/hip/device_geadd.hip.cc:304:12: error: no matching constructor for initialization of 'rocblas_double_complex'
rocblas_double_complex( real( alpha ), imag( alpha ) ),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/public/software/compiler/dtk/dtk-22.10.1/include/rocblas/internal/rocblas-complex-types.h:70:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
typedef struct
^
/public/software/compiler/dtk/dtk-22.10.1/include/rocblas/internal/rocblas-complex-types.h:70:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/public/software/compiler/dtk/dtk-22.10.1/include/rocblas/internal/rocblas-complex-types.h:70:9: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated when compiling for gfx906.
make[2]: *** [CMakeFiles/slate.dir/build.make:76: src/hip/device_geadd.hip.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:237: CMakeFiles/slate.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Environment
The more information that you can provide about your environment, the simpler it is for us to understand and reproduce the issue.
git log --oneline -n 1
):make.inc
)mpicxx --version
):Currently Loaded Modulefiles:
The text was updated successfully, but these errors were encountered: