Skip to content

Build fails with ifx #39

@alex-robinson

Description

@alex-robinson

Hello,

A linking error occurs using the ifx (Intel OneAPI HPC toolkit) compiler to build lis. The error occurs at the end of the make step, if I do the following:

cd lis-2.1.6
./configure --prefix=$PWD/../2.1.6-ifx --enable-f90 --enable-omp CC=icx F77=ifx
make
...
ifx: command line warning #10435: option '-nofor_main' use with underscore is deprecated; use '-nofor-main' instead
ld: cannot find -loopopt=1
make[1]: *** [Makefile:736: esolve] Error 1

This error occurs with any version of ifx from 2022-2024.

I would note that it seems like it might be something in the settings of configuration script, as other libraries like fftw can be configured and compiled this way without issues. Or am I doing something wrong?

I hope this is helpful, and thank you for your work!

Cheers,
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions