Skip to content

Commit d7b46ff

Browse files
committed
Remove compilation using intel compilers, because little used and not tested
1 parent 67356e0 commit d7b46ff

File tree

3 files changed

+0
-125
lines changed

3 files changed

+0
-125
lines changed

__intelcompiler.py

-83
This file was deleted.

doc/source/installation.rst

-26
Original file line numberDiff line numberDiff line change
@@ -309,32 +309,6 @@ to install the pre-commit hooks. These will run automatically whenever you commi
309309
More esoteric installations
310310
---------------------------
311311

312-
Installing from source with Intel Compiler
313-
++++++++++++++++++++++++++++++++++++++++++
314-
315-
Compiling galpy with an Intel Compiler can give significant
316-
performance improvements on 64-bit Intel CPUs. Moreover students can
317-
obtain a free copy of an Intel Compiler at `this link
318-
<https://software.intel.com/en-us/qualify-for-free-software/student>`__.
319-
320-
To compile the galpy C extensions with the Intel Compiler on 64bit
321-
MacOS/Linux do, follow the instructions to compile from source for your platform
322-
in :ref:`detailed_installation` above, clone the repository or download the
323-
source code and then do::
324-
325-
python setup.py build_ext --inplace --compiler=intelem
326-
327-
To compile the galpy C extensions with the Intel Compiler on 64bit
328-
Windows do::
329-
330-
python setup.py build_ext --inplace --compiler=intel64w
331-
332-
Then you can simply install with::
333-
334-
python setup.py install
335-
336-
or other similar installation commands.
337-
338312
.. _install_tm:
339313

340314
Installing the TorusMapper code

setup.py

-16
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,6 @@
4444
# Windows does not need 'gomp' whether compiled with OpenMP or not
4545
galpy_c_libraries.remove("gomp")
4646

47-
# Option to use Intel compilers
48-
try:
49-
compiler_option_pos = ["--compiler=" in opt for opt in sys.argv].index(True)
50-
except ValueError:
51-
use_intel_compiler = False
52-
else:
53-
use_intel_compiler = "intel" in sys.argv[compiler_option_pos].split("=")[1]
54-
55-
if use_intel_compiler and not WIN32:
56-
import numpy.distutils.intelccompiler
57-
elif use_intel_compiler and WIN32:
58-
import __intelcompiler
59-
60-
if use_intel_compiler: # OpenMP by default included for Intel, see #416
61-
galpy_c_libraries.remove("gomp")
62-
6347
# Option to forego OpenMP
6448
try:
6549
openmp_pos = sys.argv.index("--no-openmp")

0 commit comments

Comments
 (0)