Closed chillenb closed 6 months ago
int64 is not supported in SLATE
From the installations instructions:
blas_int
BLAS integer size to search for. One or more of:
auto search for both sizes (default)
int 32-bit int (LP64 model)
* int64 64-bit int (ILP64 model)
* int64 is not currently supported in SLATE
I had to specify -Dblas_int=32
to compile against intel mkl correctly
Thanks for pointing that out!
Unfortunately, I still get the same compile error when I pass -Dblas_int=int
. It happens with openblas too. The problem seems unrelated to ILP64 and is probably just because INT64_MAX didn't get defined.
mkl has 2 versions, ilp64 and lp64, you probably have to adjust your environment variables to point to the lp64 version
this can be done with the setvars.sh (or vars.sh) script in the intel mkl installation, if you followed their installation instructions it's not hard.
at the time I posted my first response I was able to compile slate using intel mkl (followed their webpage installation instructions, and how to set up the environment variables, it's not trivial without the documentation)
although I had issues compiling, they were not related to the project (ubuntu kernel is not compiled with gcc version 12.3, and the packet manager installs gcc 11.4 by default, this has caused a lot of headache for me)
Possibly related to #173.
@chillenb Is your OpenMP issue solved now in the master branch with #173 merged?
Hopefully yes. I will try it in an hour and let you know
Yes, it seems solved!
Thanks for your help
Description A clear and concise description of the bug and expected behavior.
Slate's tests failed to build in my environment. Specifically,
The build progressed further when I added that line in, until the very end, when
tester
failed to link:This went away when I set
export CXXFLAGS=-fopenmp
and started from the beginning, and then everything worked.Steps To Reproduce
If it can be reproduced with SLATE's testers, that is best. Otherwise, including a minimal reproducer is super helpful.
Environment The more information that you can provide about your environment, the simpler it is for us to understand and reproduce the issue.
SLATE version / commit ID (e.g.,
git log --oneline -n 1
):5b23aa5f (HEAD -> master, origin/master, origin/HEAD) Merge pull request #145 from Treece-Burgess/matgen
How installed:
How compiled:
make.inc
)CXX=mpic++ FC=mpif90 cmake -Dblas=mkl --log-level=verbose ..
Compiler & version (e.g.,
mpicxx --version
): g++ 13.2.0BLAS library (e.g., MKL, ESSL, OpenBLAS) & version: Intel MKL 2023.2.0
CUDA / ROCm / oneMKL version (e.g.,
nvcc --version
): NoneMPI library & version (MPICH, Open MPI, Intel MPI, IBM Spectrum, Cray MPI, etc. Sometimes
mpicxx -v
gives info.): OpenMPI 4.1.6OS: AlmaLinux 9.3 with EasyBuild gompi/2023b toolchain and kernel version 6.7.6
Hardware (CPUs, GPUs, nodes): One (Dell) node, 2 sockets, 48 cores, Intel Cascade Lake.