- Timestamp:
- Jul 11, 2005, 11:24:44 PM (19 years ago)
- Location:
- pypar
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pypar/setup.py
r85 r127 54 54 def _get_mpi_cmd(): 55 55 """Returns the output of the command used to compile using 56 mpicc.""" 56 mpicc.""" 57 57 # LAM 58 58 output = _run_command("mpicc -showme") … … 92 92 output = "cc -L/usr/opt/mpi -lmpi -lelan" 93 93 94 94 95 95 # now get the include, library dirs and the libs to link with. 96 96 flags = string.split(output) … … 118 118 return {'inc_dirs': inc_dirs, 'lib_dirs': lib_dirs, 'libs':libs, 119 119 'def_macros': def_macros, 'undef_macros': undef_macros} 120 120 121 121 122 122 if __name__ == "__main__": 123 123 setup_compiler() 124 124 125 125 mpi_flags = get_mpi_flags() 126 126 … … 135 135 packages = ['pypar'], 136 136 ext_modules = [Extension('pypar.mpiext', 137 [' lib/pypar/mpiext.c'],137 ['mpiext.c'], 138 138 include_dirs=mpi_flags['inc_dirs'], 139 139 library_dirs=mpi_flags['lib_dirs'],
Note: See TracChangeset
for help on using the changeset viewer.