Skip to content
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

1.8.0-rc1 still doesn't support Intel 1API #4039

Open
VictorEijkhout opened this issue Dec 19, 2024 · 4 comments
Open

1.8.0-rc1 still doesn't support Intel 1API #4039

VictorEijkhout opened this issue Dec 19, 2024 · 4 comments

Comments

@VictorEijkhout
Copy link

configure: error: Unsupported Intel compiler detected

My setup:

Using compilers for mode mpi:
 .. CC=mpicc
    where mpicc=/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/bin/mpicc
    and CFLAGS=
 .. CXX=mpicxx
    where mpicxx=/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/bin/mpicxx
    and CXXFLAGS=
 .. FC=ifx
    where ifx=/scratch/projects/compilers/intel24.1/oneapi/compiler/2024.1/bin/ifx
    and FFLAGS=
  where:
    mpicc=/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/bin/mpicc
    show: icx -I"/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/include" -L"/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/lib" -L"/scratch/projects/compilers/intel24.1/oneapi/mp
i/2021.12/lib" -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker "/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/lib" -Xlinker -rpath -Xlinker "/scratch/projects/compilers/intel24.1/one
api/mpi/2021.12/lib" -lmpifort -lmpi -lrt -lpthread -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Xlinker --enable-new-dtags -ldl
    where icx=/scratch/projects/compilers/intel24.1/oneapi/compiler/2024.1/bin/icx
    mpicxx=/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/bin/mpicxx
    show:  icpx -I"/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/include" -L"/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/lib" -L"/scratch/projects/compilers/intel24.1/oneapi/
mpi/2021.12/lib" -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker "/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/lib" -Xlinker -rpath -Xlinker "/scratch/projects/compilers/intel24.1/o
neapi/mpi/2021.12/lib" -lmpicxx -lmpifort -lmpi -lrt -lpthread -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Xlinker --enable-new-dtags -ldl
    where icpx=/scratch/projects/compilers/intel24.1/oneapi/compiler/2024.1/bin/icpx
    mpif90=/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/bin/mpif90
    show:  ifx -I"/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/include/mpi/gfortran" -I"/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/include" -I"/scratch/projects/compilers/i
ntel24.1/oneapi/mpi/2021.12/include/mpi" -L"/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/lib" -L"/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/lib" -Xlinker --enable-new-dtags
 -Xlinker -rpath -Xlinker "/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/lib" -Xlinker -rpath -Xlinker "/scratch/projects/compilers/intel24.1/oneapi/mpi/2021.12/lib" -lmpifort -lmpi -lrt
-lpthread -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Xlinker --enable-new-dtags -ldl
    where ifx=/scratch/projects/compilers/intel24.1/oneapi/compiler/2024.1/bin/ifx
 .. configuring in /work/00434/eijkhout/libmesh/libmesh-1.8.0-rc1
Configuring as:
./configure --prefix=/work/00434/eijkhout/libmesh/installation-libmesh-1.8.0-rc1-milan-intel24.1-impi21.12 --libdir=/work/00434/eijkhout/libmesh/installation-libmesh-1.8.0-rc1-milan-intel24.1-impi21
.12/lib --enable-silent-rules --enable-unique-id --disable-warnings --with-thread-model=openmp --disable-maintainer-mode --enable-hdf5 --enable-petsc-hypre-required --enable-metaphysicl-required --e
nable-xdr-required --with-cxx-std-min=2014 --without-gdb-command --with-methods=opt
@jwpeterson
Copy link
Member

Not sure if it will fix this issue, but @nmnobre has been looking into configure support for Intel compilers recently, see: libMesh/autoconf-submodule#17. Once that submodule update is merged into libmesh master, I can also cherry-pick it onto the release branch for the next release candidate.

@nmnobre
Copy link
Member

nmnobre commented Dec 20, 2024

Yes, this is definitely fixed. devel (and master) already has a preliminary fix that'll get you past that configure error, and libMesh/autoconf-submodule#17 further improves support with a slightly better choice for the optimisation flags.

@VictorEijkhout
Copy link
Author

Meaning it's fixed post rc1? If so I'll wait for the official release.

@jwpeterson
Copy link
Member

I'll comment here when rc2 is available for testing with this update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants