Skip to content

compilation with intel compiler on windows #54

@rdamiani

Description

@rdamiani

Hello,

I know that the windows tips recommend using MinGW, but I was wondering whether there is any way to compile in windows with Intel Compiler (Intel OneAPI 2021.5.0.20211109).
Cmake seems to run but gives some warnings including:

-- Could NOT find BLAS (missing: BLAS_LIBRARIES)
-- Could NOT find LAPACK (missing: LAPACK_LIBRARIES)
Reason given by package: LAPACK could not be found because dependency BLAS could not be found.

Then, trying to build from Visual Studio fails with the following errors:

Error fatal error LNK1120: 1 unresolved externals
Error error LNK2019: unresolved external symbol DGESV referenced in function WALLSYSTEM_mp_INVERT_INFLUENCE_MATRIX wallsystem.obj
Error error LNK2001: unresolved external symbol DGESV WSolnSetup.obj

to note that there are several warnings related to

Warning command line warning #10006: ignoring unknown option '/mkl' ifort

I then tried to include the MKL during compilation, and even though I get an executable, it does not run as expected. Issuing cactus.exe from the command prompt does not produce any result at all. I doubt the .exe is meaningful at all.
Any help would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions