[SciPy-user] compiler & lapack issues
gvermeul at polycnrs-gre.fr
gvermeul at polycnrs-gre.fr
Sun May 26 10:43:16 EDT 2002
>
> Attached (hackish) patch replaces dgesdd.o in both *.so's.
> So, in principle, it is possible to repair "broken" LAPACK
> installations.
>
> Gerard
In human readable format:
--- SciPy-0.2.0_alpha_101.3442/linalg/setup_linalg.py.gv Fri May 24 11:01:07 2002
+++ SciPy-0.2.0_alpha_101.3442/linalg/setup_linalg.py Sun May 26 15:51:58 2002
@@ -39,12 +39,19 @@
'flapack':['generic_flapack.pyf'],
'clapack':['generic_clapack.pyf']}
+ flapack_mask = []
+ for f in ['dgesdd.f'
+ ]:
+ flapack_mask.append(os.path.join(local_path,'src',f))
+
for mod_name,sources in mod_sources.items():
sources = [os.path.join(local_path,s) for s in sources]
mod_file = os.path.join(local_path,mod_name+'.pyf')
if dep_util.newer_group(sources,mod_file):
generate_interface(mod_name,sources[0],mod_file)
sources = filter(lambda s:s[-4:]!='.pyf',sources)
+ if mod_name in ['flapack']:
+ sources += flapack_mask
ext_args = {'name':dot_join(parent_package,'linalg',mod_name),
'sources':[mod_file]+sources}
dict_append(ext_args,**atlas_info)
@@ -56,6 +63,7 @@
for f in ['det.f','lu.f', #'wrappers.c','inv.f',
]:
flinalg.append(os.path.join(local_path,'src',f))
+ flinalg += flapack_mask
ext_args = {'name':dot_join(parent_package,'linalg','_flinalg'),
'sources':flinalg}
dict_append(ext_args,**atlas_info)
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
More information about the SciPy-User
mailing list