Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scipy.test leaves darwin27compiled_catalog, cpp and so files behind in working directory (Trac #1567) #2092

Closed
scipy-gitbot opened this issue Apr 25, 2013 · 2 comments
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Migrated from Trac
Milestone

Comments

@scipy-gitbot
Copy link

Original ticket http://projects.scipy.org/scipy/ticket/1567 on 2011-11-23 by trac user deil, assigned to unknown.

I've had some problems building numpy and scipy on Mac OS X Lion with clang, see

http://mail.scipy.org/pipermail/scipy-user/2011-November/031042.html

http://projects.scipy.org/numpy/ticket/1987

I see test failures which I think are known (Ticket gh-2048), but in addition running the tests left behind a bunch of files in the working directory:

darwin27compiled_catalog            sc_67933097fdd75c33d4a8510b92e036032.cpp    sc_67933097fdd75c33d4a8510b92e036039.so
sc_28c0741d1901a5a5c37e5dd070703d630.cpp    sc_67933097fdd75c33d4a8510b92e036032.so     sc_d133102ab45193e072f8dbb5a1f684850.cpp
sc_28c0741d1901a5a5c37e5dd070703d630.so     sc_67933097fdd75c33d4a8510b92e036033.cpp    sc_d133102ab45193e072f8dbb5a1f684850.so
sc_28c0741d1901a5a5c37e5dd070703d631.cpp    sc_67933097fdd75c33d4a8510b92e036033.so     sc_d133102ab45193e072f8dbb5a1f684851.cpp
sc_28c0741d1901a5a5c37e5dd070703d631.so     sc_67933097fdd75c33d4a8510b92e036034.cpp    sc_d133102ab45193e072f8dbb5a1f684851.so
sc_28c0741d1901a5a5c37e5dd070703d632.cpp    sc_67933097fdd75c33d4a8510b92e036034.so     sc_d133102ab45193e072f8dbb5a1f684852.cpp
sc_28c0741d1901a5a5c37e5dd070703d632.so     sc_67933097fdd75c33d4a8510b92e036035.cpp    sc_d133102ab45193e072f8dbb5a1f684852.so
sc_67933097fdd75c33d4a8510b92e036030.cpp    sc_67933097fdd75c33d4a8510b92e036035.so     sc_d9b504d1a91ae5e28245fdf60a03c4140.cpp
sc_67933097fdd75c33d4a8510b92e036030.so     sc_67933097fdd75c33d4a8510b92e036036.cpp    sc_d9b504d1a91ae5e28245fdf60a03c4140.so
sc_67933097fdd75c33d4a8510b92e036031.cpp    sc_67933097fdd75c33d4a8510b92e036036.so     sc_d9b504d1a91ae5e28245fdf60a03c4141.cpp
sc_67933097fdd75c33d4a8510b92e036031.so     sc_67933097fdd75c33d4a8510b92e036037.cpp    sc_d9b504d1a91ae5e28245fdf60a03c4141.so
sc_67933097fdd75c33d4a8510b92e0360310.cpp   sc_67933097fdd75c33d4a8510b92e036037.so     sc_d9b504d1a91ae5e28245fdf60a03c4142.cpp
sc_67933097fdd75c33d4a8510b92e0360310.so    sc_67933097fdd75c33d4a8510b92e036038.cpp    sc_d9b504d1a91ae5e28245fdf60a03c4142.so
sc_67933097fdd75c33d4a8510b92e0360311.cpp   sc_67933097fdd75c33d4a8510b92e036038.so
sc_67933097fdd75c33d4a8510b92e0360311.so    sc_67933097fdd75c33d4a8510b92e036039.cpp

Why did weave create (or at least not clean up) those files in my working directory (which was $HOME)?

The full build and test logs are here:

http://dl.dropbox.com/u/4923986/scipy_clang_build.txt

http://dl.dropbox.com/u/4923986/scipy_clang_test.txt

Note that there are many different RuntimeWarnings and one test failure that doesn't have ARPACK in its name and might be new:

======================================================================
ERROR: test_iv_cephes_vs_amos_mass_test (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/deil/Library/Python/2.7/lib/python/site-packages/scipy/special/tests/test_basic.py", line 1640, in test_iv_cephes_vs_amos_mass_test
    v[imsk] = v.astype(int)
ValueError: NumPy boolean array indexing assignment cannot assign 1000000 input values to the 125035 output values where the mask is true
@scipy-gitbot
Copy link
Author

@rgommers wrote on 2011-11-28

The test files left behind are a known problem when running test('full'). Unfortunately no one has yet made the time to clean this up - weave is very much orphaned.

@rgommers
Copy link
Member

rgommers commented Jan 1, 2014

Finally figured this one out. Fix is coming.

rgommers added a commit to rgommers/scipy that referenced this issue Jan 1, 2014
rgommers added a commit to rgommers/scipy that referenced this issue Feb 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Migrated from Trac
Projects
None yet
Development

No branches or pull requests

2 participants