Changeset 3443
- Timestamp:
- Aug 2, 2006, 4:21:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pypar_dist/setup.py
r2778 r3443 14 14 from distutils.core import setup, Extension 15 15 import distutils.sysconfig 16 import distutils.debug 16 17 import os, sys 17 18 import popen2 … … 22 23 distutils.sysconfig.get_config_vars() 23 24 config_vars = distutils.sysconfig._config_vars 25 24 26 if sys.platform == 'sunos5': 25 27 config_vars['LDSHARED'] = "gcc -G" … … 126 128 mpi_flags = get_mpi_flags() 127 129 130 131 # FIXME: It would be good to set specific compiler flags, e.g. 132 # for our AMD opteron cluster which is using the portland group 133 # compiler pgcc, but I can't get this to work let alone get distutils 134 # to give some diagnostics on what flags it is actually using. 135 if os.name == 'posix' and os.uname()[4] == 'x86_64': 136 #Extra flags for 64 bit architectures 137 #extra_compile_args = ' -fPIC -m64' #Valid for gcc 138 extra_compile_args = ' -fPIC -tp amd64' #Valid for pgcc 139 else: 140 extra_compile_args = None 141 142 143 144 128 145 setup(name="Pypar", 129 version="1. 5",146 version="1.9.2", 130 147 description="Pypar - Parallel Python", 131 148 long_description="Pypar - Parallel Python, no-frills MPI interface", … … 141 158 libraries=mpi_flags['libs'], 142 159 define_macros=mpi_flags['def_macros'], 143 undef_macros=mpi_flags['undef_macros'])] 160 undef_macros=mpi_flags['undef_macros'], 161 extra_compile_args=extra_compile_args)] 144 162 )
Note: See TracChangeset
for help on using the changeset viewer.