[OctDev] new packages uploaded and comments on the release procedure / sourceforge website
Hi, published packages I just uploaded the following newly released packages to octave-forge octcdf-1.0.17 general 1.2.0 parallel-2.0.1 the following packages have been submitted for publication but need minor fixes before uploading msh-1.0.0 bim-1.0.0 ocs-0.1.0 fpl-1.0.0 new release system As expected, activating the new web site has spawned the attention required to get the testing started and all the minor glitches that still need to be fixed are being shown, some small things I have noticed: 1) doc strings for class methods get displayed incorrectly see, e.g. http://octave.sourceforge.net/general/function/@dict/dict.html this is because the headers of the html generated by generate_html contains relative links like: which are incorrect in this case as the file is in http://octave.sourceforge.net/general/function/@dict rather than http://octave.sourceforge.net/general/function/ 2) Although I am monitoring the package-releases forum, I expect most users are not and, furthermore, old messages are being automatically purged from that forum, so I think it makes no sense to publish there the news about and release notes for new packages, I'd rather recommend posting such information to this list 3) The NEWS file is not automatically kept in sync with the index page, I'll fix this by inserting a php script to generate the NEWS file as soon as I have time (of course if someone else beats me at this I won't be disappointed) in the index page as soon All the best, c. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] OctPROJ: a new package for Octave-Forge
On 9 Feb 2010, at 11:07, José Luis García Pallero wrote: > Fixed > > I have uploaded the corrected version > > http://www.mat.ucm.es/~joseluig/descargas/octproj_src.tar.gz > > My sourceforge user is jgpallero I have added you to the developers, please follow the instructions at http://octave.sourceforge.net/packages.php to upload your code to SVN and then make a release c. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] OctPROJ: a new package for Octave-Forge
On 12 Feb 2010, at 20:10, José Luis García Pallero wrote: > 2010/2/9 c. : >> I have added you to the developers, >> please follow the instructions at >> http://octave.sourceforge.net/packages.php >> to upload your code to SVN and then make a release >> c. > > I suppose the instructuins are http://octave.sourceforge.net/developers.html yes, sorry. > Sorry, but I don't understand the procedure. Various questions: > > First of all, should the package be stored in a subversion repository? well, this is what we are currently doing, in principle with the new release system the svn repository and the package releases are completely untangled so we could allow package developement to happen elswhere taht in the OF repository. I'm not sure that's what we want, anyone got any comments about this? > Now, I use mercurial instead of svn and the package contains a > mercurial repo. what do you mean by ' the package contains a mercurial repo' ? are you uploading the full mercurial history together with the package? > Should I download and store all octave-forge repository? it's not necessary, you can just check-out just the directory where you want to upload your package... > I don't understand the part > > "You may find it easier to use the import command, especially if your > package contains subdirectories. In this case, you should not put your > directory into the octave-forge tree. Instead, change to the root of > your package tree and enter the following: > > $ cd path/below/package > $ svn import package \ > > https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/main/package > " > > in octave forge web instructions. If I try to do this, svn says > 'octproj' don't exists. I have done this without download all > octave-forge. what exactly did you try to do? > > Sorry, but this is the first time I use svn c. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] OctPROJ: a new package for Octave-Forge
On 12 Feb 2010, at 20:30, José Luis García Pallero wrote: > Sorry, but I think that I've done something wrong. > I've followed the instructions > > If you are uploading an entire package, then put your directory into > the octave-forge tree and do the following: > > $ cd octave-forge/main > $ svn add package > $ svn commit package > $ cd package > $ svn add * > $ svn commit * > > But I forget to erase some documents in the doc folder of my package > (original PDF manualf of PROJ.4 -you can download they from the web-) > and the package is so big. Can someone cancel my operation. If you just want a file to be removed from the latest SVN revision, you can do this yourself using svn rm svn commit -m'removed files uploaded by mistake' If you want the files to disappear from history completely that's a bit more tricky though. > Sorry, sorry. c. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Directory structure of ocs
On 24 May 2010, at 10:39, Thomas Weber wrote: > Ignoring the bug report, I do not want the bug report to remain ignored, I am willing to help find a fix, just not this way. > the issue of start-up time for Octave remains. I don't think there is any measurable performance hit due to the more directories added to the path, can you show any numbers supporting this? > What's the benefit of having the files separated? The directory subdivison follows the logical structure of the design of OCS, I beleive keeping the code well organized helps a lot in explaining and understanding how it works, at least it has been very useful for me in the past when explaining it to students. >> ocs is not the only package containig subdirectories, why do you see >> this problem only for ocs? > > That's a good question. I'm looking into it. > >> why is wrong to assume that PKG_ADD be in the directory above the >> code >> directories? > > FHS[1] mandates that architecture-dependent and architecture- > independent > files are separated. We put PKG_ADD files into the > architecture-dependent directory, because they normally influence only > the .oct files. The assumption that PKG_ADD influences .oct files only is wrong in this case and I beleive there are other such cases, is it possible to reconsider the choice of putting PKG_ADD in the arch dependent directory? > [1] http://www.pathname.com/fhs/ I'll have a look at the link and see if it helps me find out a way around this problem > Thomas c. -- ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Directory structure of ocs
On 24 May 2010, at 20:12, Thomas Weber wrote: > On Mon, May 24, 2010 at 06:06:10PM +0200, c. wrote: >> >> On 24 May 2010, at 10:39, Thomas Weber wrote: >> >>> Ignoring the bug report, >> I do not want the bug report to remain ignored, I am willing to help >> find a fix, just not this way. > > I meant this in the sense of "even without the bug report". I guess > it's > fair to say that this is not a real bug in the ocs package. > >>> the issue of start-up time for Octave remains. >> I don't think there is any measurable performance hit due to the more >> directories added to the path, can you show any numbers supporting >> this? > > With quite some octave-forge packages installed (actually, all that > are > in Debian currently; v.m contains just an exit; command); > > $ time octave v.m > > > real0m2.820s > user0m2.168s > sys 0m0.112s > > without any packages: > real0m0.423s > user0m0.236s > sys 0m0.048s > > So, the difference is measurable. However, most people will probably > have longer sessions, where start-up time isn't a big issue. I tried the same test on my system and the number I see are consistent with yours. The only case where a startup time < 3s may matter though is when Octave is being invoked many times within a script. In that case I would say it's better to invoke Octave with the "-qf" option and explicitely load only those packages that are actually needed, e.g. you might want to try this: time octave -qf --eval "pkg load ocs" v.m then try putting all files from ocs into one dir and rerun the test. anyway you should consider that ocs is marked as "Autoload: no" so its presence should not usually influence startup times. > Measuring > the influence of a bigger loadpath isn't as straightforward as startup > time, though. I think directories that are not included in the check for changed time-stamps should not influence octave's performance, right? is the path where debian puts the packages within what "ignore_function_time_stamp" considers system directories? > Reconsidering this is obviously a choice. However, as it seems that > currently only ocs is hit by this, I'm looking for something else. what about secs1d and secs2d? they also have subdirectories do they suffer the same problem? >>> [1] http://www.pathname.com/fhs/ >> I'll have a look at the link and see if it helps me find out a way >> around this problem > > Hold your horses. This is a distribution-specific problem. Moving > all .m > files into one directory would be an easy solution, but your > explanation > for the split-up is fair. > > Thomas -- ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Directory structure of ocs
On 24 May 2010, at 21:51, Judd Storrs wrote: > On Mon, May 24, 2010 at 3:00 PM, c. wrote: >> I tried the same test on my system and the number I see are >> consistent >> with yours. > > Do you mind if I ask how you did this? I've been trying but the timing > differences I find seem to be due to execution of the RC files not due > to directory structure. strace shows that all the m-files in the path > are stat'd at least once regardless so personally I don't expect there > to be a huge difference between having a few directories and large > directories. Surely nothing on the order of seconds. You are right, sorry, I had forgotten about ~/.octaverc. Probably I should have removed it before performing those tests. >> The only case where a startup time < 3s may matter though is when >> Octave is being invoked many times within a script. >> In that case I would say it's better to invoke Octave with the "-qf" >> option and explicitely load only those packages >> that are actually needed, e.g. you might want to try this: >> >> time octave -qf --eval "pkg load ocs" v.m > > Does this work for you? If I use -f then octave isn't able to load any > packages (octave3.2 on ubuntu 10.4). I am on OS X Leopard, Octave 3.2.3 $ octave -qf --eval "pkg load ocs" --persist octave-3.2.3:1> pkg list Package Name | Version | Installation directory ---+-+--- bim | 1.0.0 | /Users/carlo/octave/bim-1.0.0 fpl | 1.0.0 | /Users/carlo/octave/fpl-1.0.0 generate_html | 0.1.3 | /Users/carlo/octave/generate_html-0.1.3 integration | 1.0.7 | /Users/carlo/octave/integration-1.0.7 io | 1.0.10 | /Users/carlo/octave/io-1.0.10 java | 1.2.7 | /Users/carlo/octave/java-1.2.7 linear-algebra | 1.0.8 | /Users/carlo/octave/linear-algebra-1.0.8 miscellaneous | 1.0.9 | /Users/carlo/octave/miscellaneous-1.0.9 msh | 1.0.2 | /Users/carlo/octave/msh-1.0.2 nurbs | 1.1.0 | /Users/carlo/octave/nurbs-1.1.0 ocs *| 0.1.0 | /Users/carlo/octave/ocs-0.1.0 oct2mat | 1.0.7 | /Users/carlo/octave/oct2mat-1.0.7 odepkg *| 0.6.10 | /Users/carlo/octave/odepkg-0.6.10 physicalconstants | 0.1.7 | /Users/carlo/octave/ physicalconstants-0.1.7 secs1d | 0.0.8 | /Users/carlo/octave/secs1d-0.0.8 splines | 1.0.7 | /Users/carlo/octave/splines-1.0.7 statistics | 1.0.10 | /Users/carlo/octave/statistics-1.0.10 octave-3.2.3:2> pkg load nurbs octave-3.2.3:3> pkg list Package Name | Version | Installation directory ---+-+--- bim | 1.0.0 | /Users/carlo/octave/bim-1.0.0 fpl | 1.0.0 | /Users/carlo/octave/fpl-1.0.0 generate_html | 0.1.3 | /Users/carlo/octave/generate_html-0.1.3 integration | 1.0.7 | /Users/carlo/octave/integration-1.0.7 io | 1.0.10 | /Users/carlo/octave/io-1.0.10 java | 1.2.7 | /Users/carlo/octave/java-1.2.7 linear-algebra | 1.0.8 | /Users/carlo/octave/linear-algebra-1.0.8 miscellaneous | 1.0.9 | /Users/carlo/octave/miscellaneous-1.0.9 msh | 1.0.2 | /Users/carlo/octave/msh-1.0.2 nurbs *| 1.1.0 | /Users/carlo/octave/nurbs-1.1.0 ocs *| 0.1.0 | /Users/carlo/octave/ocs-0.1.0 oct2mat | 1.0.7 | /Users/carlo/octave/oct2mat-1.0.7 odepkg *| 0.6.10 | /Users/carlo/octave/odepkg-0.6.10 physicalconstants | 0.1.7 | /Users/carlo/octave/ physicalconstants-0.1.7 secs1d | 0.0.8 | /Users/carlo/octave/secs1d-0.0.8 splines | 1.0.7 | /Users/carlo/octave/splines-1.0.7 statistics | 1.0.10 | /Users/carlo/octave/statistics-1.0.10 octave-3.2.3:4> So it seems to work for me. > > --judd c. -- ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Introducing myself, and a request for SVN access
Hi, On 3 Aug 2010, at 12:08, depuis wrote: > Hello, > I already submitted code to the octave mailing lists found on > nabble. I > recently worked over implementing a data structure holder similar to R > data.frame. The code received favorable comments, and peoples asked > me to > develop a specific package on octave-forge. > > Would it be possible to create a specific entry inside the packages > tree ? > Suggested name would be "dataframe", you will have to create the new entry by yourself, see below. I vaguely rmember the thread some time ago about this topic, but I don't remember whether the option of adding your code to some other package (statistics maybe?) had been considered and why it had been ruled off. Anyway, if adding the code to another package is not an option, the name "dataframe" sounds OK. > my SF account is 'cdemills'. I added you to the OF developers. > I already > maintain my sources under SVN, what are the specific steps to follow > for > the first upload ? The simplest approach shoud be the following: cd ~/path/where/you/want/to/put/OF svn co https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge octave-forge cd ~/path/to/your/package/wdir svn export . ~/path/where/you/want/to/put/OF/octave-forge/extra/ dataframe cd ~/path/where/you/want/to/put/OF svn add dataframe svn commit -m"adding package dataframe" > Regards > Pascal Dupuis c. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] io package updated
On 25 Aug 2010, at 11:49, Søren Hauberg wrote: > man, 16 08 2010 kl. 23:30 +0200, skrev Philip Nienhuis: >> A new version (1.0.13) of the io package is in the upload forum. >> Can you >> please update it on the site, please? > > I have uploaded it; sorry for the delay. > > Søren Thanks for taking care of this, sorry I couldn't do it myself but the first days after coming back from holidays have been quite busy. c. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] A paper on evaluation of free mathematical software
On 4 Sep 2010, at 20:42, Joe Vornehm Jr. wrote: > I think corresponding with the authors is the best approach. It is > too late to change the article since it's already in press. The > authors may choose to publish a comment clarifying the results. If > Martin is still dissatisfied with their response, perhaps he might > submit a comment to the journal (author instructions here). > > I feel there are some additional issues in this paper, even beyond > the possible benchmark errors. There are major or minor > inaccuracies in almost every section that mentions Octave. I agree > that they should have been using Octave 3.2.x, which was available > well before the January submission date listed on the paper. I > don't know how they didn't find the documentation website, and > anyway, I don't know why "help" and "lookfor" don't qualify as > online documentation and indexing, or why they are considered "not > user-friendly." They neglected Java support and the packages > available via Octave-Forge. I do wish they would make their > methodology (especially their code) public so it can be inspected. > And I hope they compared the numerical results of the different > products to make sure their code was correct. > > But to put my concerns in the proper context, I think it's an > excellent idea for a paper, and I'm glad they pursued it. It's just > the kind of reference that is needed for scientists and others > choosing a computational package. I hope they are willing to work > through the issues being raised here. > > Joe V. In case anyone wants to check the results shown in that paper I prepared a script performing (what is my interpretetion of) the benchmarks listed in the tables, this could be helpful for keeping the discussion with the authors on technical grounds rather than starting a flamewar. I also reported the results I obtained on my 2.5 years old core2-duo macbook running OS X 10.5.8 and Octave.app 3.2.3. My guess is that those guys somehow got a version of Octave linked to a poor implementation of BLAS/LAPACK HTH, c. P.S. tests from the statistics section are missing as I went out of time, sorry --8<--- %%% %% %Miscellaneous operationsfreemat mathnium octave R Scilab %%% %% %Loop test 10,000 × 10,000 601.606 798.788 1526.000 261.077 271.713 tic, for ii=1:1e4, for jj=1:1e4, end, end, toc() %Elapsed time is 14.674 seconds. % 2000 × 2000 random matrix^1000 1.573 3.886 0.592 0.745 29.398 a = rand(2000); tic, a^1e3; toc() %Elapsed time is 23.488 seconds. tic, a.^1e3; toc() %Elapsed time is 0.42365 seconds. % Sorting of 5,000,000 random values 4.54594.692 1.581 1.449 2.300 a = rand (5e6, 1); tic (), sort (a); toc () %Elapsed time is 1.2075 seconds. % FFT over 220 random values 0.40523.912 0.137 0.763 0.991 a = rand (220, 1); tic (), fft (a); toc () %Elapsed time is 0.00012302 seconds. % Calculation of 2,000,000 Fibonacci numbers 1.79881.205 2.514 0.430 3.047 nf = 2e6; %with for loop tic; fib = ones (nf, 1); for ii=3:nf; fib(ii) = fib(ii-1)+fib(ii-2); end; toc() %Elapsed time is 39.529878 seconds. %with filter tic (); x = [1; zeros(nf-1, 1)]; a = [1 -1 -1]; b = 1; fibfil = filter(b, a, x); toc () %Elapsed time is 0.8 seconds. isequal (fib, fibfil) %ans = 1 % Factorial of a big integer (10 digits) 0.002 0.003 0.007 0.008 0.003 a = floor (rand (1)*1e10) %a = 8.2000e+09 tic, factorial (a); toc %Elapsed time is 0.000299 seconds. % Plot 2-D on 200,000 points 0.563 1.072 0.128 7.988 19.292 %with gnuplot a = rand (2e5, 1); tic (); plot (a); toc () %Elapsed time is 0.6472 seconds. (but the window takes much longer to show up) close all backend ('fltk') tic (); plot (a); toc () %Elapsed time is 0.04016 seconds. (and the window comes up very quickly) % Plot 3-D on 200,000 points 1.105 3.691 0.091 0.216 1.789 close all backend ('gnuplot') tic (); plot3 (a); toc () %Elapsed time is 0.4186 seconds. (but the window takes forever to show up) close all backend ('fltk') tic (); plot3 (a); toc () %Elapsed time is 0.04582 seconds. (and the window comes up very quickly) % Average performance for this group 37.71%14.57% 68.49%57.62% 31.01% %%
Re: [OctDev] Use of MATLAB Central (was Re: GPL violations)
To add one point of data to this discussion, I just noticed an interesting case that is related to the new TMW ToS: The NURBS toolbox was originally developed by M. Spink and distributed under a GPL v2 license: http://www.aria.uklinux.net/index.php3 I made an Octave package from the NURBS toolbox some time ago and uploaded it on Octave-Forge maintainig the copyright into the original files and the original license, the license is clearly stated as being GPL and the copiright holder as being M. Spink, you can see one example here: http://octave.sourceforge.net/nurbs/function/vecrotx.html I tried to contact the M.Spink at the time I started the Octave-Forge fork of the NURBS toolbox, but his email address seems to be no longer active: http://old.nabble.com/nurbs-package-ts20368543.html#a20368543 The NURBS toolbox was hosted on the Matlab Central Web Site here: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=312&objectType=file but the link is now broken as the original package was removed probably due to the change in ToS. I just noticed that someone re-uploaded the package on matlab central earlier this year: http://www.mathworks.com/matlabcentral/fileexchange/26390-nurbs-toolbox-by-d-m-spink this latter package seems to be identical to the original version, EXCEPT that 1) The copiright notice has been removed from the file headers 2) The GPL license included in the original version has been replaced by a file named "license.txt" containing a BSD license I beleive this was done to comply with the new TMW ToS, but, as the uploader of the package is NOT the copyright holder, This is clearly in violation of the terms of GPL. Does any of you have suggestions about how to react to this violation? Thanks, c. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Fwd: A paper on evaluation of free mathematical software
Dear Juan Pablo, The email of the author of the paper is not included in your post, so please forward my replies below to him. On 15 Sep 2010, at 10:51, Juan Pablo Carbajal wrote: > Moreover, about the online documentation, with online documentation we > do not mean that there is no available manual or tutorials on the > Internet. In contrast, we imply that there is not an online site with > the syntax of function of Octave, like R or Scilab. There is an "an online site with the syntax of function of Octave". To reach it, just go to http://www.octave.org and click "Docs" on the menu on the left. The direct link is: "http://www.gnu.org/software/octave/doc/ interpreter". The same documentation can be accessed from within Octave by typing the command "doc" at the Octave prompt. > About the outdated version of Octave I have to admit that our work > took place months ago and as you observe this does not have to do only > with Octave. Versions of other software are not the latest at this > time but it was when our work completed. [...snip...] > Furthermore, in our evaluation tests we do not optimize the codes but > we use the built-in functions of the software. I would like to ensure > you that all the comments and recommendations are taken seriously into > account and they will be included in our future work. Besides that, we > would not hesitate to contact the software representatives in future > for further advice and comments. It is against the intimate nature of scientific work to present results that are in a form that does not allow the community to reproduce them independently in order to assess their validity. In particular the information included in the section on performance evaluation is vague and incomplete if the code that has been run to get those timings is not distributed along with the paper. Indeed, by running what is my interpretation [attached below in Octave syntax] of the tests described in that section, I get results that differ by orders of magnitude to those presented in the paper. It would be a great contirbution to further development of free software to make the code of your benchmark tests publicly available to developers. Best regards, Carlo de Falco --8<--- %%% %% %Miscellaneous operationsfreemat mathnium octave R Scilab %%% %% %Loop test 10,000 × 10,000 601.606 798.788 1526.000 261.077 271.713 tic, for ii=1:1e4, for jj=1:1e4, end, end, toc() %Elapsed time is 14.674 seconds. % 2000 × 2000 random matrix^1000 1.573 3.886 0.592 0.745 29.398 a = rand(2000); tic, a^1e3; toc() %Elapsed time is 23.488 seconds. tic, a.^1e3; toc() %Elapsed time is 0.42365 seconds. % Sorting of 5,000,000 random values 4.54594.692 1.581 1.449 2.300 a = rand (5e6, 1); tic (), sort (a); toc () %Elapsed time is 1.2075 seconds. % FFT over 220 random values 0.40523.912 0.137 0.763 0.991 a = rand (220, 1); tic (), fft (a); toc () %Elapsed time is 0.00012302 seconds. % Calculation of 2,000,000 Fibonacci numbers 1.79881.205 2.514 0.430 3.047 nf = 2e6; %with for loop tic; fib = ones (nf, 1); for ii=3:nf; fib(ii) = fib(ii-1)+fib(ii-2); end; toc() %Elapsed time is 39.529878 seconds. %with filter tic (); x = [1; zeros(nf-1, 1)]; a = [1 -1 -1]; b = 1; fibfil = filter(b, a, x); toc () %Elapsed time is 0.8 seconds. isequal (fib, fibfil) %ans = 1 % Factorial of a big integer (10 digits) 0.002 0.003 0.007 0.008 0.003 a = floor (rand (1)*1e10) %a = 8.2000e+09 tic, factorial (a); toc %Elapsed time is 0.000299 seconds. % Plot 2-D on 200,000 points 0.563 1.072 0.128 7.988 19.292 %with gnuplot a = rand (2e5, 1); tic (); plot (a); toc () %Elapsed time is 0.6472 seconds. (but the window takes much longer to show up) close all backend ('fltk') tic (); plot (a); toc () %Elapsed time is 0.04016 seconds. (and the window comes up very quickly) % Plot 3-D on 200,000 points 1.105 3.691 0.091 0.216 1.789 close all backend ('gnuplot') tic (); plot3 (a); toc () %Elapsed time is 0.4186 seconds. (but the window takes forever to show up) close all backend ('fltk') tic (); plot3 (a); toc () %Elapsed time is 0.04582 seconds. (and the window comes up very quickly) % Average performance for this group 37.71%14.57% 68.49%57.62% 31.01% %%% % % Matrix operations freemat mathnium octave
Re: [OctDev] Problems with demo.m
On 21 Oct 2010, at 10:05, JuanPi wrote: > Dear all, > > I have been trying to documet my functions with some examples. I am > using the format described in >> help demo > > I have a function point2triag that works perfectly when I call it form > Octave's terminal, but when I use >> demo(point2triag) > I am getting an error of undefined elements in the body of the > function. > > The header is > %% p2T = point2triag(T) > % p2T = point2triag(T,degMax) > % > % Given a triangulation T produces the matrix that indicates for > each point to > % which triangles it belongs to. > % The tinagulation T is matrix fo size Ntx3 where each element is an > integer > % indicating the position of a node in a list of vertices. > % Since different points can belong to a differnt number of > triangles, the > % output has NaNs as unused elements. > % > % The optional argument degMax indicates the maximum number of > trinagles a point > % can belong to. If your mesh has a point belonging to more than 10 > trinagles > % you should use degMax > 10 (default value). > % > %!demo > %! coord=rand(10,2); > %! Tri=delaunay(coord(:,1),coord(:,2)); > %! p2T = point2triag(Tri) > > The last 3 lines defines the demo. They work perfectly in the terminal > I am using Octave 3.2.4 compiled in Ubuntu 10.04 > > Thanks > -- > JuanPi Carbajal JuanPi, If you are working a lot with triangular meshes you might want to take a look at the package msh in octave forge: http://octave.sourceforge.net/msh/index.html For example, it would be nice to add the functionality of your function 'point2triag' to the function: http://octave.sourceforge.net/msh/function/msh2m_topological_properties.html just one question, why are you using a matrix full of NaNs and not a cell-array to store p2T? I think using p2T would make it very easy to write a vectorised version of 'point2triag'... c. -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Problems with demo.m
Hi, On 21 Oct 2010, at 13:25, JuanPi wrote: > Hi c. > > Thanks a lot for the pointer. Indeed I am working with triangular > meshes. > > In my experience dealing with cells is very slow, so I try to avoid > them. > > I need this function to speed up queries to a mesh (maybe there is a > better solution), with a cost on memory and preprocessing. I use the > point2triag matrix to slice(or clip) the mesh to the region of > interest, and then do the usual call to inpolygon (or tsearch, though > I found it slow) in the clipped mesh. > This use of the matrix requires fast slicing, and I wonder if a cell > would be slower... > example > Given a extremely dense mesh "T" of the square [0 1] and Nx2 nodes > coordinates "coord". > Given points "xi" in a circle of radius 0.1 and center c=[0.5,0.5] > To get the triangles they belong to I would do > > p2T = point2triag(T); > idx = find( sumsq( coord-repmat(c,N,1),2) <= (0.1)^2) > triangles = p2T(idx,:); If I understand correctly, what you need to do is find all triangles whos vertices are all within a distance d = 0.1 from a point c = [xc, yc]. I'm not sure whether my approach is faster than yours but what I usually do when I need something like that is: triangles = find (all (ismember (t (1:3, :), (p(1,:) - xc).^2 + (p(2,:) - yc).^2 <= d^2))); this is untested but should work in Ocatve 3.3+, while in 3.2.4 I seem to recall you would need a reshape to work around a bug in ismember: triangles = find (all (reshape (ismember (t (1:3, :), (p(1,:) - xc).^2 + (p(2,:) - yc).^2 <= d^2), size(t(1:3,:); note that I have vertex coordinates in a 2 x nvertex matrix p and triangle veritces in the first 3 rows of a 4 x ntriangles matrix t, so I think p = coord' and T' = t (1:3, :). > While with a cell, I think, it wont be so easy. Please correct me if I > am wrong, I love the functionalities of cells, but at the moment I > need speed! Maybe a sparse matrix would be another option, but I have > no clue how sparse are the matrix created this way. > > Also, note that point2triag internally calculates the maximum degree > of your mesh and erases the extra columns (filled with NaNs) at the > end. > > I will be happy to contribute with the functionality, provided my code > is somehow efficient. even though I wouldn't use it in the case above, I believe point2triag would be a nice addition to msh, why do you say a cell-array is slower in this case, do you have an example benchmark? > Thanks, > > JPi c. -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Problems with demo.m
On 21 Oct 2010, at 15:20, JuanPi wrote: > Hi c. > > It may be that there is a difference. I cannot fully understand the > way you use the ismember function. To me, it looks you are comparing a > matrix with integer numbers (the triangle vertices) against a logical > matrix with 1's where the vertex of a triangle is inside the region or > in the border. I just read the help of ismember and this will just > give you the triangles that have the vertex "1". Am I right? Here a > simplified example > > % an abstract triangulation in your format > A = [1 2 3; 2 4 3; 4 5 3]'; > % the result of the distance test: vertex 3 and 1 are inside the > region > res = [1 0 1 0 0]; > B = reshape(ismember(A,res),3,3) > B = > 1 0 0 > 0 0 0 > 0 0 0 > > then the operation the functions "all" and "find" give > find(all(B)) > ans = [](1x0) > > However, now that I now the function "ismember" I may think of a use > to it! Thanks a lot. sorry, as I said that had not been tested, I had misplaced the 'find' command: try the following: >> pkg load msh fpl >> msh = msh2m_structured_mesh(linspace (0,1,100), linspace (0,1,100), 1, 1:4); >> xc = yc = .5; d = .1; >> triangles = all (reshape (ismember (msh.t (1:3, :), find ((msh.p(1,:) - xc).^2 + (msh.p(2,:) - yc).^2 <= d^2)), size (msh.t(1:3, :; >> msh.t (4, triangles) = 2; >> submsh = msh2m_submesh (msh, [], 2); >> subplot (1, 2, 1) >> pdemesh (msh.p, msh.e, msh.t) >> subplot (1, 2, 2) >> pdemesh (submsh.p, submsh.e, submsh.t) be careful, gnuplot would take a long time to plot this mesh, so I recommend doing >> close all >> backend ('fltk') before the plot part > I been checking the package mesh, it is pretty nice, but for my > objective, I would be force to create the .geo description of my > region (right?)... I'm not sure, I don't think so. > which is the result of a nonlinear mapping on the > unit hemisphere... no really easy, jeje. I am trying to merge alpha > shapes from CGAL or some functions from iso2mesh to get good meshes on > these deformed spherical sections; relying only on sampled points on > the region and its border. I'm not sure I understand what you want to do, so I am afraid I can't be of much help here. What I wanted to say is simply that, if you develop yourself some algorithms for handling triangular or tetrahedral meshes that are currently missing in msh, it woul be very nice if you contribute them to the community. > Thanks again > JPi c. -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Problems with demo.m
On 21 Oct 2010, at 16:01, JuanPi wrote: > Hi c. > > Thanks for the code I will test and learn more about the msh package. > > For sure I will contribute my code, I was thinking of making a > package, but if it can be merged to an existing one, that is great. > > JPi Sounds great! Thanks! c. -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] dataframe-0.8 released
On 29 Oct 2010, at 14:53, depuis wrote: > A new version of dataframe has been uploaded to > http://sourceforge.net/apps/phpbb/octave/viewforum.php?f=1 > > Improvments: > - don't choke when reading CSV files with empty fields > - basic operations (+,-,*,/,\) as well as dotted equivalent (.*, ...) > implemented > - many bugfixes > - ability to create an empty DF wih specified colnames, filling it > elements-by-elements later. > > Regards > > Pascal Pascal, As I already wrote in the forum, the package tarball is built incorrectly, it includes .svn directories which should not be there. To make sure this does not happen, you should do cd octave-forge/extra svn export dataframe ~/dataframe-0.8 cd ~ tar xvzf dataframe-0.8.tar.gz dataframe-0.8 can you please fix the tarball and post it again? Thanks, Carlo -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] dataframe-0.8 released
On 29 Oct 2010, at 16:40, Pascal Dupuis wrote: > 2010/10/29 c. : > > >> As I already wrote in the forum, >> the package tarball is built incorrectly, >> it includes .svn directories which should not be there. >> To make sure this does not happen, you should do >> >> cd octave-forge/extra >> svn export dataframe ~/dataframe-0.8 >> cd ~ >> tar xvzf dataframe-0.8.tar.gz dataframe-0.8 >> >> can you please fix the tarball and post it again? >> Thanks, >> Carlo >> >> > > Hello, > > I'm using another account to reply, as I can't access the other server > from my job place. I uploaded a fixed version. > > Regards > > Pascal Hi, Please forgive me for being so pedantic, the DESCRIPTION file seems to not be up-to-date as it says: Date: 2010-08-26 this will cause the 'Latest release date' on the web page to be displayed incorrectly. You should change the 'DESCRIPTION' and re-run 'generate_package_html' to fix this. Also, the format for 'SVNRelease' is: SVNRelease: 7895 I recreated the package tarball myself from the SVN repository, could you please take care of the html docs? I do not have a working octave installation at the moment as I am trying to build the current developers' snapshot. c. -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] dataframe-0.8 released
On 9 Nov 2010, at 20:47, Pascal Dupuis wrote: > Just back from vacation -- I looked into the generated package, and noticed > the documentation is just plain empty. I installed the package on a test > machine, ran > generate_package_html("dataframe", "dataframe-html", "octave-forge") > and inspected the dataframe-html dir: there is no doc generated at all. Most > .m files contains an help text -- is there something specific to be sure the > help text is recognised as such ? > > Regards > > Pascal I see the dataframe package is missing an INDEX file, I added an example INDEX, please edit it to add more categories if you so deem necessary and try generating the docs once again. c. -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] savevtk
Philip, On 15 Nov 2010, at 21:09, Philip Nienhuis wrote: > Oh I didn't know. Thank you for this info. > I suppose Levente and I just followed Martin Helm's suggestion (in the > maintainers-octave ML) to put them in IO. > Googling around for vtk I got the impression that vtk is more related to > graphics output than just plain file I/O but then again not so closely as to > put the scripts in the plot pkg. > > So, if there's already a better home for vtk in the fpl pkg I think > it's a good idea to put them there. > > I'll wipe them from io svn (I uploaded them just yesterday). I didn't mean to say you should remove them, maybe io IS the right place for functions that write vtk files? what I meant is that, given that we have many different functions that save to different vtk file formats, maybe we should chose one single package where they all can be put together. I see different possible solutions and would be interested in hearing somments from others solution 1) putting all vtk-file related functions in fpl which is a package meant to be used for allowing data visualization with external programs solution 2) as many functions to output in third party file formats are in 'io' maybe the vtk functions should also go there solution 3) 'fpl' is composed of 3 different sets of functions: [a] functions to output data in external file formats (.vtu and .dx) [b] wrappers for controlling opendx visualization from within octave [c] wrappers that produce plots in octave's own plotting system with a syntax compatible to matlab's pde-toolbox (pdeplot, pdemesh) so maybe we could get rid of 'fpl' by moving [a] into 'io' removing [b] (as opendx is now obsolete and unmaintained) and moving [c] into 'bim' which is a package similar to pdetool > Nevertheless, I think (some/most/all of) my remarks about style and error > catching still hold (especially error catching as unwary users may have undue > trouble figuring out exactly what went wrong when errors occur). I also think your comments did make sense > Philip c. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] savevtk
On 16 Nov 2010, at 21:20, Philip Nienhuis wrote: > > Which brings up a relating issue: do we need some sort of quality review for > accepting scripts or packages, or do we just accept everything which comes > along? > > I only remember my first contribution to octave-forge 10 years back (funm.m) > which was about as bare as the vtk scripts recently sent in by Levente Torok. > Paul Kienzle helped me out to make them more robust; I suppose I now can > return that favor to the community, but like PK at that time, I can only do > some cosmetics. Usually the policy for accepting functions in octave forge is much less strict than for Octave, usually comments about coding standards like the ones you gave about savevtk are meant as just suggestions, but if some code is useful and works correctly it is usually not rejected because it is not up to the same standards at that of the Octave source code. I am not responsible for this choice, but I think this policy makes sense for attarcting more contributions to OF, once new developers get more involved they will probably take care themselves of cleaning up thei own functions. > We didn't hear from the author (Levente Torok) since several weeks now. > It's sometimes a bit difficult to weigh our own time for tuning scripts sent > in by passing-by users against the usefulness of those scripts. > If they are useful I don't mind putting in some effort; OTOH if the scripts > are of little general use we should invest our time in more urgent stuff. > Someone more knowledgeable in the field of vtk ...dx should have a say > here. Please? > Philip c. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] savevtk
On 18 Nov 2010, at 10:58, octave-maintainers-requ...@octave.org wrote: > > Message: 2 > Date: Wed, 17 Nov 2010 22:53:58 +0100 > From: Philip Nienhuis > Subject: Re: savevtk > To: Levente Torok > Cc: octave-maintain...@octave.org > Message-ID: <4ce44ef6.5030...@hccnet.nl> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Levente Torok wrote: >> Dear Philip, Carlo and octave-dev, >> >> I had a chance to polish things according to your commands. > > Thanks, I'll have a look at them. > >> However I have a few questions. >> >> Many of the codes do not fit into this scheme but I can accept that >> this is guideline for the future. >> >>> - 2 spaces rather than tabs (but I still use tabs in my own scripts so I >>> don't mind this particular one) >>> >>> - spaces between internal function name and left paren; no space between >>> array name and left paren or bracket >>> >>> - functions end with "endfunction" rather than "return" >>> >>> - appropriate end statements: if- elseif -else - endif / for - endfor / >>> while - endwhile / etc. >>> >> >> Why dont want we write code that maybe used with matlab too? >> This would be a benefit for all I believe. <... snip ...> > According to Carlo, to some extent I am :-) (see his last mail/post > to me) I am not saying you are too picky :) All your comments about code style are correct and agreed upon by most Octave developers, but the common practice is to impose lower constrains on functions that are included in OF forge as compared to those that are meant to go into core Octave. This practice is motivated, among other things, also by an attempt to make life easier for contributors who, like Levente, are wishing to share their code with the community. So, in the case of OF packages, how strictly a function should adhere to coding standards is left to the judgement of the maintainer of the package in which the function will go, and different packages (even if maintained by the same person) may respect the Octave coding standards to a different degree. For example I myself am among the maintainers of both 'bim' and 'nurbs', but while in the former we have tried to stick to the coding standards as much as possible and to use texinfo docstrigs to get a nicer looking documentation, in the latter we decided to use '%' for comments and to avoid texinfo markup as it is a fork from a matlab toolbox and we did not wish to break matlab compatiblity. > If you want your scripts in the io package I could adapt the code > (-style) a bit further for you (and send them to you for review before > committing them), but if you want to retain ML compatibility I suppose > your scripts perhaps should rather be elsewhere in the svn trunk. It seems we all three agreed to some extent that probably 'fpl' is a more appropriate location for 'savevtk', my only concern in that case is to make the name a bit more descriptive to distinguish it from other fpl functions that save in other vtk formats. maybe 'save_vtk_lookup_table' or something similar? > Let me know what you want. Levente, if you decide to put your code into 'fpl' I can give you access to the OF svn so you can commit yourself. > Thank you Levente. > Philip Carlo. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Octave-Forge note to users of Mac OS X 10.6 also applies to latest update 10.5.8
On 18 Nov 2010, at 19:03, bug-octave-requ...@octave.org wrote: > Message: 3 > Date: Thu, 18 Nov 2010 13:35:06 +0100 > From: Jonas Bl?thgen > Subject: Octave-Forge note to users of Mac OS X 10.6 also applies to > latest update 10.5.8 > To: b...@octave.org > Message-ID: <028fb7f6-7805-4dc5-a569-495484930...@student.uib.no> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > Dear Sir or Madam, > > I hope I am reaching the right receiver for this issue: > > The note on http://octave.sourceforge.net/ for users of Mac OS X 10.6 > after the latest security update also applies to users of Mac OS X > 10.5.8. > > Thanks for your great work! > > Jonas Bl?thgen Hi, Thanks for pointing this out, I will update the release notes to mention 10.5.8 as well. BTW, this info is related on a particular binary distribution of octave which is distributed via octave-forge and is not related to octave itself, so the correct place to discuss this issue would have been on the octave-forge mailing list: octave-dev@lists.sourceforge.net rather than here. Best regards, c. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] savevtk
On 19 Nov 2010, at 13:11, Levente Torok wrote: > If there is a way I wouldn't want to svn checkout and commit myself > because this code is really a small thing. Fine, I can do the commit myself then. > Yes we agreed in fpl package. > If you think it is necessary I would change function names something like > save_3D_vtk It's ok to add 3d to the name put that is not enough as the other function in fpl does also produce a 3d vtk file. The difference is in the the grid, if I understand correctly, your function saves data on a cartesian grid, while the one already in fpl uses an unstructured tetrahedral grid. > and > save_vector_field_vtk again this name says nothing about the kind of grid you are using. Anyway I can use this names for the moment until we think about something better. > Thanks for all the help and comment, > > Levente c. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] got message back I did not send
On 15 Dec 2010, at 09:17, Søren Hauberg wrote: > Every time you commit something to SVN an e-mail with the change gets > send to a cvs-update mailing list. If the change is large it will, > however, get held back and has to be manually approved before it gets > send to the list. > > Now, why you received this e-mail without having things checked in > recently is beyond me. It seems like the last commit to the optim > package was done 12 days ago, when 'vfzero' was added. Perhaps it's a > Source-Forge issue with the mailing lists? It's very likely a problem with SF, I received yesterday similar messages for posts I had sent to other SF mailing lists around 2 months ago. > Søren c. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] rpm packaging of octave packages
On 22 Dec 2010, at 23:17, Søren Hauberg wrote: > ons, 22 12 2010 kl. 23:05 +0100, skrev Thomas Weber: >> Having quite some experience with maintaining the splitted packages in >> Debian I can assure you that maintaining the small packages in a >> distribution is at least *an order of magnitude* more work than the >> monolithic build ever was. > > Is there anything that can be changed in Octave-Forge that would > simplify this work? I vaguely remember David had implemented a method to automatically produce an RPM out of an OF package, maybe we could have something like pkg build -rpm package_name-version.tar.gz and pkg build -deb package_name-version.tar.gz directly in pkg.m? > Søren c. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] pdeplot
Hi, On 23 Dec 2010, at 12:43, Juan Pablo Carbajal wrote: > Dear all, > Is there an octave solution to plot data on a triangular mesh? Yes, there are functions like trimesh and trisurf in octave core and pdesurf and pdemesh in the package fpl which give them a pdetool compatible interface. The package fpl also contains functions to export triangular and tetrahedral mesh data to vtk format so that it can be visualized in paraview. > I tried using griddata to convert the triangular mesh data to square > grid, but results are not satisfactory. Is anyone working on this? > > I could offer a simple opengl C++ function to do this. > I have a highly > inefficient implementation on octave using patches, but only works for > 2D triangulations and the coloring is flat (unless somebody tells me > how to fill patches with interpolated colors) the reason why patches are slow to manage in the current Octave implementation has been discussed recently on the maintainers mailing list and how that could be fixed but I cannot find a reference right now... > Thanks HTH, c. P.S. sorry I haven't been able to look in detail at your patch for msh, I hope to be able to do so during the holidays... -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] About sces2d and bim packages
On 4 Jan 2011, at 13:38, Anis Djedidi wrote: > Dear all, > > I don't know how we use secs2d and bim packages. > Could someone help me (input, output, ...)? > > Thank you. Dear Anis, The BIM package includes a tutorial that shows how to solve a problem of the form: -div ( \alpha \gamma ( \eta \nabla u - \beta u ) )+ \delta \zeta u = f g the tutorial is in the file tutorial.html in the directory doc. An example of using SECS2D to simulate a PN-diode is included below (the file to run is PNDIODE_IV) notice that the file constants.mat includes material properties of Si and SiO2 so if you want to consider a different material you will have to modify the file costants.m and re-generate constants.mat HTH, c. PNDIODE_data.m Description: Binary data PNDIODE_IV.m Description: Binary data PNDIODE.m Description: Binary data -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
Gianvito, First of all thanks for your contribution and welcome to the OF community! On 17 Jan 2011, at 20:11, Gianvito Pio wrote: > Thank you, > we will fix the points 1 and 3 immediately... > But what about the point 2? Should we put the source code and the build > instructions in the src directory? > > Thanks Actually even better would be to remove pre-built binary libraries completely and either - specify them as external dependencies that the user needs install prior to installing the package. - include source code and a makefile to build the library when the package is installed. To my knowledge, no other package includes pre-built binaries and I believe this policy makes a lot of sens from the point of view of portability. If I understand correctly the .dll file you included is meant to provide a POSIX compatible pthreads library when installing the package on windows, so this lbrary is not needed : 1 - for all users who are fortunate enough to not run windows 2 - for windows users who install octave via cygwin 3 - for users of the migw32 who only install packages that are included in the binary octave installer and never do "pkg install" themselves so why should users of categories 1,2,3 also download your .dll file? c. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
On 18 Jan 2011, at 11:09, Gianvito Pio wrote: > Thanks for your reply Carlo. > Yes, the DLL is copied to octave/bin folder only when the package is > installed on windows and it's a windows implementation of POSIX thread > library. > We thought to include it (that is for windows users only) to provide a > ready-to-use package, also because it works on both 32 and 64bit windows. > > Option 1) Just declaring it as external dependency isn't so good, because in > that case the package installation would be trickier for windows users. But > in this way the categories 1,2 and 3 won't download anything more than they > need. > > Option 2) About the alternative of including the source code...you asked me > why the users of categories 1,2 and 3 should download that 100kb DLL but > if we include the source code and the makefile the question could become "why > the users of categories 1,2, 3 should download about 180 files of sources > (about 1MB)" ? > > So, if we really have to remove the DLL I think it's better the option 1 ... > > Any other suggestion? Thanks I see, so my suggestion is to just remove the DLL from the package and declare it an external dependency, while to provide windows users with a ready-to-use package you should add your package to the precompiled packages in the windows installer, I think other packages do the same. would that be ok for you? c. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
On 18 Jan 2011, at 11:26, Gianvito Pio wrote: > Yes, this could be a solution. > What should we do to include the pre-compiled package in the windows > installer? Is there any other request we should do? > > Thanks The windows-mingw installer is maintained by benjamin lindner, I think if you contact him directly he can give you more details. c. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] enable users to download older package versions
On 23 Jan 2011, at 20:51, Olaf Till wrote: > Perusing this list I get the impression that only a limited number of > older package versions are mentioned; e.g., I see no trace of java-1.2.6 > or io-1.0.9 > As to the miscellaneous pkg, I only see miscellaneous-1.0.10.tar.gz <...> > Probably this recording of package history has been started only > recently. Of some packages, only the current version is here. Before the new system for individual package releases was created, packages used to be released all at the same time. Old pakage releases are still there but organized in a different way, for example you can find an older version of 'io-1.0.9' here: http://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/R2009-06-07/io-1.0.9.tar.gz/download 'java-1.2.6' is here: http://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/R2009-05-08/java-1.2.6.tar.gz/download and 'miscellaneous-1.0.9' is here: http://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/R2009-06-07/miscellaneous-1.0.9.tar.gz/download > Could an old package version still be uploaded somehow? As I said they are all there already, they are just sorted by date of release rather than by version number. Also notice that typing: http://downloads.sourceforge.net/octave/-.tar.gz?download sourceforge will redirect you to the correct location of any old package release. c. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
On 28 Jan 2011, at 15:42, Gianvito Pio wrote: > Has someone taken a look to our package? > Thanks Gianvito, Sorry for the late reply, the package seems ok for me except for a couple optional cosmetic changes listed below. As I know nothing about fuzzy logic, I would appreciate comments by other users about the usefulness of these functions. If no-one objects, though, I'll add you to the octave-forge developers during the weekend so that you can commit to the repository. c. 1) should probably remove fl-core-1.0/Makefile fl-core-1.0/configure that seem to do nothing interesting and are not required. 2) you could use better texinfo for the docstrings, for example itemize lists should use the "@itemize" command rather than be written manually: ## @itemize @minus ## @item 'min': use the minimum T-Norm (same as fl_intersect(@var{A},@var{B})); ## @item 'prod': use the product T-Norm; ## @item function_handle: a user-defined function as T-Norm. ## @end itemize instead of ## ## - 'min': use the minimum T-Norm (same as fl_intersect(@var{A},@var{B})); ## ## - 'prod': use the product T-Norm; ## ## - function_handle: a user-defined function as T-Norm. ## -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
On 4 Feb 2011, at 09:46, Gianvito Pio wrote: > Hello, > any news for us? > > Thanks Sorry, real life issues kept me away from Octave stuff lately. I'll add you ASAP, can you remeind me what is your SF account? c. -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
On 4 Feb 2011, at 11:06, Gianvito Pio wrote: > @Carlo: my SF username: gianvito . My colleague SF username: Piero Molino. Gianvito, I added you as a developer, as soon as your colleaugue will have some code to check-in we can add him too. > Thank you. c. -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
On 7 Feb 2011, at 09:53, Gianvito Pio wrote: > Well, I have just uploaded it with SVN, created the package, generated the > HTML and posted everything in the Package Release forum. > > Thank you. FYI: I just posted the message below in the forum (<https://sourceforge.net/apps/phpbb/octave/viewtopic.php?f=1&t=46&p=86#p86>) c. --- Hi, The package is already uploaded and can be accessed via: http://sourceforge.net/projects/octave/ ... z/download I cannot update the web pages right now though as, due to a recent attack [1], SF have disabled their shell service which is necessary for our update procedure. c. [1] https://sourceforge.net/apps/wordpress/sourceforge/ --- -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
On 7 Feb 2011, at 12:28, Andy Buckle wrote: >> I cannot update the web pages right now though as, due to a recent attack >> [1], SF have disabled their >> shell service which is necessary for our update procedure. > > Would an rsync upload work? I used to use the shell to chmod, til I > figured out that rysnc can do this for you. > > Something like I did here > http://dirwatcher.git.sourceforge.net/git/gitweb.cgi?p=dirwatcher/dirwatcher;a=blob;f=doxygen/upload_using_rysnc.sh;h=c75d539c82a2f220785b0c1853b5b642ab2d66fe;hb=HEAD Hi, Thanks! this looks like a good solution. Before I try it out, can you explain a bit better the "--chmod o=rx" bit? will this this result in all files having rw-r--r-x (645) permissions? we usually use rw-rw-r-- (664) for files and rwxrwxr-- (774) for directories, so that other users in the same group can delete and change stuff on the website. how can I distinguish permissions for files from those for directories? c. -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Registration for fuzzy logic package
On 7 Feb 2011, at 13:23, Andy Buckle wrote: > Sorry, I am far from an expert on these things. I don't know the answer. OK, thanks anyway for the hint, I'll try to learn a bit more about rsync myself and see if I can use it. c. -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] FYI: control-2.0.0 released in package forum - please upload
On 9 Feb 2011, at 14:57, Lukas Reichlin wrote: > Thank you, Søren. Could you please add a notice on > http://octave.sourceforge.net/ > > February 8, 2011 > New release of the packages: > > control-2.0.0 > fl-core-1.0.0 > octcdf-1.1.2 > > > Best Regards, > Lukas The shell service at SF is now up again, so I was able to do the update c. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Question about Precompiled Octave For MAC
On 16 Feb 2011, at 20:41, Adel Heiba wrote: > All: > > I am trying to install Octave from the precompiled binaries for Mac. I use > the operating system Snow Leopard. > > Octave works fine; but, not GNUPLOT. I get the following message when I > invoke Gnuplot from Octave. > > dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib > Referenced from: /usr/X11R6/lib/libfontconfig.1.dylib > Reason: Incompatible library version: libfontconfig.1.dylib requires > version 13.0.0 or later, but libfreetype.6.dylib provides version 10.0.0 > /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71: 1387 > Trace/BPT trap GNUTERM="${GNUTERM}" GNUPLOT_HOME="${GNUPLOT_HOME}" > PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}" > GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}" > GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}" > GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" "${ROOT}/bin/gnuplot-4.2.6" "$@" > error: you must have gnuplot installed to display graphics; if you have > gnuplot installed in a non-standard location, see the 'gnuplot_binary' > function > > > Is there a way that I can get Gnuplot to work from Octave from precompiled > binaries. > > Thanks. > > Adel How to solve this problem is explained in the README file: http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2009-10-03%20binary%20of%20Octave%203.2.3/README_OSX1065.txt/download c. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Patch for optim-1.0.15
On 23 Feb 2011, at 03:46, Thomas D. Dean wrote: > This patch corrects a warning about a Matlab shortcut. Is this the > correct place to send the patch? Yes this is the right place, but please use svn diff to create the patch. You also might want to cc the maintainer of the package to be sure he does notice your message. c. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] 2D simulation of semiconductor device
Hi, Please also keep the list in CC so the answers will be available for other users who search the archives On 24 Feb 2011, at 10:34, Anis Djedidi wrote: > Dear Carlo, > > First of all, thank you for your help. I have some other questions about > the simulation: > > Is there an easy way to plot the different variables (n, p, V, currents, > geometry, ...) ? Yes, you can use the functions from the package FPL to either - export data to VTK format and visualize it with paraview ('fpl_vtk_save_field') - plot it directly in Octave ('pdemesh' and 'pdesurf') if you use the gnuplot graphics toolkit I recommend the first approach as the second might become very slow, with the fltk graphics toolkit it is OK though. > I noticed that Open DX and gmsh are used? How could they be "connected" to > Octave? OpenDX is somewhat obsolete, the fpl package still has wrappers for it for backward compatibility, but I suggest using paraview instead. Wrappers for Gmsh are in the 'msh' package > How could we change the geometry? in the example I sent you there is an example about creating a geometry. > Is there any constraint on the geometry that I could use? I don't understand this question. > same thing for the doping profile ? same answer > Is the bim package compatible with matlab? no, it uses a lot of octave-only syntax constructs, I think it would be a PITA to convert it. > Again, thank you for your help, and we would be pleased if we collaborate. > > Yours Sincerely, > > Anis DJEDIDI > anis.djed...@polytechnique.edu HTH, c. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] 2D simulation of semiconductor device
On 24 Feb 2011, at 16:21, Anis Djedidi wrote: > > In the secs2d package, there is the function Updesurf, is it obsolete? it should still work if you have openDX installed but I'd recommend using fpl instead > I joined a pdf showing the type of geometry i need to simulate, is it > possible to do it with this package? > The p-region is limited in the two directions (that is what i mean by > "constraint") OK, now I understand. - good news is that it is quite easy to describe that kind of geometry, and you can have any spatial distribution of the doping. - bad news is that secs2D does non support heterojunctions at the moment, it assumes you have one semiconductor material and one oxide. If you want to work on removing this restriction you are very welcome and I can help, but I don't plan to work on it myself any time soon. > in the function PNDIODE, there is a variable named pow, What is its role? it is used to smoothly refine the mesh near the metallurgical junction, to see what it means compare the three plots below: x = linspace(0,1,20); subplot (3, 1, 1) plot (x, 0*x, 'x') pow = 1.7; x1 = (1-x.^pow); subplot (3, 1, 2) plot (x1, 0*x1, 'x') pow = 3; x2 = (1-x.^pow); subplot (3, 1, 3) plot (x2, 0*x2, 'x') >>> Is the bim package compatible with matlab? >> no, it uses a lot of octave-only syntax constructs, I think it would be a >> PITA to convert it. >> > Sorry, but I did not understand the expression a PITA Well, it is an acronym commonly used in online discussions, put politely it means "a major annoyance" see here for the literal meaning: http://www.urbandictionary.com/define.php?term=PITA c. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] 4 packages submitted to release forum
On 25 Feb 2011, at 11:59, Olaf Till wrote: > Hi, > > could someone please release these submitted packages: > > - parallel-2.0.5 > > - struct-1.0.9 > > - miscellaneous-1.0.11 > > - optim-1.0.16 > > Thanks, Olaf done. can you please check that it all works? thanks! c. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] 4 packages submitted to release forum
On 25 Feb 2011, at 21:58, Olaf Till wrote: > > The download button of miscellaneous leads to something wrong > (something with "Download optim-1.0.16.tar.gz (167.0 KB)"). This does not happen for me, the download button on <http://octave.sourceforge.net/packages.php> and <http://octave.sourceforge.net/miscellaneous/index.html> both link to: <http://downloads.sourceforge.net/octave/miscellaneous-1.0.11.tar.gz?download> > The others seem to work. > > Olaf c. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] io-1.0.14 release
On 4 Mar 2011, at 18:02, Philip Nienhuis wrote: > Anyway, done, just posted the stuff to the package release forum. > Hopefully all is OK now. I update the web docs for io, thanks! c. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] control-2.0.1 released in package forum - please upload
On 6 Mar 2011, at 13:02, Lukas Reichlin wrote: > Hi all, > > I've just posted control-2.0.1 (SVN Revision 8160) in the package forum [1]. > The changes are listed in the NEWS file [2]. > > The notice for > http://octave.sourceforge.net/ > > > March 6, 2011 > New release of the package: > > control-2.0.1 > > > > Best Regards, > Lukas > > [1] > http://sourceforge.net/apps/phpbb/octave/viewforum.php?f=1 > > [2] > http://octave.svn.sf.net/viewvc/octave/trunk/octave-forge/main/control/doc/NEWS?revision=8160&view=markup Uploaded, thanks! c. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] control-2.0.2 released in package forum - please upload
On 18 Mar 2011, at 22:17, Lukas Reichlin wrote: > Hi all, > > I've just posted control-2.0.2 (SVN Revision 8182) in the package forum [1]. > The changes are listed in the NEWS file [2]. > > The notice for > http://octave.sourceforge.net/ > > > March 18, 2011 > New release of the package: > control-2.0.2 > > > > Best Regards, > Lukas uploaded, thanks! c. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] PLOT broken in octave 3.4?
On 22 Mar 2011, at 12:19, Juan Pablo Carbajal wrote: > Hi, > > I am getting this message in many of my functions that call plot > (Octave 3.4 compiled in Ubuntu 10.10, all tests passed successfully) > > error: memory exhausted or requested size too large for range of > Octave's index type -- trying to return to prompt > > This reproduces the error > > x = [0.3535533905932738 0.3535526834853141 0.3535514523332243 > 0.353549308756455 0.3523764899002664 0.346780433092693] > plot(x) > > While compiling I had no errors. What can be wrong? > > The error holds if I use graphics_toolkit('fltk') > > Thank you very much This sounds like a problem you have with Octave itself, not with an Octave-Forge package so you should rather discuss it on rather than on this list. Anyway I cannot reproduce your error on my system so it is probably rlated to your local configuration. c. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Can't compile mercurial source
On 22 Mar 2011, at 13:04, Juan Pablo Carbajal wrote: >> On Tue, Mar 22, 2011 at 10:25 AM, Juan Pablo Carbajal wrote: >>> Hi, >>> I do not know if this is to be reported. If it is not, please excuse me >>> Since a week from now I cannot compile the repository code. >>> After doing >>> hg pull http://www.octave.org/hg/octave >>> hg update > For questions about compiling the developers version of Octave, you should probably ask on the Octave Help or Octave Maintainers mailing list rather than on this list which is specific to Octave-Forge. Not all people who are on those lists follow Octave Forge so you will probably find more people who are able/willing to help there. c. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] new optiminterp-0.3.3
On 25 Mar 2011, at 11:06, Alexander Barth wrote: > Hi all, > > I updated optiminterp. In this release an openmp directive was fixed. > https://sourceforge.net/apps/phpbb/octave/viewtopic.php?f=1&t=9 > > Cheers, > Alex I uploaded the new release, thaks! c. P.S. please remember to include md5 checksums next time, thenks. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] gnuplot does not work with octave
On 26 Mar 2011, at 02:22, Daniel Whitney wrote: > I downloaded Octave.app from sourceforge to my Macbook Pro running OS 10.6.6. > > Octave can't find a library when plot is invoked. dyld: Library not loaded: > /usr/X11/lib/libfreetype.6.dylib > > I can't find where this library is stored. I don't know how to find a copy or > a correct version if there is a version problem. Matlab has its own library > files so I can resolve library problems. > > gnuplot and octave are both in the Applications folder and not in subfolders. > > The whole session is as follows: Have you tried the instructions in the README for Octave.app? <http://sourceforge.net/projects/octave/files//Octave%20MacOSX%20Binary/2009-10-03%20binary%20of%20Octave%203.2.3/README_OSX1065.txt/view> These are shown automatically on the download page for Octave.app. HTH, c. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Request to join project "octave" - reg
On 31 Mar 2011, at 05:39, suvendu mohapatra wrote: > Hello, > >Kindly accept my request to join as a developer for the project > "octave". > > Thank you, > Suvendu Hi, If you refere to Octave-Forge, you should not send your request to me but to the Octave-Forge developers mailing list: . The general policy is to take into consideration only requests that have the code to be contributed as an attachment and to peridically remove inactive developer accounts. If you refer to Octave itself, you should make your request through the web interface at savannah. c. -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Testing releases
On 14 Apr 2011, at 12:56, Søren Hauberg wrote: > ons, 13 04 2011 kl. 23:04 +0200, skrev Thomas Weber: >> is there a way to test releases before they are released (hmm, sort of >> recursive statement)? I have 3 test failures in the 1.0.14 image >> package and I think that each one of them is in the package, not in my >> installation. > > I guess we can have a beta period for package releases. We could agree > to upload the package to the SF server, but not update the web pages > (thereby making the package quite hard to find). This would give some > people a chance to test. This does seem like a rather dirt solution, so > alternative suggestions are most welcome. > > Regarding the image package, then I guess I just did a sloppy piece of > work with the release (sorry). I can make a 1.0.15 release with bug > fixes, though (assuming I can find the bugs in the little time I have > available). > > Søren I think that having commands like pkg test and pkg demo would help in this testing phase. We could then require that the package maintainer include the results of the test in the submission post. IIRC this was even discussed on the developers list some time ago. I might implement this feature myself but it would take very long as I am very busy lately, so please feel free to beat me to it ;) c. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] request to register as a developer
On 15 Apr 2011, at 11:32, L. Markowsky wrote: > I'd like to register as a developer. My SourceForge username is lmarkov. > > I've started writing a package called fuzzy-logic-toolkit that implements > many of the functions in the MATLAB Fuzzy Logic Toolbox. The > fuzzy-logic-toolkit is currently usable from the commandline, and my next > task is to add the GUIs. It is currently available on SourceForge at > octave-fuzzy.sf.net and sf.net/projects/octave-fuzzy. The tarball is attached. > > Thank you. Hi, Thanks for your contribution to Octave Forge! Octave-forge already has a package for that topic, called can you have a look to see if there is much overlap between the two packages and whether they can made into one single package? I am not an expert in fuzzy logic, so I CC the developers of fl-core, Gianvito Pio and Piero Molino who might give better comments on this. c. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Octave MacOS package, funky or necessary?
Hi, First of all, if you are considering helping in making the Octave OSX binary better, you are very welcome! If you need help with this task you can continue asking questions on this mailing list but, if your questions are about the general Octave build system you will probably more easily find the support you need on or maintain...@octave.org. Also, if you are thinking about building a new binary for Octave you should be looking at a more recent version than 3.2.3, the latest available stable version is 3.4.0. On 18 Apr 2011, at 17:43, Mattias Nyberg wrote: > Hi. > > I'm having a look at the MacOS 3.2.3 package of Octave and the structure of > it makes me wonder. Does it really need to look like that? > > I'm specifically wondering about the search paths for the dynamic libraries > and why there's a flood of static libraries also in the package. > > About the search paths: Shouldn't it be possible to contain all the libraries > in the application in a nicer way? Using "/tmp/deps-i386/" and a shell script > is not really the mac way of packaging things as far as I know of. > > Do you have a specific reason for avoiding "@executable_path/xx"? Does it > interfere with the ordinary build procedure or with how Octave functions, > like runtime loaded dylibs? > Anyhow. I think Octave.app is really nice but the package makes it a bit > problematic to use under certain circumstances I'd say. > > To sum up: > - Would a more macish packing procedure interfere with Octaves > functionality in any way? > - The reason I ask is because I do know how to package applications on the > Mac but I know nothing about the structure of Octave... yet :) > > I'd appreciate any assistance in this matter. The scripts that automatically build Octave.app are found in the source-forge repository here: <http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/admin/MacOSX/> As far as I can recall since the last time I looked at it, the main idea is to build Octave using the standard UNIX toolchain and then rely on platypus <http://www.sveinbjorn.org/platypus> to create the actual application bundle. > Thank you for your time Thank you for your interest in contributing to Octave! c. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] request to register as a developer
>>>>>>>> On 15 Apr 2011, at 11:32, L. Markowsky wrote: >>>>>>>> >>>>>>>> I'd like to register as a developer. My SourceForge username is >>>>>>>> lmarkov. >>>>>>>> >>>>>>>> I've started writing a package called fuzzy-logic-toolkit that >>>>>>>> implements many of the functions in the MATLAB Fuzzy Logic Toolbox. >>>>>>>> The fuzzy-logic-toolkit is currently usable from the commandline, and >>>>>>>> my next task is to add the GUIs. It is currently available on >>>>>>>> SourceForge at octave-fuzzy.sf.net and sf.net/projects/octave-fuzzy. >>>>>>>> The tarball is attached. >>>>>>>> >>>>>>>> Thank you. >>>>>>>> >>>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Thanks for your contribution to Octave Forge! >>>>>>> >>>>>>> Octave-forge already has a package for that topic, called >>>>>> can you have a look to see if there is much overlap between the two >>>>>>> packages and whether they can made into >>>>>>> one single package? >>>>>>> >>>>>>> >>>>>>> I am not an expert in fuzzy logic, so I CC the developers of fl-core, >>>>>>> Gianvito Pio and Piero Molino >>>>>>> who might give better comments on this. >>>>>>> >>>>>>> c. >>>>>> >>>>>> Hi, >>>>>> >>>>>> Yes, I've seen fl-core, and I think that the two packages do not >>>>>> overlap. My package is meant to be an open-source equivalent of the >>>>>> MATLAB Fuzzy Logic Toolbox, and fl-core provides fuzzzy set operations >>>>>> and function composition. Also, combining them into one package would >>>>>> make my package incompatible with MATLAB's toolbox -- and this is the >>>>>> primary goal. >>>>>> >>>>>> Thanks, L. >>>>> >>>>> Hello, >>>>> >>>>> this mail is just to let the contributor know what out package is about >>>>> so he can decide what to do about it: out package contains the basic >>>>> operators useful for any fuzzy logic application. In particular we >>>>> developed a c++ native implementation of the relation composition >>>>> operator that's takes advantage multithread (if more than one core/cpu is >>>>> detected) and sparseness of data (if your input matrices of the relations >>>>> are sparse). It has a basic st of t-norms and s-norms to work with (min, >>>>> max, product, probabilistic sum) in an extremely efficient way, but you >>>>> can use a custom t-norm and a custom s-norm (but in this case the >>>>> performances drop). It's a really fast implementation, and we built >>>>> abouve it the basic fuzzy set theory operations: union, intersection, >>>>> complement and cartesian product. >>>>> >>>>> If you are building as i suppose a fuzzy logic toolbax similar to the one >>>>> in matlab, you probably implemented the above operators to deal with >>>>> linguistic variables and fuzzy rules for fuzzy inference systems. if so >>>>> you for sure had the need to compute compositions of relations and also >>>>> the other fuzzy set theory operations so you may consider using our >>>>> package for that and put it as dependency. Otherwise we may consider >>>>> merging both our and your package, but i would prefer not, as in our >>>>> intention the proposed operatos are the basic operators for fuzzy logic >>>>> and being used to construct other levels of fuzzy systems above it is how >>>>> is was meant to be used. >>>>> >>>>> I hope this email will help you, >>>>> Piero >>>> >>>> Hello, >>>> >>>> Thanks for your response. You're correct -- my package is a usable subset >>>> of the functions defined by Matlab's toolbox. Fuzzy inference systems can >>>> be built, modified, and evaluated f
Re: [OctDev] request to register as a developer
On 18 Apr 2011, at 23:17, L. Markowsky wrote: > Thank you! I recently edited three files under tests/demos. The updated > package is attached. > > Thanks, > L. Hi, It's very good to have tests with your code! Some quick comments after I had a first glance at your code: 1) as it stands, the directory 'tests' in your package will not get installed by the package manager, if one does pkg install fuzzy-logic-toolkit.tar.gz it will just disappear, so most users will never get a chance to notice it ever existed at all. for this reason statements like: "See fuzzy-logic-toolkit/tests/demos/commandline_demo.m" in the help text make no sense, no-one will ever be able to find that file. 2) please consider embedding tests and demos within functions as explained here: <http://www.gnu.org/software/octave/doc/interpreter/Test-and-Demo-Functions.html#Test-and-Demo-Functions> rather than shipping them as separate files. this will also cause the demos to be run automatically when generating docs and the output to appear on the octave-forge website. 3) the copyright notice should not contain the sentence "This file is part of Octave." Octave and Octave-forge are two separate and distinct projects, so a package being hosted in Octave-Forge does not make it part of Octave. You might want to change that with "This file is part of fuzzy-logic-toolkit." or something similar. 4) please consider using texinfo for the help text, it will make the output look better on the command line and it will make it look MUCH better in the octave-forge web pages. you will find enough examples about writing texinfo docstings in other packages on octave-forge. 5) if you don't want to use texinfo, at least remove the "##--" from the beginning and end of each docstring, it is non-standard and looks very ugly when line wrapping occurs. 6) if possible, try to stick more closely to Octave coding standards, as described here: <http://www.gnu.org/software/octave/doc/interpreter/Octave-Sources-_0028m_002dfiles_0029.html#Octave-Sources-_0028m_002dfiles_0029> this is not mandatory, though, as the policy about this in Octave-Forge is much less strict than in Octave. thanks again for your contribution! c. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] kleening up list of active developers
On 19 Apr 2011, at 02:05, Carnë Draug wrote: > On 18 April 2011 20:48, Carlo de Falco wrote: >> Does anyone know how to easily get activity info for all registered >> developers in order to select those that can be considered inactive? > > I just wrote a perl tiny script that lists all the users that made a > commit since a specified date (can be found on > http://pastebin.com/q1vK9wHQ ) > > All one needs to do is to change the value of $date_limit and > $repo_path for the obvious values. Then it lists all unique usernames > that made a commit since the specified date. > > Carnë Thanks, that is very useful! Do you think it would be possible to modify it so that it lists users that did NOT commit since a given date? c. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] kleening up list of active developers
On 19 Apr 2011, at 09:52, Søren Hauberg wrote: > man, 18 04 2011 kl. 21:48 +0200, skrev Carlo de Falco: >> I remember David used to periodically check the list of octave-forge >> developers in order to disable >> those that had been inactive for a long time and keep the total number of >> developers limited. >> >> I think that was a good idea and we should restart this periodic check. > > I agree. > >> Does anyone know how to easily get activity info for all registered >> developers in order to select those that can be considered inactive? >> >> What should the threshold between 'active' and 'inactive' be? > > I think 6 months is reasonable. I think David used to send a mail to the > people that got marked as inactive and asked if they intended to > contribute. That makes the actual value of the threshold less important. Ok, I decided to be more conservative and checked (using the very handy perl-script provided by Carnë) the users who have been inactive since April 1 2010. The list is the following: aadler adb014 bluethgen caliari chuongnguyen dfkettle dreisamrd ecm0 esteban319 ficmatinfmag floflooo frli8848 gnumuthu goffioul jgpallero jjstickel jonaphy jordigh josmithiii luqqe mazet opoplawski przykry2004 pvlanspeary rovitotv rrogers rstanchak sebald shuhua simonepernice sis-sou soender stahel stegu t-ca tealev tkasper tom_holroyd tpikonen watsma wsloand before removing anyone, I'll email them directly, but if any of the listed users sees this messages and wants to stop me from from disactivating their account please just let me know. In any case I don't think I would remove some users like adb014 jordigh goffioul gnumuthu if there is even a remote chance they'd like to contribute again I'd like to leave the door open ;) > Søren > > P.S. Thanks for thinking of these things. I'm currently finishing my > PhD, so Octave-time is practically non-existing :-( Oh, well good luck with your PhD work, anyway, in terms of available time, you'll see it can only get worse after finishing PhD ;) c. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] request to register as a developer
On 21 Apr 2011, at 13:04, w4nderlust wrote: > Hello, > > yes that's the point, and that's why they your and our package are not > joinable. You do the composition piece by piece, we do it all in once with > matrix of membership function values (also our package comes with other > built-in t-norms and s-norms and supports custom functions). > So let Carlo or someone of the maintainers decide what to do with our > package. I think that both make sense because of different goals. I stress > that probably renaming our package as fuzzy-set or something like that would > be better for user understanding (we named fl-core because we want to build > some more levels on top of it). > > Regards, > Piero I think that if it's to much work to join the packages it is OK to keep them as separate. I see no need for changing the names of the packages, so let's just keep things as they are. c. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] [Octave-tracker] [ octave-Bugs-3292411 ] Failing tests in odepkg 0.6.12
some files that > shouldn't be there (eg. the .svnignore files) in odepkg-0.6.12.tar.gz and > some other files that are missing (eg. odepkg.pdf) or that are different > (eg. Makeconf, Makefile). > > I am a bit out of practice and I used to use the package build > instructions found at http://octave.sourceforge.net/developers.html > If I follow these instructions then all these differences appear. > > Now, I used the old traditional way (I still could remember :) that was > > ./configure > make packages > cd packages > make checkpkg/main/odepkg-0.6.12.tar.gz > > and this looks very pretty: > > make checkpkg/main/odepkg-0.6.12.tar.gz > Building main/odepkg-0.6.12.tar.gz and its dependencies > Running test code for main/odepkg-0.6.12.tar.gz and its dependencies > code/odepkg-0.6.12/inst [tests 15 of 35 files] > ---> success > code/odepkg-0.6.12/src [tests 7 of 8 files] > EXIT OF RADAU AT X= 0.2671E+01 > EXIT OF RADAU AT X= 0.2671E+01 > EXIT OF RADAU5 AT X= 0.2496E+01 > EXIT OF RADAU5 AT X= 0.2496E+01 > EXIT OF RODAS AT X= 0.2499E+01 > EXIT OF RODAS AT X= 0.2499E+01 > EXIT OF SEULEX AT X= 0.2665723D+01 H= 0.4191942D+00 > EXIT OF SEULEX AT X= 0.2665723D+01 H= 0.4191942D+00 > ---> success > passes 610 out of 610 tests > > The exit codes will never disappear. They have already been there in older > odepkg(s). They come from direct implementations of outputs in the original > Fortran solver files. > > A detailed look at the mebdfi solver now brings up > octave-3.2.3:2> test odepkg_octsolver_mebdfi.cc > PASSES 28 out of 28 tests > > I've uploaded a fixed odepkg-0.6.12.tar.gz file to the package release > forum at https://sourceforge.net/apps/phpbb/octave/viewforum.php?f=1 under > odepkg-0.6.12 in the hope that someone can please replace the broken package > from the download site. > > Sorry for the trouble and > Best regards > Thomas I uploaded the new version, but in the future I think even for such a small change the version number should be incremented. c. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Where to find msh 1.0.2?
On 3 May 2011, at 21:40, Thomas Weber wrote: > Hi, > > according to http://octave.sourceforge.net/msh/index.html, there should > be a msh 1.0.2 package somewhere. However, the download page on the site > above is broken in the sense that it doesn't lead to a download. Also, > msh 1.0.2 is not in the list of individually released packages. > > Thanks > Thomas I don't know how this happened, but I re-uploaded the package it should be working now. Thanks, c. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] New version of OctPROJ package
On 13 May 2011, at 16:23, José Luis García Pallero wrote: > Hello, > I've uploaded a new version of the OctPROJ package (1.0.2) to > https://sourceforge.net/apps/phpbb/octave/viewtopic.php?f=1&t=1 forum. > Please, upload it to octave-forge > > Thanks Hi, Sorry for the EXTREMELY late reply. Could you please repackage the files using the full procedure at [url]http://octave.sourceforge.net/developers.html[/url] including uuencode and md5sum? also I don't understand why the package tarball contains a .hg directory are you developing the package in a parallel mercurial repository? anyway it would be better in order to avoid installing useless files on users' machines to remove this directory from the released package. Thanks for your contribution, c. ------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] New version of OctPROJ package
On 23 May 2011, at 23:14, José Luis García Pallero wrote: > > The uue'd files are uploaded and the .hg folder deleted I've uploaded the files, thnaks! c. -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Error of using imread
On 14 Jun 2011, at 15:16, Takashi Sugano wrote: > Hi, > > I'm using Julien Salort's Octave.app version 3.4.0 on Mac OS X 10.6.7. > It was downloaded from > <http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/> > > However, I can't use the function 'imread'. When I use the function, > following error message is showed. > > octave-3.4.0:4> xin = imread('Phalaenopsis_JPEG.jpg') > error: imread: invalid image file: imread: image reading capabilities were > disabled when Octave was compiled > error: called from: > error: > /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/image/imread.m > at line 74, column 7 > octave-3.4.0:4> > > It looks the image file was wrong. But, the image file is absolutely JPEG > file. It was downloaded in following Wikipedia site. > <http://upload.wikimedia.org/wikipedia/commons/6/6b/Phalaenopsis_JPEG.jpg> > > The same error message was generated even if I use PNG file. > How should I do to use the function ? > > Takashi This is because Octave.app was compiled with GraphicsMagick support disabled. If you want a version of Octave linked to GraphicsMagick you can either compile it yourself or install MacPorts <http://www.macports.org/> and install Octave via MacPorts <https://trac.macports.org/browser/trunk/dports/math/octave-devel/Portfile>. c. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Package PDF documentation
On 16 Jun 2011, at 18:02, Veitch, Liam wrote: > Søren > > Yes, although I am currently using the MikTex executables from outside of > octave to generate the pdf from the texi files, so I need to do some research > on how to make it platform independent - in MS Windows for example the mikTex > binaries are probably not in the user's PATH variable it would require either: > > a) asking the user to enter the location of mikTex as a parameter to a > function. > b) bundling the miktex binaries with the package. > c) creating only the Tex files and let the user do the conversion to PDF > outside of octave. > > Any thoughts? > > Liam I believe that if the octave function were able to output the help text in TeX format, leaving it to the user to run pdftex to generate the final document that would be more than enough. c. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] fuzzy-logic-toolkit version 0.2.2
On 23 Jun 2011, at 18:09, L. Markowsky wrote: > Hi, > > I've uploaded version 0.2.2 of the fuzzy-logic-toolkit to the package release > forum. > When you have a chance, would you upload them to the server? > > Many thanks, > lmarkov done, thanks! c. -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] using leasqr with developement version
Hi, Thanks for the quick reply! On 29 Jun 2011, at 08:59, Olaf Till wrote: > Please wait a minute. > > In SVN some days ago I had already removed any usage of "cell2cell" in > the optim package, including leasqr (replaced it by num2cell). And > your example with leasqr works for me. OK, I will hold any changes then. Could you please check-in your versio of optim to the SVN? the current version of leasqr is totally unusable to me, even just "demo leasqr" fails and erases the contents of the global workspace > So there is no need to increase > the version number for the dependency on "miscellaneous" (actually I > had _decreased_ this number some days ago, there is only a dependency > now due to some older code using a different scheme for option > handling). As for increasing the packages version numbers (i.e. of > miscellaneous), I had already increased it in SVN directly after the > last release, and think we should keep this new number until after the > next release. I was proposing to bump the version numbers only to make sure the right dependencies were loaded, if you removed use of cell2cell from leasqr, this is no longer needed. > The remaining point is cell2cell and your patch. Since I wrote > cell2cell (I left in miscellaneous since it can't be replaced by > num2cell in every case (but actually it can be replaced by mat2cell > with some effort)), I'd like to look at this issue first. Please wait > a few minutes till I'm ready. no hurry ;) > Olaf c. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] using leasqr with developement version
On 29 Jun 2011, at 09:16, Olaf Till wrote: > I'm not ready, but: > > Your example with cell2cell works for me, too: is your version of cell2cell the same as in the repository? > octave:5> function prova () >> m = 1; n = 1; >> plabels = cell2cell (num2cell ((1:n).'), 1); >> m >> endfunction > octave:6> prova > m = 1 > octave:7> > > Which Octave version do you use? mercurial sources cloned and built yesterday > And your patch seems to change much. Could you make it easier for me > and tell me what was the change which is needed to fix the supposed > bug, and what was actually wrong before? sorry, I got carried away with changing indentation ;) The problem seemed to be cell2cell exiting at a poit where it would leave Octave's state garbled. In order to debug this I tried to rewrite the structure of the code so to have a single return (which is the suggested Octave coding style). This alone seemed to do the trick for me so I submitted the patch ;) > Olaf c. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] using leasqr with developement version
On 29 Jun 2011, at 11:02, Olaf Till wrote: > I'd try to clarify first if indeed having a single return point is > considered mandatory It sure isn't mandatory in Octave-Forge where coding guidelines are not as strict as in Octave core. On the other hand I do find it useful when debugging ... > or if garbling the workspace if returning from > within a block could be considered a bug in Octave. This should probably be discussed on the Octave maintainers ML, I am not qualified enough to answer this question. > It worked with > previous Octave versions, and surely cell2cell is not the only place > where such a way to return was chosen. I would like to clarify that I don't think multiple return points where the CAUSE of the bug, it is a completely legitimate choice and should work. I just changed the structure to make it easier FOR ME to understand the function flow, and it happened that this removed the error which I, therefore, presume was in one of the lines of code that I changed. Although I did not learn what exactly the error was, as I had a working version of the function I went on and proposed the patch. I agree that studying further to understand the real source of the error is a better approach and encourage you to do so. > Olaf c. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] using leasqr with developement version
On 29 Jun 2011, at 10:57, Olaf Till wrote: > > But this version was already checked in. You probably didn't update to > current SVN ... You are right, although I did update the SVN repository the version I had installed is the released one. Updating to the SVN version demo leasqr now works > Olaf c. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] using leasqr with developement version
On 29 Jun 2011, at 12:21, Olaf Till wrote: > It occured to me that with your example the returns within the blocks > weren't supposed to be met at all, but only > > Cell retval (rdims); > > ... > > return octave_value (retval); > > in the outer function block. And cell2cell should have nothing to do > with Octaves workspace variables anyway. I'd guess that no mistake in > the code of cell2cell caused the "garbling", and I don't have current > tip of Octave installed ... maybe one could find a minimal example > that triggers that possible bug in Octaves unstable version, but I'll > probably won't have time for this at the moment. > > Olaf The following code works fine for me #include DEFUN_DLD (pippo, args, , "test return statement") { dim_vector rdims; rdims.resize (2); rdims(0) = 1; rdims(1) = 1; Cell retval (rdims); return octave_value (retval); } so I still do not understand whee the problem lies. I'll report back if I have time to look more into this, but since my interest was in leasqr and not cell2cell itself, it will be a very low priority task ... c. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] how to unsubscribe from octave-dev
On 15 Jul 2011, at 00:19, Hans-Jürgen Greif wrote: > Hello, > > sorry I have lost data for octave-dev subscribtion. > > My email is > > hans-juergen.gr...@kabelbw.de > > > I want to unsubscribe octave-dev. > > Regards, > > Hans You can unsubscribe using the web form at: https://lists.sourceforge.net/lists/listinfo/octave-dev see at the bottom of the page, wehere it says "To unsubscribe from Octave-dev, get a password reminder, or change your subscription options enter your subscription email address:" c. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Octave-Forge bugs in the tracker?
On 24 Jul 2011, at 20:43, Jordi Gutiérrez Hermoso wrote: > On 24 July 2011 11:51, c. wrote: >> I agree that having one separate repository for each separate >> package makes no sense. > > Why not? Essentially they are already like that. The single svn > repository for all of them isn't effectively any different than having > a single hg repo per package, with a larger hg repo containing all of > the packages as subrepos. > Checking out a single svn directory to work > on a package you care about would be functionally equivalent to > cloning its hg repo. that's why I think it makes no sense, it would add no extra functionality as compared to what can already be done, why take the effort then? furthermore some packages are comprised of very few files, e.g. physical_constants is essentially one single file, setting up a separate repository for such small packages seems like overkill. > Besides the packages themselves, the single svn repository mostly > contains stuff for the monolithic releases that hasn't been used in > years. If 'Forge isn't monolithic, why should its VCS be? well, the repository does need a bit of cleaning up, some stuff is probably there mostly because no-one had the time to check whether it still is needed. On the other hand I see no reason why things that are not packages should not be kept in the repo. > > I don't understand. Do you want developers to choose whatever resource > to distribute their packages, like github or bitbucket? We need some > centralisation, and all packages should have some sort of uniformity, > shouldn't they? Should Octave-Forge just become a webpage with links > to people's Octave packages? no, that's not what I had in mind, what I meant is that a VCS is usually needed when doing collaborative development, but some packages are not developed collaboratively, maybe rather than checking their code into the repository the developers of such packages could just upload the package at release time? rather than github or bitbucket what I had in mind was to make Octave-Forge more similar to CPAN or CTAN, except for the fact that COAN sounds funny ;) >> P.S. Is the octvae-maintainers list the best place to hold this >> discussion? shouldn't it be held on the octave-forge mailing list? > > > Also, you mentioned earlier that people get told when using Matlab > "buy another toolbox". I have not observed the majority of Matlab > users to do that. They almost always are introduced to Matlab through > site-wide licensing agreements with their university or sometimes > workplace (and very often simply disobey its license) and just use > Matlab functions without paying any attention if they're in a package > or not. Actually that's what happens in academia, but every now and then I am forced to use Matlab for some industrial project and in such case I get very specific instructions as to which toolboxes I can use and which I cant use. And I don't think Mathworks would ever respond to support requests regarding third-party developed toolboxes. > As such, users don't care if whatever function they use is in > a package or in core, neither in Matlab nor in Octave. We can have > some separation for the convenience of developers, but I think it > should be essentially encapsulated. Users shouldn't have to care too > much about which bugtracker to report bugs to, or who is the > maintainer of the package that happens to contain their functions. I think that's exactly what a clear separation of the projects intends to avoid. Entry barriers on Octave-Forge are kept low in order to encourage contributions. Not many constraints are imposed in terms of coding standards, generality or matlab compatibility. Most packages uploaded to OF are stuff that someone developed for their own needs and then decided to share with others. If requested to make lots of modifications before committing their code they would mostly just give up. That's not the approach taken in Octave-core where, e.g., matlab incompatibilities are treated as bugs. Do you think it would be an efficient use of resources to have Octave-core developers to take care of complaints about some functions for some very niche application in some forge package being not matlab compatible? The standard response of "that's a function from an OF package please contact the package maintainer" seems like a good way to avoid this. > Basically, all I'm proposing here is that if reduce barriers to entry > and we use a uniform platform for development, we could have very > beneficial cross pollination between Octave and 'Forge. I agree that entry barriers should be kept low, but for that to be possible a good separation is required in order to
Re: [OctDev] Developer of Multicore package
On 24 Jul 2011, at 20:50, Markus Buehren wrote: > Hi, > > I am the developer oft he Multicore package > (http://octave.sourceforge.net/multicore/index.html, > http://www.mathworks.com/matlabcentral/fileexchange/13775). It was submitted > on octave-forge by Chuong Nguyen. I would like to be able to change/update > the package for myself. Could you register me as an octave-forge developer? > > Yours > Markus Hi, to do that we need to know your source-forge account name. c. -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Questions about BIM
Hi, First of all, BIM is a package from Octave-Forge, it is not part of the core Octave project, so the correct place where to discuss this matter is the Octave-Forge mailing list, so I am moving this thread there. On 27 Jul 2011, at 19:42, J Stasko wrote: > I have been looking at the tutorial with BIM, > bim-1.0.1/doc/tutorial.html > > It seems that the ADR equation (or DAR equation- are they the same thing?) yes > involves a du/dt term, as described in this book preview, equation 1.1: > http://www.amazon.com/Numerical-Solutions-Time-Dependent-Advection-Diffusion-Reaction-Equations/dp/3540034404 > The title of the book you cite says it all, "Numerical Solutions of TIME DEPENDENT Advection Diffusion Reaction Equations" while the tutorial deals with a steady state DAR equation > I do not see this tutorial progressing through time. Am I correct? Yes, the extension, though, is quite trivial. For example, given the equation du/dt - d/dx (D du/dx - C u) + R u = f 0 < t < N*T after time semi-discretization with implicit Euler method and a fixed time-step T becomes - d/dx (D d u_i /dx - C u_i) + (R + 1/T) u_i = f + u_{i-1} / T,i = 1 ... N which is a sequence of steady state DAR problems, so once you are able to solve steady-state you are able to solve time-dependent as well. If you'd like an example using more advanced time stepping techniques I have quite a few using DASPK for fully-implicit adaptive time-stepping, but I never added them to the repository because I do not have time to write documentation for them. > Thank you, > > John S. c. -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Octave-Forge bugs in the tracker?
On 7 Aug 2011, at 12:41, Søren Hauberg wrote: > søn, 31 07 2011 kl. 22:00 +0100, skrev Carnë Draug: >> at the moment, only a small part of the octave-forge devs has given an >> opinion on the subject. It would be nice to gather the opinion of >> everyone else, even if it's just "I don't really care, it's all the >> same to me". >> >> The request has been made on savannah and it seems they're just >> waiting for our reply (perfectly fine if we still decide not to move) >> https://savannah.gnu.org/task/index.php?11233 > > Well, better late than never... (sorry 'bout that) > > From a developers point of view I do not think it matters much where > Octave-Forge bugs are stored. If we just want a bug tracker (which I > guess is better than me having a bunch of mails marked as unread; that's > my way of keeping track of things), then I guess we can use the one at > Source-Forge. > > My concern is for the users: most users have a too hard time figuring > out if a bug is in Octave or in Octave-Forge (heck, even old farts like > myself makes mistakes in this regard from time to time). So, I think it > would be nice to give the users a single point of entry for filing bug > reports. JWE's point about not all Octave-Forge developers should have > full access to modifying the Octave bug tracker is a good one, and I > agree that Octave-Forge should not use the Octave tracker. Should we > then use another bug tracker hosted at Savannah? If bugs can easily be > moved between the two trackers, then fine by me. If not, I don't see the > point. Has it been determined if it is easy to move bugs between > Savannah trackers? > > Søren I'd say, if what we need is a tracker, we can just start using the SF one, no need to move to savannah for that. c. -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] [bug #34010] octave-symbolic installed but not working
On 14 Aug 2011, at 03:03, Jordi Gutiérrez Hermoso wrote: > Follow-up Comment #1, bug #34010 (project octave): > > Sigh... > > The symbolic package is unmaintained, and even if it were maintained, it's not > a core Octave package, supposedly maintained by a different team than the > present one to which you are reporting the bug. > > Nobody in Ubuntu, as far as I know, is watching the Octave bug reports, > although I take a peek every few months to see what's up. So the Ubuntu bug > reports about Octave are mostly a black hole. > > So I don't have much consolation for you. Even when the symbolic package does > work (the Debian packages do work; no idea why the Ubuntu packages don't > work), I find it pretty useless. Octave isn't meant for symbolic computation, > and if you really do need it, I think you're better off using GiNaC directly > which the package wraps. > > I think you're on your own. I'm trying to fix at least one of these problems, > namely, that you are reporting the bug to theh "wrong" people (Octave-Forge > packages supposedly have their own mailing list and bug reports separate from > core Octave). I moved this report to the Octave-Forge bug tracker at https://sourceforge.net/tracker/?func=detail&atid=102888&aid=3391328&group_id=2888 but, as Jordi said, nobody is currently maintaining the symbolic package, so, unless a new volunteer shows up, the bug isn't likely to be fixed any time soon. You might want also to consider maxima <http://maxima.sourceforge.net/> for doing symbolic computations. c. -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Installing error
On 1 Sep 2011, at 21:22, DoucheWhite wrote: > > Hi > I am trying to install the Octave 3.4.2 under my directory on a server. > Since I am not the root user, it's been really frustrating. I finally had > all the missing libraries and packages installed. Now I am stuck on this > error: it seems the problem is with building the manual, as a first guess you could try not buildig a local copy of the documentation by running configure with the option --disable-docs As this question refers to Octave and not to Octave-forge packages, for further discussion please use the octave mailing list Octave Help c. -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Octave-Forge bugs in the tracker?
On 8 Sep 2011, at 23:39, Carnë Draug wrote: > If we do stay in sourceforge, then we > should at least start using its bug tracker (which some users do use > to report bugs but no one checks. There must be a way to have a mail > be sent to octave-forge ML when anything changes on the bug tracker). Carnë, It seems that more integration with mailing lists is one of the main features of the new version of the tracker on OF: http://sourceforge.net/p/forge/documentation/Tracker%20-%20Beta/ Do you think we should try out this feature? c. -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Octave-Forge bugs in the tracker?
On 9 Sep 2011, at 03:00, Carnë Draug wrote: > Yes! It seems to me there's not enough momentum to mave a big move to > savannah. We might as well start using SF then. > > I just added myself to start watching the different trackers (bug, > feature request, patches, and support requests). There's a button on > each of these pages, one says "start monitoring" and the other says > "start watching" which I don't know the difference but selected both > anyway: > > bug -> https://sourceforge.net/tracker/?group_id=2888&atid=102888 > feature request -> https://sourceforge.net/tracker/?group_id=2888&atid=352888 > patches -> https://sourceforge.net/tracker/?group_id=2888&atid=302888 > support -> https://sourceforge.net/tracker/?group_id=2888&atid=302888 > > Could a project admin maybe create the different categories (one for > each package at least)? And update the web pages to mention that users > should use the trackers to report bugs? And when asking for support, > what should be the recommended method? The tracker for support request > or the mailing list? Carnë, I just gave you admin access, would you be able to make such changes yourself? I also think the location of the various trackers should be mentioned on the website, can you suggest the appropriate location? > Carnë c. -- Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Looking for a leader!
On 11 Sep 2011, at 09:15, Søren Hauberg wrote: > lør, 10 09 2011 kl. 22:06 +0100, skrev Carnë Draug: >> On 10 September 2011 16:58, Andy Buckle wrote: >>> On Saturday, 10 September 2011, Søren Hauberg wrote: >>>> The little time I have for >>>> Octave has then been spend on administrative things like filtering >>>> mailing lists and releasing packages. >>> >>> Why not grant upload rights to package maintainers? That would make the job >>> less onerous. >> >> I agree with Andy. Is it possible to have more than one people doing >> those jobs? I wouldn't mind help filtering the mailing list and on the >> bug tracker. > > Currently we are a couple of people doing this: Carlo is helping > uploading packages Actually you beat me to that most of the time ;) > and a couple of people are filtering mailing lists (I > actually don't know who). More people are welcome to help here. > >> I don't think the position of project leader should be to >> do all the administrative stuff. > > I agree, which is why I am looking for a replacement. I have reduced my > contributions to the administrative stuff, but there are many other > things a good project maintainer should be doing: > > * Help and guide new contributors. > * Make the hard decisions (e.g. should we move to Savannah or >not). > * Improve the infrastructure. > > (A good maintainer would be able to come up with more points...). > Currently, I am not doing any of those things, which is why I think we > need somebody new to take the maintainer role; otherwise I fear the > project will stagnate. Actually, I don't think we necessarily need ONE leader but rather more motivated and active contributors. As for hard decisions, taking them together might make them even harder but I believe the more people are involved in the decision, the more they will be likely to contribute later. I just upgraded Thomas and Carnë to project admins, hope you don't objct that. Personally I volunteer to help doing some of the boring stuff but, as you might have noticed, I do not usually have much time, so for sure I cannot commit to take care of larger projects. > Søren c. -- Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] BSD codes to include in OF
On 14 Sep 2011, at 17:15, Carnë Draug wrote: > Following his suggested locations for the functions I was thinking to > place approx in optim, majle in general, and laplacian in specfun. But > I was hoping someone would give their opinion as well. These suggestions sound OK, I was just not sure that is what the author of the functions intended to suggest. From his post it seemed he was suggesting to place the functions in Octave, not Octave-Forge... Also take care to CC the package maintainer if you are adding a file to a package. Of the packages mentioned above only 'general' appears to have a maintainer (Jaroslav), while the others are maintained by 'the community' so this applies only to that one. c. -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] octave-forge website and tracker
On 13 Sep 2011, at 23:05, Søren Hauberg wrote: > I think it is fine to play with things, but I think the move to the SF > trackers is perhaps a bit early. Did people really agree that this is > the right move (i.e. not going to Savannah) ? > As I'm trying to step back as maintainer I don't want to have a strong > opinion, but I just haven't gotten an impression of a consensus. My impression is that, although a definitive consensus has not been reached, the only person who has stepped forward to do some work to make some improvement is Carnë. I think it is a reasonable approach, as workforce is the main limiting factor, to leave the design decisions to who is willing to do the work to implement them. c. -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] BSD codes to include in OF
On 14 Sep 2011, at 16:31, Carnë Draug wrote: > On 12 September 2011 22:59, Andrew Knyazev > wrote: >> Could you please add the attached codes to Octave-Forge? >> They are all BSD. >> >> The polynomial approximation function approx.m may go in core >> with the >> other polynomial functions. >> The majorisation function majle.m perhaps >> could go in with general functions. The Laplacian function might go with >> the special matrix functions (hilb, toeplitz and such). Is approx a core function in Matlab? The rule of thumbs is usually to add to core Octave those functions that are core Matlab functions and to Octave-Forge those that are in some toolbox. Also, as Jordi already said before, to be included in the core Octave distribution, functions must comply to the Octave coding standards, while the requirements are much less strict for Octave-Forge. It is not clear from your mail where you want these functions to go, you sent the functions to Octave-forge mailing list but you mention locations that are in the Octave-core source tree, could you please be more specific. >> Please let me know where they are placed, for the reference. > > Hi, > > I'll commit the functions tonight or tomorrow unless someone reviews > them negatively. > > Carnë Carnë, where do you intend to put these functions? The OP suggested locations that are in Octave-core, not some package in Octave-Forge. Do you have suggestions for the correct packages into which to put them? c. -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] [PKG] Summary of contributions
Juan Pablo, Sorry it took me so long for me to reply to your questions on GMSH functions, it's not due to lack of interest but to lack of time On 22 Sep 2011, at 15:55, Juan Pablo Carbajal wrote: > function for the msh package > data2geo.m -- Takes a matrix descibing a polygon and generates a > file to mesh it. > pointGeo.m -- Creates the Gmesh string that describes a point. > lineGeo.m -- Creates the Gmesh string that describes a line. > lineLoopGeo.m -- Creates the Gmesh string that describes a lineloop. > planeSurfGeo.m -- Creates the Gmesh string that describes a planar Surface. > ruledSurfGeo.m -- Creates the Gmesh string that describes a ruled Surface. > > new package: geometry > Will add functions from matGeom. the functions for programmatically creating gmsh .geo files, in my opinion, are rather related to geometry than meshing, why don't you consider joining them with the svg IO functions you submitted previosly and adding them all to the geometry package? It would be great to even have automatic SVG to geo conversion! one could then draw a geometry with his/her favourite drawing program and use it as input for msh ... c. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] Package ocframe
On 29 Sep 2011, at 12:00, Juan Pablo Carbajal wrote: > So ocframe would be a subfolder of inst. When installed, the structure > is lost, this is just for maintenance. > (It is easy to change the structure to put ocframe as a subfolder of > mechanics instead of mechanics/inst). If you want you can keep subfolders in installed packages. You can have a look at "ocs" or "secs1d" to see how to do it. c. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] doubled pgmres in the linear-algebra package
On 20 Oct 2011, at 17:13, Carnë Draug wrote: > Hi Carlos > > I noticed that you have implemented 2 versions of the pgmres function > in the linear-algebra package, one in C++ and another in octave. > Should we remove one of them? If so, which? > > Carnë the m-file version was included in Octave-core as "gmres.m" so it is OK to remove it from linear-algebra. the C++ version has the same functionality but is (very slightly) faster so you might want to keep it. Also mgorth.cc which is used by gmres is now in Octave-core so is not needed there. if you are cleaning up linear algebra you might also want to look at other functions that are now in /scripts/sparse/ in the Octave-core source tree (*) in order to remove duplicates. Thanks for this and all your work on Octave Forge! Carlo (*) <http://hg.savannah.gnu.org/hgweb/octave/file/30414ff19d5e/scripts/sparse> -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] making gui
On 21 Oct 2011, at 11:41, Michael Goffioul wrote: > 2011/10/21 Wojciech Brański : >> Hi! >> This is my first mail to this list. >> I've got question about making gui for octave's programs. >> Is there any posibility to making interactive programs with >> slider, checkbox and so on for gnu octave? >> If there is, could you give me some hint where to start with? >> Thenks for answer. > > There are 2 possibilities that are available now, but are totally > incompatible with the Matlab way of doing: > 1) use pytave, then you get access to any GUI available from python > 2) use java package for octave, then you get access to the java GUI system > (maybe there are other existing solutions, but I'm not sure they'd > work out of the box and are maintained) > > OTOH there is work in progress to implement fully compatible UI > system, based on Qt. This is called QtHandles, is in very pre-alpha > stage and is available from https://github.com/goffioul/QtHandles > (you'll have to recompile octave from dev source tree if you want to > use QtHandles). > > There used to be JHandles (available fro octave-forge), but it's > currently unmaintained and is not compatible with octave 3.4.x series > (though it might still work with 3.2.x series, I'm not sure). JHandles > provides some basic UI functionalities (like uicontrol and uipanel). > > Michael. Other options where discussed in this thread: http://octave.1599824.n4.nabble.com/Building-windows-for-Octave-tp3895573p3898772.html c. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] doubled pgmres in the linear-algebra package
On 21 Oct 2011, at 13:13, Carnë Draug wrote: > 2011/10/20 c. : >> On 20 Oct 2011, at 17:13, Carnë Draug wrote: >>> I noticed that you have implemented 2 versions of the pgmres function >>> in the linear-algebra package, one in C++ and another in octave. >>> Should we remove one of them? If so, which? >> >> the m-file version was included in Octave-core as "gmres.m" so it is OK to >> remove it from linear-algebra. > > Removed. > >> the C++ version has the same functionality but is (very slightly) faster so >> you might want to keep it. > > If it has the same functionality but works faster, why not use it in > octave-core too? > Is there a reason for that other than the slightly > different API? If I recall correctly the main reason to switch to m-file was because the m-file version can handle complex matrices while the C++ would need to be adapted, the speed difference was found to not be worth the loss of generality. > >> Also mgorth.cc which is used by gmres is now in Octave-core so is not needed >> there. > > Removed > >> if you are cleaning up linear algebra you might also want to look at other >> functions that are now in >> /scripts/sparse/ in the Octave-core source tree (*) in order to remove >> duplicates. > > Also removed sprand and bicg. Thank you for pointing this out. > > Carnë c. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] doubled pgmres in the linear-algebra package
On 21 Oct 2011, at 19:28, Carnë Draug wrote: > Hmm you think it's really worth keep it in octave-forge if the > difference in speed is that small? Your're right I'm not sure it's worth the effort of maintaining an extra function, so it's OK if you remove it > And if we were to remove it (and even if not, I'd like to know how to > do this), do you know how to mark C++ functions deprecated? I think > that for m functions is enough to move them into a deprecated > directory, but what about these cases? Thanks I'm not really sure and I cannot test at the moment, but I think the .oct file should go into "deprecated" > Carnë c. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge
On 8 Nov 2011, at 15:52, Michele Martone wrote: > Yes indeed: I did not give you yet instructions for librsb :) > > It's at http://home.rzg.mpg.de/~mima/librsb.tar.gz > > Once unpacked, the intended "happy path" is: > > ./configure # many configure options, not all straightforward > make > make tests > make install > > 'make install' should install the library, the headers, and the > 'librsb-config' program. OK, I'll try that out. > Thanks --- I'll use "odepkg" and "geopdes_base" as a reference for the > configure script. If you expect an external library to be installed separately, then adding a configure script in librsb/src to check for its availability is the best way. Also remember to add this to the list of dependencies if you haven't already. > Indeed a message telling "Please install librsb" would be much more > informative than an "command not found error"! you can take care of that inside the configure script. c. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge
On 8 Nov 2011, at 16:07, Juan Pablo Carbajal wrote: > Hi, > This looks good. > I am just giving my coin in regard to the licencing. > GPLv3 is a non-commercial licence (people can not use this code in > programs user needs to pay for) > LGPL is very similar but allows commercial use. > Before deciding please check the rationale > http://www.gnu.org/licenses/why-not-lgpl.html Juan Pablo, I think what you refer to as "commercial" in your message would be better referenced as "proprietary", I'm sure Jordi will jump in to correct that at some point, anyway ... :) c. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge
On 12 Nov 2011, at 12:17, Alexander Barth wrote: > Dear Filippone, > > Also an iterative parallel solver would be very useful for me. > Currently, I'm using either a direct solver (the \ operator) or the > conjugate gradient alogorithm. > I tried to find our more information about PSBLAS but it seems that > the web-page has currently some problems (time-out). > > Best regards, > Alex Alex, Most iterative solvers in Octave are implemented as m-files so if the new matrix class overloads matrix/vector multiplication they should be already usable with the new class ... Have you tried that already? I'm trying to install the package right now to check. c. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge -> triangular example
On 12 Nov 2011, at 18:43, Carlo de Falco wrote: > 7) with a few changes I can get the sparsersb to install cleanly, but I get a > bus-error when I try to use it: > > a = > > -1.214470 1.014121 -0.565035 > 0.372437 0.935208 -0.849173 > -0.260013 0.085202 -0.362010 > >>> ss = sparsersb (a) > Checking environment RSB_USER_SET_MEM_HIERARCHY_INFO variable. > Checking hardcoded RSB_USER_SET_MEM_HIERARCHY_INFO symbol > Checking hardcoded RSB_DETECTED_MEM_HIERARCHY_INFO symbol > Available memory hierarchy info string: "" > ERROR 0xe000 : Memory hierarchy info failed to be detected. You can > bypass this by setting a meaningful RSB_USER_SET_MEM_HIERARCHY_INFO > environment variable. > ERROR 0xe000 : Memory hierarchy info failed to be detected. You can > bypass this by setting a meaningful RSB_USER_SET_MEM_HIERARCHY_INFO > environment variable. > ERROR 0xe000 : Memory hierarchy info failed to be detected. You can > bypass this by setting a meaningful RSB_USER_SET_MEM_HIERARCHY_INFO > environment variable. > panic: Bus error -- stopping myself... > Bus error > > I guess this is a problem with my librsb installation? any suggestion how to > fix it? I see I can avoid this by setting the environment variable, RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/512K,L1:8/64/32K" octave but where do I get the correct values? c. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge
On 13 Nov 2011, at 00:25, Jordi Gutiérrez Hermoso wrote: > That's a tiny sparse matrix. I'm curious about how the algorithm > scales. Can you try a couple of orders of magnitude larger? yes I will. > Also, what version of Octave is that? Are you working on dev or stable? That's the default branch pulled yesterday > - Jordi G. H. c. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge
On 13 Nov 2011, at 11:17, Michele Martone wrote: > On 2013@10:55, Carlo de Falco wrote: >> $ RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/512K,L1:8/64/32K" octave -q >> ... >> How can I check whether the system is being actually handled in parallel? >> ... > > > You can influence the OpenMP environment: > OMP_NUM_THREADS=1 RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/512K,L1:8/64/32K" > octave -q > OMP_NUM_THREADS=2 RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/512K,L1:8/64/32K" > octave -q > ... I was actually rather asking for a way to check a-posteriori ... > And also play with librsb's cache parameters: > RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/512K,L1:8/64/32K" octave -q > RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/2M,L1:8/64/32K" octave -q > RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/4M,L1:8/64/32K" octave -q What values Processor Name: Intel Core 2 Duo Processor Speed:2.4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 3 MB > For, only L2 capacity's is influential, but this may change (will > change for sure --- I expect a second wave of librsb tuning in the > future, as soon as we adapt it to be stable in sparsersb). > > Declaring a large L2 cache as in: > RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/16M,L1:8/64/32K" octave -q > may "help" getting a the matrix not subdivided at all, and hence getting > no parallelism during multiplication. Interesting enough, even with no parallelism, I still get a speed-up $ RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/16M,L1:8/64/32K" OMP_NUM_THREADS=1 octave -q >> pkg load bim >> N = 75; pp = linspace (0, 1, N); msh = bim3c_mesh_properties >> (msh3m_structured_mesh (pp, pp, pp, 1, 1:6)); >> dn = bim3c_unknowns_on_faces (msh, 1:6); in = setdiff (1:columns(msh.p), dn); >> mat= bim3a_laplacian (msh, 1, 1); A = mat(in, in); >> f = bim3a_rhs (msh, 1, 1); b = f(in); >> As = sparsersb (A); >> P = diag (diag (A)); >> tic (); x = pcg (A, b, 1e-7, 1e3, P); toc () pcg: converged in 164 iterations. the initial residual norm was reduced 1.04289e+07 times. Elapsed time is 12.6074 seconds. >> tic (); xs = pcg (As, b, 1e-7, 1e3, P); toc () pcg: converged in 164 iterations. the initial residual norm was reduced 1.04289e+07 times. Elapsed time is 10.0631 seconds. >> Yet multithreading does seem to have an impact: $ RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/3M,L1:8/64/32K" OMP_NUM_THREADS=2 octave -q >> pkg load bim >> N = 75; pp = linspace (0, 1, N); msh = bim3c_mesh_properties >> (msh3m_structured_mesh (pp, pp, pp, 1, 1:6)); >> dn = bim3c_unknowns_on_faces (msh, 1:6); in = setdiff (1:columns(msh.p), dn); >> mat= bim3a_laplacian (msh, 1, 1); A = mat(in, in); >> f = bim3a_rhs (msh, 1, 1); b = f(in); >> As = sparsersb (A); >> P = diag (diag (A)); >> tic (); x = pcg (A, b, 1e-7, 1e3, P); toc () pcg: converged in 164 iterations. the initial residual norm was reduced 1.04289e+07 times. Elapsed time is 12.6412 seconds. >> As = sparsersb (A); >> tic (); xs = pcg (As, b, 1e-7, 1e3, P); toc () pcg: converged in 164 iterations. the initial residual norm was reduced 1.04289e+07 times. Elapsed time is 7.9651 seconds. c. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge
On 13 Nov 2011, at 12:13, Michele Martone wrote: > I'm not an expert of your machine, but I find this speedup reasonable: > librsb's the speedup is limited by memory speed. > To have a rough estimate about it, could you please report the first > lines `./rsbench -M' output ? > > e.g.: on an Atom N450, librsb's "parallel MEMCPY" speedup is 20% only: > $./rsbench -M > #1 cores MEMCPY on 17810773 bytes: 0.542651 GB/s (73 times in 2.39599 s) > #2 cores MEMCPY on 17810773 bytes: 0.60361 GB/s (73 times in 2.15402 s) The output of RSB_USER_SET_MEM_HIERARCHY_INFO="L2:4/64/3M,L1:8/64/32K" /opt/librsb/bin/rsbench -M does not look like that on my machine, see below. c. #TLB benchmark. #TLB timing benchmark : scanned 128 entries spaced 4096 bytes across 524288 bytes in 0.00115108 s (424.192 MBps) #TLB timing benchmark : scanned 256 entries spaced 4096 bytes across 1048576 bytes in 0.00133705 s (730.385 MBps) #TLB timing benchmark : scanned 512 entries spaced 4096 bytes across 2097152 bytes in 0.00514293 s (379.769 MBps) #TLB timing benchmark : scanned 1024 entries spaced 4096 bytes across 4194304 bytes in 0.036422 s (107.25 MBps) #TLB timing benchmark : scanned 2048 entries spaced 4096 bytes across 8388608 bytes in 0.0742929 s (105.158 MBps) #TLB timing benchmark : scanned 4096 entries spaced 4096 bytes across 16777216 bytes in 0.148562 s (105.175 MBps) #TLB timing benchmark : scanned 8192 entries spaced 4096 bytes across 33554432 bytes in 0.299253 s (104.427 MBps) #TLB timing benchmark : scanned 16384 entries spaced 4096 bytes across 67108864 bytes in 0.596625 s (104.756 MBps) #TLB timing benchmark : scanned 32768 entries spaced 4096 bytes across 134217728 bytes in 1.1966 s (104.462 MBps) #TLB timing benchmark : scanned 65536 entries spaced 4096 bytes across 268435456 bytes in 2.38357 s (104.885 MBps) #TLB timing benchmark : scanned 131072 entries spaced 4096 bytes across 536870912 bytes in 4.77643 s (104.681 MBps) #* #begin experimental indirect array scan benchmark #* #* #autotuning.. #* ignore this: 332873405 ignore this: 624934944 ignore this: 335691116 ignore this: 1687511808 ignore this: 1926946064 ignore this: -863713472 #* #autotuning done. will proceed with presumably 1.07323 s samples #* for 8192 elements, 65536 bytes, random access time: 3.92229e-05, linear access time: 3.82903e-05, ratio 1.02436 for 397312 elements, 3178496 bytes, random access time: 0.00277281, linear access time: 0.00189008, ratio 1.46703 for 786432 elements, 6291456 bytes, random access time: 0.0134281, linear access time: 0.00394277, ratio 3.40577 for 3145728 elements, 25165824 bytes, random access time: 0.10119, linear access time: 0.0153889, ratio 6.57549 #please ignore this: 1370474044 end experimental indirect array scan benchmark #* #TLB benchmark code is unfinished! #* # This test will measure times in scanning arrays sized and aligned to fit in caches. # 2 cache levels detected #Level 1: #size sizelevel bw(MBps) READ32768 1 2616.93 WRITE 32768 1 2410.72 RW 32768 1 932.109 BZERO 32768 1 30629.6 ZERO32768 1 2640.96 MEMSET 32768 1 29606.1 MEMCPY 32768 1 29002.9 MEMCPY2 32768 1 7751.16 LINEAR_CHASE32768 1 1076.56 MORTON_CHASE32768 1 1077.62 #Level 2: #size sizelevel bw(MBps) READ3145728 2 2307.82 WRITE 3145728 2 2210.49 RW 3145728 2 923.464 BZERO 3145728 2 4123.31 ZERO3145728 2 2463.75 MEMSET 3145728 2 3977.54 MEMCPY 3145728 2 7400.41 MEMCPY2 3145728 2 3210.63 LINEAR_CHASE3145728 2 1068.29 MO
Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge
On 13 Nov 2011, at 22:20, Alexander Barth wrote: > Dear Michele, > > I would like to try the suggestion of Filippone, but I sumbled upon a > a segmentation fault for the following matrix multiplication: > > load test.mat % http://modb.oce.ulg.ac.be/mediawiki/upload/Alex/test.matbut > [i,j,s]=find(A); > A2 = sparsersb(i,j,s); > [i,j,s]=find(extx); > extx2 = sparsersb(i,j,s); > extx2*A2; > > panic: Segmentation fault -- stopping myself... > attempting to save variables to `octave-core'... > save to `octave-core' complete > Segmentation fault > > Any help would be appreciated, > Cheers, > Alex Alex, FYI, your example is working fine for me: >> load test.mat >> A2 = sparsersb (A); >> extx2 = sparsersb (extx); >> x2 = A2 * extx2; >> [ia, ja, va] = find (A); >> [ie, je, ve] = find (extx); >> A3 = sparsersb (ia, ja, va); >> extx3 = sparsersb (ie, je, ve); >> x3 = A3 * extx3; What version of Octave are you using? how did you install sparsersb? c. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev