Issue 1:
Original ticket http://projects.scipy.org/scipy/ticket/707 on 2008-07-23 by trac user rjansen, assigned to @wnbell.

Hi,

I'm trying to compile scipy on Solaris 10:

After, what seems to be a succesfull LAPACK and ATLAS build with the GNU compiler 4.0.2 (switched to sunfreeware python,w hich is build with GNU compilers

and installing NumPy with same compiler, I'm bumped into the following error below when trying to compile SciPy.

This same error shows also when using the Sun Studio 12 compiler chain. (everything rebuild with Sun compilers, due to the python used from the blastwave.org packages)

The SciPy build stage seems to switch/default to Sun Studio compiler again

scipy/optimize/minpack2/dcstep.f:

dcstep:

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2602: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2603: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2604: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2605: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2606: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2607: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2608: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2609: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2610: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2611: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2612: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2614: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools.h", line 409: Error: multiplies is not a member of std.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: While instantiating "csr_elmul_csr<int, int>(const int, const int, const int_, const int_, const int_, const int_, const int_, const int_, std::vector, std::vector, std::vector)".

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: Instantiated from non-template code.

"scipy/sparse/sparsetools/sparsetools.h", line 409: Error: Unexpected type name "T" encountered.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: While instantiating "csr_elmul_csr<int, int>(const int, const int, const int, const int_, const int_, const int_, const int_, const int_, std::vector, std::vector, std::vector)".

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: Instantiated from non-template code.

"scipy/sparse/sparsetools/sparsetools.h", line 409: Error: Operand expected instead of ")".

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: While instantiating "csr_elmul_csr<int, int>(const int, const int, const int, const int_, const int_, const int_, const int_, const int_, std::vector, std::vector, std::vector)".

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: Instantiated from non-template code.

3 Error(s) and 12 Warning(s) detected.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2602: Warning: String literal converted to char in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2603: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2604: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2605: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2606: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2607: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2608: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2609: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2610: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2611: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2612: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2614: Warning: String literal converted to char* in initialization.

"scipy/sparse/sparsetools/sparsetools.h", line 409: Error: multiplies is not a member of std.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: While instantiating "csr_elmul_csr<int, int>(const int, const int, const int_, const int_, const int_, const int_, const int_, const int_, std::vector, std::vector, std::vector)".

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: Instantiated from non-template code.

"scipy/sparse/sparsetools/sparsetools.h", line 409: Error: Unexpected type name "T" encountered.

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: While instantiating "csr_elmul_csr<int, int>(const int, const int, const int, const int_, const int_, const int_, const int_, const int_, std::vector, std::vector, std::vector)".

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: Instantiated from non-template code.

"scipy/sparse/sparsetools/sparsetools.h", line 409: Error: Operand expected instead of ")".

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: While instantiating "csr_elmul_csr<int, int>(const int, const int, const int, const int_, const int_, const int_, const int_, const int_, std::vector, std::vector, std::vector*)".

"scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087: Where: Instantiated from non-template code.

3 Error(s) and 12 Warning(s) detected.

error: Setup script exited with error: Command "CC -DNDEBUG -xO3 -xtarget=ultra -xarch=v8 -Iscipy/sparse/sparsetools -I/opt/csw/lib/python/site-packages/numpy-1.1.0-py2.5-solaris-2.10-sun4u.egg/numpy/core/include -I/opt/csw/include/python2.5 -c scipy/sparse/sparsetools/sparsetools_wrap.cxx -o build/temp.solaris-2.10-sun4u-2.5/scipy/sparse/sparsetools/sparsetools_wrap.o" failed with exit status 3

Any ideas or hints ? Or a real good cookbook to building Scipy with the Sun Studio compilers.

TIA

Regards

Issue 2:
Hi all,

This issue is meant to be read by people interested in a SciPy (package) sprint.

First things first: SciPy is a library covering very diverse topics, so do something you're interested in (say you're into signal processing, then ask one of the core developers or experienced users about what could make sense to tackle in scipy.signal).

Before you begin, please review the developer documentation. Ways to Contribute gives a good overview of how you can improve SciPy, and the SciPy Contributor Guide contains all the information you need to get started.

Here I'll list some ideas for things to do that are relatively easy to do, so suitable also for anyone who is new to contributing to an open source library.

Documentation

Documentation is often nice to get started with, if you want to focus on the process of contributing and don't want to worry too much about e.g. setting up for local development on your laptop. A valuable thing to do is to add nice examples to docstrings for functions that don't yet have an example; see gh-7168 for an overview. Another option is to add tutorials (e.g. gh-10358).

Finishing up open pull requests

If you're comfortable with Git and want to make an impact by helping to reduce our backlog of open PRs, that would be awesome! Here is a list of PRs that appear to be stalled. Please comment in the PR to avoid duplicate efforts.

When you take over an open PR, this is what you will likely want to do:

Check out the branch from which the PR was sent (requires adding the repo of the user who sent the PR as a remote first; see the latter half of this for commands).

Rebase on the current master branch (see here for commands).

Finish up remaining work, addressing open comments, etc.

Create a new PR from your branch, linking to the old one (i.e. In a comment, write supersedes and closes gh-xxxx).

If you choose to revise the commit history, please preserve original authorship of the code you started from.

Tackling new issues

There is a "good first issue" label, for issues that can be suitable to get started with if you're new to SciPy development. Click here for a list. Please comment in the issue to avoid duplicate efforts.

Your own idea

If it's an existing issue, or performance improvement, or another way of improving something that already is present in SciPy - go for it!

If you are thinking of adding a new feature, please discuss it with a core developer first (at least some sanity checking to ensure that it's something that SciPy would in principle like to include).

For domain experts

If you have expertise in a particular domain (e.g. statistics, numerical optimization, signal processing, ...) then you can make very valuable contributions by reviewing open pull requests in that domain. You do not have to be familiar with SciPy development to review PRs. If you can say "I understand this algorithm and it looks like the implementation is correct" or "I've tested this on my data and it works as expected", that's super helpful.

Discussion channels

(event specific options go here)

GitHub works too.

the mailing list is the place to propose new features; there's probably a bit slower turnaround, but it could be the appropriate channel.