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

4.11 configure incompatible with intel 2024 #400

Open
VictorEijkhout opened this issue Aug 15, 2024 · 5 comments
Open

4.11 configure incompatible with intel 2024 #400

VictorEijkhout opened this issue Aug 15, 2024 · 5 comments
Assignees
Milestone

Comments

@VictorEijkhout
Copy link

The loopopt option does not exist with the intel compiler.

configure:7046: icx -o conftest -O2   conftest.c   -loopopt=1 -L/opt/intel/oneapi/ccl/2021.11/lib -L/opt/intel/oneapi/mpi/2021.11/opt/mpi/libfabric/lib -L/opt/intel/oneapi/mpi/2021.11/lib -L/opt/intel/
oneapi/mkl/2024.0/lib -L/opt/intel/oneapi/ipp/2021.10/lib -L/opt/intel/oneapi/ippcp/2021.9/lib -L/opt/intel/oneapi/dpl/2022.3/lib -L/scratch/projects/compilers/intel24.0/oneapi/dnnl/2024.0/lib -L/scrat
ch/projects/compilers/intel24.0/oneapi/dal/2024.0/lib -L/opt/intel/oneapi/compiler/2024.0/opt/compiler/lib -L/opt/intel/oneapi/compiler/2024.0/lib -L/opt/intel/oneapi/tbb/2021.11/lib -L/opt/intel/oneap
i/compiler/2024.0/lib/clang/17/lib/x86_64-unknown-linux-gnu -L/opt/apps/gcc/13.2.0/lib/gcc/x86_64-pc-linux-gnu/13.2.0/ -L/opt/apps/gcc/13.2.0/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../lib64 -L/opt
/apps/gcc/13.2.0/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../lib64/ -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 -L/usr/lib/../lib64/ -L/opt/intel/oneapi/ccl/2021.11/lib/ -L/opt/intel/oneapi
/mpi/2021.11/opt/mpi/libfabric/lib/ -L/opt/intel/oneapi/mpi/2021.11/lib/ -L/opt/intel/oneapi/mkl/2024.0/lib/ -L/opt/intel/oneapi/ipp/2021.10/lib/ -L/opt/intel/oneapi/ippcp/2021.9/lib/ -L/opt/intel/onea
pi/dpl/2022.3/lib/ -L/scratch/projects/compilers/intel24.0/oneapi/dal/2024.0/lib/ -L/opt/intel/oneapi/compiler/2024.0/opt/compiler/lib/ -L/opt/intel/oneapi/compiler/2024.0/lib/ -L/opt/intel/oneapi/tbb/
2021.11/lib/ -L/opt/apps/gcc/13.2.0/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../x86_64-pc-linux-gnu/lib/ -L/opt/apps/gcc/13.2.0/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../ -L/lib64 -L/lib/ -L/usr/l
ib64 -L/usr/lib -lifport -lifcoremt -limf -lsvml -lm -lipgo -lirc -lpthread -lirc_s -ldl >&5
conftest.c:12:9: warning: 'HAVE_STAT' macro redefined [-Wmacro-redefined]
   12 | #define HAVE_STAT /**/
      |         ^
conftest.c:10:9: note: previous definition is here
   10 | #define HAVE_STAT 1
      |         ^
1 warning generated.
/opt/apps/gcc/13.2.0/bin/ld: cannot find -loopopt=1
@markcmiller86
Copy link
Member

@VictorEijkhout I worry Silo's configure script is too old.

Can you provide the full command-line you used to configure and/or attach config.log file here?

@VictorEijkhout
Copy link
Author

Configuring as:
./configure --prefix=/work2/00434/eijkhout/silo/installation-silo-4.11.1-stampede3-intel24 --libdir=/work2/00434/eijkhout/silo/installation-silo-4.11.1-stampede3-intel24/lib
 .. with CC=icx CXX=icpx FC=ifx

where

Using compilers for mode :
 .. CC=icx
    where icx=/scratch/projects/compilers/intel24.2/oneapi/compiler/2024.2/bin/icx
    and CFLAGS=
 .. CXX=icpx
    where icpx=/scratch/projects/compilers/intel24.2/oneapi/compiler/2024.2/bin/icpx
    and CXXFLAGS=
 .. FC=ifx
    where ifx=/scratch/projects/compilers/intel24.2/oneapi/compiler/2024.2/bin/ifx
    and FFLAGS=

config.log attached
silo.log

@markcmiller86
Copy link
Member

markcmiller86 commented Aug 20, 2024

Ok, so this ref suggests the problem is in configure itself. I will try to see if I can suggest a patch to configure.

@markcmiller86
Copy link
Member

Also, can you try using ifort for the fortran compiler instead of ifx?

@markcmiller86 markcmiller86 self-assigned this Sep 20, 2024
@markcmiller86 markcmiller86 added this to the 4.11.2 milestone Sep 20, 2024
@VictorEijkhout
Copy link
Author

Also, can you try using ifort for the fortran compiler instead of ifx?

ifort no problem.

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

2 participants