Skip to content

icc support for sharp.c / sharp.pyx #44

@ajvanengelen

Description

@ajvanengelen

Mat, DW, and I have been experimenting with compiler settings for libsharp. We seem to have found a factor of 2 runtime improvement using icc/ifort rather than gcc/gfort on nersc. In order to take advantage of this, it is necessary to use the same compilers for enlib/sharp and libsharp. Mat has found that this can work if one replaces

$(PYTHON) setup.py build_ext --inplace
with
LDSHARED="icc -shared" CC=icc $(PYTHON) setup.py build_ext --inplace
Could this change get made in the repo version? Could it check if the user is using the intel compiler (based on the contents of $ENLIB_COMP) and insert this if so?

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