Skip to content

Missing compilation flags using spec_wrapper #211

@missing-user

Description

@missing-user

I noticed, that SPEC was significantly slower when running from simsopt than standalone. Looking closer, the shared object Library produced when compiling spec_wrapper doesn't utilize the same compilation flags, e. g. -O3.

When running the initialization from the spec wrapper, the console output also indicates no compilation flags were passed.

       :            : fc      = /usr/bin/mpifort ; 
       :            : flags   =  ; 

I think we should fix spec_wrapper/CmakeLists.txt to at least enable ftree-vectorize, such that xspec standalone and the Python bindings behave the same.

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