Commit d7b46ff 1 parent 67356e0 commit d7b46ff Copy full SHA for d7b46ff
File tree 3 files changed +0
-125
lines changed
3 files changed +0
-125
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -309,32 +309,6 @@ to install the pre-commit hooks. These will run automatically whenever you commi
309
309
More esoteric installations
310
310
---------------------------
311
311
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
-
338
312
.. _install_tm :
339
313
340
314
Installing the TorusMapper code
Original file line number Diff line number Diff line change 44
44
# Windows does not need 'gomp' whether compiled with OpenMP or not
45
45
galpy_c_libraries .remove ("gomp" )
46
46
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
-
63
47
# Option to forego OpenMP
64
48
try :
65
49
openmp_pos = sys .argv .index ("--no-openmp" )
You can’t perform that action at this time.
0 commit comments