Re: [Numpy-discussion] Build fortran extension on Windows with gfortran and MSVC

2016-02-11 Thread Marek Wojciechowski
Dnia czwartek, 11 lutego 2016 16:23:23 Jose Gomez-Dans pisze: > Hi, > > On 11 February 2016 at 15:40, Marek Wojciechowski wrote: > > It seems that on Windows + Python-3.5 fortran extensions cannot be built > > anymore with f2py and mingw32 compilers, because of

Re: [Numpy-discussion] Build fortran extension on Windows with gfortran and MSVC

2016-02-11 Thread Marek Wojciechowski
Dnia czwartek, 11 lutego 2016 16:40:22 Marek Wojciechowski pisze: > Hi! > > It seems that on Windows + Python-3.5 fortran extensions cannot be built > anymore with f2py and mingw32 compilers, because of new MSVC. Here is the > short description of the errors one

[Numpy-discussion] Build fortran extension on Windows with gfortran and MSVC

2016-02-11 Thread Marek Wojciechowski
Hi! It seems that on Windows + Python-3.5 fortran extensions cannot be built anymore with f2py and mingw32 compilers, because of new MSVC. Here is the short description of the errors one gets: http://stackoverflow.com/questions/33822554/build-fortran-extension-on-windows-with-gfortran-and-msvc

[Numpy-discussion] ANN: ffnet-0.8.0 released

2015-02-16 Thread Marek Wojciechowski
ffnet-0.8.0 has been released. ffnet is a fast and easy-to-use feed-forward neural network training solution for python This version supports python 3. Look at ffnet website: http://ffnet.sourceforge.net for installation instructions and documentation. Regards, -- Marek Wojciechowski

Re: [Numpy-discussion] return type from ufuncs

2014-11-27 Thread Marek Wojciechowski
Dnia czwartek, 20 listopada 2014 18:47:41 Marek Wojciechowski pisze: > Hi! > > I wrote a simple subclass of np.ndarray and now i do call np.sum() on it. I > expected that the result will be a python float (or int) just like when > summing up regular arrays. Instead i obtain the (

Re: [Numpy-discussion] return type from ufuncs

2014-11-21 Thread Marek Wojciechowski
Dnia piątek, 21 listopada 2014 00:09:51 Nathaniel Smith pisze: > On Thu, Nov 20, 2014 at 5:47 PM, Marek Wojciechowski wrote: > > Hi! > > > > I wrote a simple subclass of np.ndarray and now i do call np.sum() on it. > > I > > expected that the result will be

[Numpy-discussion] return type from ufuncs

2014-11-20 Thread Marek Wojciechowski
method like this: def __array_wrap__(self, out_arr, context=None): selfv = self.view(np.ndarray) return np.ndarray.__array_wrap__(selfv, out_arr, context) but this just returns np.ndarray type and not float. Regards, -- Marek Wojciechowski

[Numpy-discussion] "multi meshgrid"

2014-06-04 Thread Marek Wojciechowski
Hi! Maybe there's someone who can answer the following question at stackoverflow: http://stackoverflow.com/q/24019099/1606022?sem=2 It is about extending meshgrid functionality to 2D input arrays... Regards, -- Marek ___ NumPy-Discussion mailing list

Re: [Numpy-discussion] f2py error with ifort

2008-11-08 Thread Marek Wojciechowski
ed > > fine. What happened? > > Are you on a 64-bit platform? The /opt/intel/fce/ directory suggests > that you are. You need to use --fcompiler=intelem instead. You can see > the available Fortran compilers with > >   $ python setup.py config_fc --help-fcompiler Yes, you&#x

[Numpy-discussion] f2py error with ifort

2008-11-07 Thread Marek Wojciechowski
_beameb' has Fortran sources but no Fortran compiler found This is in numpy 1.2.0. In previous verisions the compilation worked fine. What happened? Greetings, Marek -- Marek Wojciechowski ___ Numpy-discussion mailing list Numpy-

[Numpy-discussion] Numpy on AIX 5.3

2008-07-08 Thread Marek Wojciechowski
y also the above bugfix to trunk and numpy-1.1, i.e. change cxx.linker_so = [cxx.linker_so[0]] + cxx.compiler_cxx[0] + cxx.linker_so[2:] to cxx.linker_so = [cxx.linker_so[0], cxx.compiler_cxx[0]] + cxx.linker_so[2:] in line 303 of cccompiler.py in distutils. Greetings, -- Marek Wojciechowski ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Numpy-discussion Digest, Vol 22, Issue 21

2008-07-06 Thread Marek Wojciechowski
> Message: 4 > Date: Sun, 06 Jul 2008 13:36:24 +0900 > From: David Cournapeau <[EMAIL PROTECTED]> > Subject: Re: [Numpy-discussion] Numpy on AIX 5.3 > To: Discussion of Numerical Python > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-885

[Numpy-discussion] Numpy on AIX 5.3

2008-07-05 Thread Marek Wojciechowski
cxxcompiler.cxx_compiler() File "/home/marek/tmp/numpy-1.1.0/numpy/distutils/ccompiler.py", line 303, in CCompiler_cxx_compiler + cxx.linker_so[2:] TypeError: can only concatenate list (not "str") to list Setting CXX=xlc++_r (which is proper C++ compiler) does not work. How to fix