Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 218177 Details for
Bug 303160
dev-python/scientificpython: needs mpi wrappers if compiled with sci-libs/netcdf[mpi]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adding mpicc flags for netcdf module (better way)
scientificpython-2.9-mpi-netcdf.patch (text/plain), 1.32 KB, created by
Kacper Kowalik (Xarthisius) (RETIRED)
on 2010-02-02 14:01:07 UTC
(
hide
)
Description:
adding mpicc flags for netcdf module (better way)
Filename:
MIME Type:
Creator:
Kacper Kowalik (Xarthisius) (RETIRED)
Created:
2010-02-02 14:01:07 UTC
Size:
1.32 KB
patch
obsolete
>--- ScientificPython-2.9.0.orig/setup.py 2008-10-28 14:52:30.000000000 +0100 >+++ ScientificPython-2.9.0/setup.py 2010-02-02 14:58:55.029160416 +0100 >@@ -3,6 +3,7 @@ > from distutils.core import setup, Extension > from distutils.command.install_headers import install_headers > import os, sys >+from subprocess import Popen, PIPE > from glob import glob > > class Dummy: >@@ -106,6 +107,8 @@ > else: > print "Using netCDF installation in ", netcdf_prefix > netcdf_include = os.path.join(netcdf_prefix, 'include') >+ mpi_ccflags = Popen(["mpicc", "-showme:compile"], stdout=PIPE).communicate()[0].rstrip().split() >+ mpi_ldflags = Popen(["mpicc", "-showme:link"], stdout=PIPE).communicate()[0].rstrip().split() > netcdf_h_file = os.path.join(netcdf_prefix, 'include', 'netcdf.h') > netcdf_lib = os.path.join(netcdf_prefix, 'lib') > ext_modules = [Extension('Scientific_netcdf', >@@ -114,7 +117,7 @@ > + arrayobject_h_include, > library_dirs=[netcdf_lib], > libraries = ['netcdf'], >- extra_compile_args=extra_compile_args)] >+ extra_compile_args=extra_compile_args + mpi_ccflags +mpi_ldflags )] > > try: > # Add code for including documentation in Mac packages
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 303160
:
218116
|
218118
|
218171
|
218173
| 218177