From lukeaarond at gmail.com Thu Mar 1 02:58:41 2012 From: lukeaarond at gmail.com (lukeaarond) Date: Wed, 29 Feb 2012 17:58:41 -0800 (PST) Subject: Invalid Buffer Message-ID: <1330567121590-3789217.post@n3.nabble.com> Hello, When executing my code in Scilab, diplayed in the Scliab Console is "Invalid buffer.". There is no line associated with the problem, and I cannot find anything on the web that describes this problem. Does anyone know what this could be referring to? Thanks. -- View this message in context: http://mailinglists.scilab.org/Invalid-Buffer-tp3789217p3789217.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jonathanattia at gmail.com Thu Mar 1 12:43:20 2012 From: jonathanattia at gmail.com (jonas) Date: Thu, 1 Mar 2012 03:43:20 -0800 (PST) Subject: format(): limit of the number of digits In-Reply-To: <846362911.100882.1330546081781.JavaMail.root@zmbs3.inria.fr> References: <1330544741469-3788380.post@n3.nabble.com> <846362911.100882.1330546081781.JavaMail.root@zmbs3.inria.fr> Message-ID: <1330602200118-3790165.post@n3.nabble.com> Thank you for your post. This function is valid for a floating-point number. How can I get a high number of digits for a positive integer? Here's a numerical example: factorial (24) = 23 6.204484017332394100D+23 Thank you in advance. Best regards, Jonas. -- View this message in context: http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp3788380p3790165.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jonathanattia at gmail.com Thu Mar 1 12:50:15 2012 From: jonathanattia at gmail.com (jonas) Date: Thu, 1 Mar 2012 03:50:15 -0800 (PST) Subject: format(): limit of the number of digits In-Reply-To: <846362911.100882.1330546081781.JavaMail.root@zmbs3.inria.fr> References: <1330544741469-3788380.post@n3.nabble.com> <846362911.100882.1330546081781.JavaMail.root@zmbs3.inria.fr> Message-ID: <1330602615520-3790178.post@n3.nabble.com> Thank you for your post. This syntax/function is valid for a floating-point number. How can I get a high number of digits for a positive integer? Here's a numerical example: factorial(24) = 6.204484017332394100D+23 Thank you in advance. Best regards, Jonas. -- View this message in context: http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp3788380p3790178.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jonathanattia at gmail.com Thu Mar 1 13:08:00 2012 From: jonathanattia at gmail.com (jonas) Date: Thu, 1 Mar 2012 04:08:00 -0800 (PST) Subject: format(): limit of the number of digits In-Reply-To: References: <1330544741469-3788380.post@n3.nabble.com> Message-ID: <1330603680223-3790226.post@n3.nabble.com> Thank you for your post. You think also in an algorithmic solution for a long integer? Do you know if this limitation exists in Matlab? Simple example with factorials: factorial(24) = 6.204484017332394100D+23 Jonas. -- View this message in context: http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp3788380p3790226.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Thu Mar 1 13:09:11 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 1 Mar 2012 12:09:11 -0000 Subject: [scilab-Users] Re: format(): limit of the number of digits In-Reply-To: <1330602615520-3790178.post@n3.nabble.com> Message-ID: Hi Jonas, I don't think you can do that. The longest native integer type is (AFAIK) 32 bits. This will only hold about 9 decimal digits. So the result of factorial 24 in integer form would be an overflow. -->i=int32(factorial(24)) i = -2147483648 while -->i=int32(factorial(12)) i = 479001600 works correctly and is the limit of how far you can get with an integer type. As I mentioned before, the only way I know to go beyond these limits is to do your own arithmetic with a structured type holding the extended words of the data. If your arithmetic is complicated, then this would be hard. Maybe Scilab is not the best tool for your purposes? You can find some information about this problem in Wikipedia (http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic). HTH Mike. -----Original Message----- From: jonas [mailto:jonathanattia at gmail.com] Sent: 01 March 2012 11:50 To: users at lists.scilab.org Subject: [scilab-Users] Re: format(): limit of the number of digits Thank you for your post. This syntax/function is valid for a floating-point number. How can I get a high number of digits for a positive integer? Here's a numerical example: factorial(24) = 6.204484017332394100D+23 Thank you in advance. Best regards, Jonas. -- View this message in context: http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp378838 0p3790178.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From vogt at centre-cired.fr Thu Mar 1 14:40:29 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 01 Mar 2012 14:40:29 +0100 Subject: [scilab-Users] Re: format(): limit of the number of digits In-Reply-To: References: Message-ID: <4F4F7C4D.6030902@centre-cired.fr> Hi I am not sure, but maybe this toolbo may help http://atoms.scilab.org/toolboxes/mpscilab It says it is for arbitrary precision calculus. On 01/03/2012 13:09, Mike Page wrote: > Hi Jonas, > > I don't think you can do that. The longest native integer type is (AFAIK) > 32 bits. This will only hold about 9 decimal digits. So the result of > factorial 24 in integer form would be an overflow. > > -->i=int32(factorial(24)) > i = > > -2147483648 > > while > -->i=int32(factorial(12)) > i = > > 479001600 > works correctly and is the limit of how far you can get with an integer > type. > > As I mentioned before, the only way I know to go beyond these limits is to > do your own arithmetic with a structured type holding the extended words of > the data. If your arithmetic is complicated, then this would be hard. > Maybe Scilab is not the best tool for your purposes? You can find some > information about this problem in Wikipedia > (http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic). > > HTH > Mike. > > > -----Original Message----- > From: jonas [mailto:jonathanattia at gmail.com] > Sent: 01 March 2012 11:50 > To: users at lists.scilab.org > Subject: [scilab-Users] Re: format(): limit of the number of digits > > > Thank you for your post. > > This syntax/function is valid for a floating-point number. > How can I get a high number of digits for a positive integer? > > Here's a numerical example: factorial(24) = 6.204484017332394100D+23 > > Thank you in advance. > > Best regards, > Jonas. > > -- > View this message in context: > http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp378838 > 0p3790178.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From 555.katya at mail.ru Thu Mar 1 14:24:16 2012 From: 555.katya at mail.ru (=?UTF-8?B?0JXQutCw0YLQtdGA0LjQvdCwINCd0L7QstC+0YHQtdC70L7QstCw?=) Date: Thu, 01 Mar 2012 17:24:16 +0400 Subject: =?UTF-8?B?UHJvYmxlbXMgd2l0aCB2aXN1YWxpemF0aW9uIGdyYXBoaWNzIHdpbmRvdyBh?= =?UTF-8?B?ZnRlciAgSSAgaW5zdGFsbGVkIFNjaWxhYiA1LjQuMC4gIA==?= Message-ID: Sure, I ?installed Scilab 5.3.3.? ?but the same effect. The window is black?on my laptop . But on the other computer window operates? (installed Scilab 5.4.0. and Scilab 5.3.3.). -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Thu Mar 1 14:44:59 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 01 Mar 2012 14:44:59 +0100 Subject: [scilab-Users] Re: format(): limit of the number of digits In-Reply-To: <4F4F7C4D.6030902@centre-cired.fr> References: <4F4F7C4D.6030902@centre-cired.fr> Message-ID: <4F4F7D5B.8000604@centre-cired.fr> There are also http://atoms.scilab.org/toolboxes/dbldbl : for double double precision, maintained by a member of the scilab team, and http://atoms.scilab.org/toolboxes/DD_QD which says it goes as far as quadruple double precision. Hope one of these helps On 01/03/2012 14:40, Adrien Vogt-Schilb wrote: > Hi > > I am not sure, but maybe this toolbo may help > http://atoms.scilab.org/toolboxes/mpscilab > > It says it is for arbitrary precision calculus. > > > On 01/03/2012 13:09, Mike Page wrote: >> Hi Jonas, >> >> I don't think you can do that. The longest native integer type is (AFAIK) >> 32 bits. This will only hold about 9 decimal digits. So the result of >> factorial 24 in integer form would be an overflow. >> >> -->i=int32(factorial(24)) >> i = >> >> -2147483648 >> >> while >> -->i=int32(factorial(12)) >> i = >> >> 479001600 >> works correctly and is the limit of how far you can get with an integer >> type. >> >> As I mentioned before, the only way I know to go beyond these limits is to >> do your own arithmetic with a structured type holding the extended words of >> the data. If your arithmetic is complicated, then this would be hard. >> Maybe Scilab is not the best tool for your purposes? You can find some >> information about this problem in Wikipedia >> (http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic). >> >> HTH >> Mike. >> >> >> -----Original Message----- >> From: jonas [mailto:jonathanattia at gmail.com] >> Sent: 01 March 2012 11:50 >> To:users at lists.scilab.org >> Subject: [scilab-Users] Re: format(): limit of the number of digits >> >> >> Thank you for your post. >> >> This syntax/function is valid for a floating-point number. >> How can I get a high number of digits for a positive integer? >> >> Here's a numerical example: factorial(24) = 6.204484017332394100D+23 >> >> Thank you in advance. >> >> Best regards, >> Jonas. >> >> -- >> View this message in context: >> http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp378838 >> 0p3790178.html >> Sent from the Scilab users - Mailing Lists Archives mailing list archive at >> Nabble.com. >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ >> >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arawak1 at yahoo.com Thu Mar 1 17:31:12 2012 From: arawak1 at yahoo.com (raf .) Date: Thu, 1 Mar 2012 08:31:12 -0800 (PST) Subject: [scilab-Users] RE: format(): limit of the number of digits In-Reply-To: <1330603680223-3790226.post@n3.nabble.com> References: <1330544741469-3788380.post@n3.nabble.com> <1330603680223-3790226.post@n3.nabble.com> Message-ID: <1330619472.49124.YahooMailNeo@web121605.mail.ne1.yahoo.com> Please remove from mailing list. ?Thank You! ________________________________ From: jonas To: users at lists.scilab.org Sent: Thursday, March 1, 2012 7:08 AM Subject: [scilab-Users] RE: format(): limit of the number of digits Thank you for your post. You think also in an algorithmic solution for a long integer? Do you know if this limitation exists in Matlab? Simple example with factorials: factorial(24) = 6.204484017332394100D+23 Jonas. -- View this message in context: http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp3788380p3790226.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Thu Mar 1 17:55:35 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 1 Mar 2012 16:55:35 -0000 Subject: [scilab-Users] Re: format(): limit of the number of digits In-Reply-To: <4F4F7D5B.8000604@centre-cired.fr> Message-ID: Thanks Adrien, I didn't know about these packages. Certainly mpscilab (if it works) should solve Jonas' problem. It would appear to implement the sort of scheme I was talking about. Maybe Jonas could try it out and report back with some results? Cheers, Mike. -----Original Message----- From: Adrien Vogt-Schilb [mailto:vogt at centre-cired.fr] Sent: 01 March 2012 13:45 To: users at lists.scilab.org Subject: Re: [scilab-Users] Re: format(): limit of the number of digits There are also http://atoms.scilab.org/toolboxes/dbldbl : for double double precision, maintained by a member of the scilab team, and http://atoms.scilab.org/toolboxes/DD_QD which says it goes as far as quadruple double precision. Hope one of these helps On 01/03/2012 14:40, Adrien Vogt-Schilb wrote: Hi I am not sure, but maybe this toolbo may help http://atoms.scilab.org/toolboxes/mpscilab It says it is for arbitrary precision calculus. On 01/03/2012 13:09, Mike Page wrote: Hi Jonas, I don't think you can do that. The longest native integer type is (AFAIK) 32 bits. This will only hold about 9 decimal digits. So the result of factorial 24 in integer form would be an overflow. -->i=int32(factorial(24)) i = -2147483648 while -->i=int32(factorial(12)) i = 479001600 works correctly and is the limit of how far you can get with an integer type. As I mentioned before, the only way I know to go beyond these limits is to do your own arithmetic with a structured type holding the extended words of the data. If your arithmetic is complicated, then this would be hard. Maybe Scilab is not the best tool for your purposes? You can find some information about this problem in Wikipedia (http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic). HTH Mike. -----Original Message----- From: jonas [mailto:jonathanattia at gmail.com] Sent: 01 March 2012 11:50 To: users at lists.scilab.org Subject: [scilab-Users] Re: format(): limit of the number of digits Thank you for your post. This syntax/function is valid for a floating-point number. How can I get a high number of digits for a positive integer? Here's a numerical example: factorial(24) = 6.204484017332394100D+23 Thank you in advance. Best regards, Jonas. -- View this message in context: http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp378838 0p3790178.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Fri Mar 2 22:44:28 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Fri, 02 Mar 2012 22:44:28 +0100 (CET) Subject: [scilab-Users] Tick marks inside plot In-Reply-To: <1330548930298-3788618.post@n3.nabble.com> Message-ID: Hello, ----- Mail original ----- >De: "cascodo" >?: users at lists.scilab.org >Envoy?: Mercredi 29 F?vrier 2012 21:55:30 >Objet: [scilab-Users] Tick marks inside plot > >Hello > >I am trying to position tick marks inside the plot box. Is this possible? AFAIK, the only way to do that is to cancel the default axes and to draw some customized ones with drawaxis(). An example is given below. Since drawaxis() is bugged in logarithmic mode, this is only possible for linear axes. Regards Samuel ----------- clf plot2d() ax = gca(); ax.axes_visible = ["off" "off" "off"]; db = ax.data_bounds; // Customized X axis y = db(1,2); Loc = ax.x_ticks.locations; i = find(Loc>=db(1,1) & Loc<=db(2,1)); Lab = ax.x_ticks.labels'; drawaxis(dir="u",tics="v", x=Loc(i), y=y, val=Lab(i), sub_int=2, fontsize=2); // Customized Y axis x = db(1,1); Loc = ax.y_ticks.locations; i = find(Loc>=db(1,2) & Loc<=db(2,2)); Lab = ax.y_ticks.labels'; drawaxis(dir="r",tics="v", y=Loc(i), x=x, val=Lab(i), sub_int=2, fontsize=2); -------------- next part -------------- An HTML attachment was scrubbed... URL: From helnishino at gmail.com Sun Mar 4 20:34:38 2012 From: helnishino at gmail.com (Helder Nishino) Date: Sun, 4 Mar 2012 16:34:38 -0300 Subject: Problem intalling Scilab on Mac Message-ID: Hello, I have just downloaded Scilab but I am not being able to use it. When I execute the program nothing happens and, after a while, the SciLab icon dissapers. What is happening? -------------- next part -------------- An HTML attachment was scrubbed... URL: From julie.paul at scilab.org Mon Mar 5 08:40:53 2012 From: julie.paul at scilab.org (Julie PAUL) Date: Mon, 5 Mar 2012 08:40:53 +0100 Subject: [scilab-Users] Problem intalling Scilab on Mac In-Reply-To: References: Message-ID: Dear Sir, I suppose you are under Mac OS X Lion. Unfortunately, Scilab 5.3.3 is not supported under Lion. We suggest you use Scilab 5.4.0 alpha 1 instead (http://www.scilab.org/products/scilab/download/alpha). Best Regards -- Julie PAUL Communication & Public Relations Scilab Consortium (Digiteo) Phone: +33.1.39.63.55.26 Le 4 mars 2012 ? 20:34, Helder Nishino a ?crit : > Hello, > > I have just downloaded Scilab but I am not being able to use it. When I execute the program nothing happens and, after a while, the SciLab icon dissapers. What is happening? > > From david.cheze at cea.fr Mon Mar 5 17:56:53 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Mon, 5 Mar 2012 08:56:53 -0800 (PST) Subject: scilab from command line in 5.4 alpha1 Message-ID: <1330966613038-3801226.post@n3.nabble.com> Hello, i would like to run scilab program from the command line : i want to use something like scilab -nw -f myprog.sce or scilab-adv-cli -f myprog.sce i've a W7 32 bits laptop and it fails to find scilab or scilab-adv-cli program : are these files in the 5.4 alpha1 windows distribution ? thanks, david -- View this message in context: http://mailinglists.scilab.org/scilab-from-command-line-in-5-4-alpha1-tp3801226p3801226.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Mon Mar 5 18:16:52 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Mon, 05 Mar 2012 18:16:52 +0100 Subject: [scilab-Users] fine bar graph formatting In-Reply-To: <1330523875120-3787340.post@n3.nabble.com> References: <1330523875120-3787340.post@n3.nabble.com> Message-ID: <4F54F504.3020708@limsi.fr> Hello, Just for the record I think the best way it to use graphic entities handle. Starting from the code: bar(y,0.5,'stacked'); One can get an handle on the polyline with: e=gce(); And then set the properties: e.children(2).background=3; // Green in the default CMAP e.children(1).background=5; // Red in the default CMAP Mathieu On 02/29/2012 02:57 PM, David Ch?ze wrote: > Hello, > > i would like to draw a bar graph of 'stacked' style of multiple datasets, > controlling the colors of each stacked bar in the graph and i'm presently > failing to do control the color (i can only control the color for the whole > bars): thanks for your tips. > > here 's part of my code: > > y=[ya 1-ya;ym 1-ym;ys 1-ys;yd 1-yd]; > //graphe cumul : production > //formattage > bar(y,0.5,'stacked'); > xtitle('production'); > a=gca(); > a.x_ticks.labels=["an";"mois";"sem";"veille"]; > > David > > -- > View this message in context: http://mailinglists.scilab.org/fine-bar-graph-formatting-tp3787340p3787340.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From manasdas17 at gmail.com Thu Mar 8 10:55:47 2012 From: manasdas17 at gmail.com (manasdas17) Date: Thu, 8 Mar 2012 01:55:47 -0800 (PST) Subject: Developing Toolbox for scilab Message-ID: <1331200547872-3809278.post@n3.nabble.com> Hi I am working to develope a communication toolbox for scilab.This will be compatible with all the OS available.I want some basic tutorials on this i.e,how should i proceed,how to integrate this with scilab.Most of the external modules available for scilab are not upwardly compatible.But i want it to be compatible with any version of scilab. Regards Manas IIT-Bombay India, -- View this message in context: http://mailinglists.scilab.org/Developing-Toolbox-for-scilab-tp3809278p3809278.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From david.cheze at cea.fr Thu Mar 8 12:48:08 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Thu, 8 Mar 2012 03:48:08 -0800 (PST) Subject: scilab from command line in 5.4 alpha1 In-Reply-To: <1330966613038-3801226.post@n3.nabble.com> References: <1330966613038-3801226.post@n3.nabble.com> Message-ID: <1331207288240-3809501.post@n3.nabble.com> hello, can you tell me if it (scilab-adv-cli.exe) is available in the nightly builds of scilab 5.4 alpha1 windows 32 bits distribution? or where i could find/install it? thanks, david -- View this message in context: http://mailinglists.scilab.org/scilab-from-command-line-in-5-4-alpha1-tp3801226p3809501.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Thu Mar 8 13:02:21 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 08 Mar 2012 13:02:21 +0100 Subject: [scilab-Users] Re: scilab from command line in 5.4 alpha1 In-Reply-To: <1331207288240-3809501.post@n3.nabble.com> References: <1330966613038-3801226.post@n3.nabble.com> <1331207288240-3809501.post@n3.nabble.com> Message-ID: <1331208141.13494.75.camel@korcula.inria.fr> Le jeudi 08 mars 2012 ? 03:48 -0800, David Ch?ze a ?crit : > hello, > > can you tell me if it (scilab-adv-cli.exe) is available in the nightly > builds of scilab 5.4 alpha1 windows 32 bits distribution? or where i could > find/install it? scilab-adv-cli is specific to the Unix world (ie, GNU/Linux, Unix & Mac OS X). For now, under Windows, the equivalent is scilex -nwni Sylvestre From abelahcene at gmail.com Thu Mar 8 16:41:46 2012 From: abelahcene at gmail.com (abd_bela) Date: Thu, 8 Mar 2012 07:41:46 -0800 (PST) Subject: plot correct on gnome2 not on gnome3 Message-ID: <1331221306925-3809999.post@n3.nabble.com> Hi, I ve already post the problem of plotting any graph, ( scilab 3.3 ) I noticed on the same machine , ( intel viedeo card) it is working on gnome 2.x but not on gnome3 I check it on ubuntu based and mint and debian. So ?? I tryed usecanvas(%T) and system_setproperty("jogl.gljpanel.nohw",""); but it failed. best regards thanks for help. -- View this message in context: http://mailinglists.scilab.org/plot-correct-on-gnome2-not-on-gnome3-tp3809999p3809999.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From krystian.telizyn at gmail.com Fri Mar 9 10:30:11 2012 From: krystian.telizyn at gmail.com (=?iso-8859-2?Q?Krystian_Teli=BFyn?=) Date: Fri, 9 Mar 2012 10:30:11 +0100 Subject: MacOsX 10.6.8- only console window is active. Message-ID: <4FCA9BA8-1F0F-48A9-855D-5E7F01F29C5F@gmail.com> Hello, I have some issues with Scilab. The main problem is that the only active window after program starts is Scilab console. It seems impossible to use functions on upper bar such as file, edit, aplications, prefernces. On console window I can only enter text. All buttons are inactive. My system version: snow leopard 10.6.8. What is the problem ? Best Regards Krystian Teli?yn -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri Mar 9 11:12:12 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 09 Mar 2012 11:12:12 +0100 Subject: [scilab-Users] MacOsX 10.6.8- only console window is active. In-Reply-To: <4FCA9BA8-1F0F-48A9-855D-5E7F01F29C5F@gmail.com> References: <4FCA9BA8-1F0F-48A9-855D-5E7F01F29C5F@gmail.com> Message-ID: <4F59D77C.7080400@centre-cired.fr> On 09/03/2012 10:30, Krystian Teli?yn wrote: > Hello, > I have some issues with Scilab. The main problem is that the only > active window after program starts is Scilab console. It seems > impossible to use functions on upper bar such as file, edit, > aplications, prefernces. On console window I can only enter text. All > buttons are inactive. My system version: snow leopard 10.6.8. What is > the problem ? > > Best Regards > Krystian Teli?yn > > > Hi how do you lanch scilab? This looks like you open scilab console instead of scilab. Adrien -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.cheze at cea.fr Fri Mar 9 16:47:06 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Fri, 9 Mar 2012 07:47:06 -0800 (PST) Subject: fast 2D concatenation Message-ID: <1331308026136-3813019.post@n3.nabble.com> Hello, i'm currently using the cat(1,,) function to concatenate large arrays of double of time series and it seems to run quite slow compared to other operations available on arrays in scilab. Is it a known limitation of this function and do we had better to do custom cat function with direct initialization of the array to the max size, then overwriting zero initialized part of the array with new read data ? Thanks for your help, David -- View this message in context: http://mailinglists.scilab.org/fast-2D-concatenation-tp3813019p3813019.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Serge.Steer at inria.fr Fri Mar 9 18:00:31 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 09 Mar 2012 18:00:31 +0100 Subject: [scilab-Users] fast 2D concatenation In-Reply-To: <1331308026136-3813019.post@n3.nabble.com> References: <1331308026136-3813019.post@n3.nabble.com> Message-ID: <4F5A372F.6000906@inria.fr> Le 09/03/2012 16:47, David Ch?ze a ?crit : > Hello, > > i'm currently using the cat(1,,) function to concatenate large arrays of > double of time series and it seems to run quite slow compared to other > operations available on arrays in scilab. > Is it a known limitation of this function and do we had better to do custom > cat function with direct initialization of the array to the max size, then > overwriting zero initialized part of the array with new read data ? > > Thanks for your help, > > David > > -- > View this message in context: http://mailinglists.scilab.org/fast-2D-concatenation-tp3813019p3813019.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > cat is a function that is quite generic. It allows to catenate any kind of arrays in any direction. this explain it may be slow. For 2D arrays It sould be more efficient to simply use brackets or initialization followed by a sequence of assignments. Serge Steer INRIA From constellationathome at googlemail.com Sun Mar 11 19:31:41 2012 From: constellationathome at googlemail.com (Constellation Athome) Date: Sun, 11 Mar 2012 19:31:41 +0100 Subject: 3d-plot of points, but assigning each point with a specific color, how? Message-ID: hi, I want to plot points with 3d coordinates like this http://twitpic.com/8dj7r4 but I need to assign them with different colors, so that I can have a different color for each "cluster". how do I do that? and perhaps with bigger points, so that they are better visible ;). thanks in advance, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Sun Mar 11 20:07:08 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Sun, 11 Mar 2012 20:07:08 +0100 Subject: [scilab-Users] 3d-plot of points, but assigning each point with a specific color, how? In-Reply-To: References: Message-ID: <4F5CF7DC.9040305@centre-cired.fr> On 11/03/2012 19:31, Constellation Athome wrote: > hi, > > I want to plot points with 3d coordinates like this > http://twitpic.com/8dj7r4 but I need to assign them with different > colors, so that I can have a different color for each "cluster". > how do I do that? and perhaps with bigger points, so that they are > better visible ;). > > thanks in advance, Andreas hi you lay proceed this way: for each cluster plot points in the cluster change color change mark style and size next cluster change color : e=gce() e.mark_mode = "on"; e.surface_mode = "off" e.mark_foreground=4 //this will chose a color according to the current color map. you can also use any RGB color : e.mark_foreground=color(255,123,123) change marks : use : e.mark_style e.mark_size (have a look at help mark_style) here is an example (without the loop on the clusters) plot3d e=gce() e.mark_mode = "on"; e.surface_mode = "off" e.mark_foreground=color(255,123,123) e.mark_style = 0 e.mark_size = 5 e.mark_size = .6 hope this helps adrien vogt-schilb -------------- next part -------------- An HTML attachment was scrubbed... URL: From constellationathome at googlemail.com Sun Mar 11 20:33:44 2012 From: constellationathome at googlemail.com (Constellation Athome) Date: Sun, 11 Mar 2012 20:33:44 +0100 Subject: [scilab-Users] 3d-plot of points, but assigning each point with a specific color, how? In-Reply-To: <4F5CF7DC.9040305@centre-cired.fr> References: <4F5CF7DC.9040305@centre-cired.fr> Message-ID: 2012/3/11 Adrien Vogt-Schilb > > here is an example (without the loop on the clusters) > > plot3d > e=gce() > e.mark_mode = "on"; e.surface_mode = "off" > e.mark_foreground=color(255,123,123) > e.mark_style = 0 > e.mark_size = 5 > e.mark_size = .6 > > Ho do I loop through my cluster vectors like x=[2 2 1 2 2.5 1.5 1.5 17 10 12 8]; y=[2 3 2 1 2.5 1.5 1.5 18 10 12 12]; z=[2 2 2 2 2.5 1.5 2 18 10 12 8]; and set the colors according to your e.XXX options? Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From serge.steer at inria.fr Sun Mar 11 21:55:37 2012 From: serge.steer at inria.fr (Serge Steer) Date: Sun, 11 Mar 2012 21:55:37 +0100 (CET) Subject: [scilab-Users] 3d-plot of points, but assigning each point with a specific color, how? In-Reply-To: Message-ID: <2091364726.226467.1331499337244.JavaMail.root@zmbs3.inria.fr> ----- Mail original ----- > De: "Constellation Athome" > ?: "users" > Envoy?: Dimanche 11 Mars 2012 19:31:41 > Objet: [scilab-Users] 3d-plot of points, but assigning each point with > a specific color, how? > hi, > I want to plot points with 3d coordinates like this > http://twitpic.com/8dj7r4 but I need to assign them with different > colors, so that I can have a different color for each "cluster". > how do I do that? and perhaps with bigger points, so that they are > better visible ;). > thanks in advance, Andreas Here is an example for ploting several clusters with different colors xyz1=rand(10,3) ;// the first cluster points xyz2=3+rand(8,3);// the second cluster points drawlater() //disable drawing param3d(xyz1(:,1),xyz1(:,2),xyz1(:,2)) e1=gce();//the handle on the polyline e1.line_mode='off';e1.mark_mode='on'; e1.mark_size=2;e1.mark_foreground=5; param3d(xyz2(:,1),xyz2(:,2),xyz2(:,2)) e2=gce();//the handle on the polyline e2.line_mode='off';e2.mark_mode='on'; e2.mark_size=2;e2.mark_foreground=3; drawnow() //enable drawing There is somewhere in the Scilab Code a fortran code that realizes clustering of 3D datas. I have to look a it , i will send it to you Serge Steer INRIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.cheze at cea.fr Mon Mar 12 09:25:12 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Mon, 12 Mar 2012 01:25:12 -0700 (PDT) Subject: scilab from command line in 5.4 alpha1 In-Reply-To: <1331208141.13494.75.camel@korcula.inria.fr> References: <1330966613038-3801226.post@n3.nabble.com> <1331207288240-3809501.post@n3.nabble.com> <1331208141.13494.75.camel@korcula.inria.fr> Message-ID: <1331540712115-3818676.post@n3.nabble.com> Thanks, I tried it. Because i need to plot and export image of the plots, i understood that i had to use scilex.exe in 'normal graphics' mode, that is without the -nwni option : when i terminate my automated script, in want that scilab closed, ie I inserted the "exit;" command at the end but then scilab is issuing the usual message "are you sure you want to close ?" I tried the -nogui option but since i need graphics to plot, it's not correct for my application. Thanks for your tips , David -- View this message in context: http://mailinglists.scilab.org/scilab-from-command-line-in-5-4-alpha1-tp3801226p3818676.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Mon Mar 12 09:26:21 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Mon, 12 Mar 2012 09:26:21 +0100 Subject: [scilab-Users] Re: scilab from command line in 5.4 alpha1 In-Reply-To: <1331540712115-3818676.post@n3.nabble.com> References: <1330966613038-3801226.post@n3.nabble.com> <1331207288240-3809501.post@n3.nabble.com> <1331208141.13494.75.camel@korcula.inria.fr> <1331540712115-3818676.post@n3.nabble.com> Message-ID: <1331540781.23795.6.camel@korcula.inria.fr> Le lundi 12 mars 2012 ? 01:25 -0700, David Ch?ze a ?crit : > Thanks, I tried it. > > Because i need to plot and export image of the plots, i understood that i > had to use scilex.exe in 'normal graphics' mode, that is without the -nwni > option : when i terminate my automated script, in want that scilab closed, > ie I inserted the "exit;" command at the end but then scilab is issuing the > usual message "are you sure you want to close ?" > I tried the -nogui option but since i need graphics to plot, it's not > correct for my application. > > Thanks for your tips , -nw is what you are looking for ;) S From vogt at centre-cired.fr Mon Mar 12 10:17:29 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 12 Mar 2012 10:17:29 +0100 Subject: [scilab-Users] Re: scilab from command line in 5.4 alpha1 In-Reply-To: <1331540712115-3818676.post@n3.nabble.com> References: <1330966613038-3801226.post@n3.nabble.com> <1331207288240-3809501.post@n3.nabble.com> <1331208141.13494.75.camel@korcula.inria.fr> <1331540712115-3818676.post@n3.nabble.com> Message-ID: <4F5DBF29.9080900@centre-cired.fr> On 12/03/2012 09:25, David Ch?ze wrote: > Thanks, I tried it. > > Because i need to plot and export image of the plots, i understood that i > had to use scilex.exe in 'normal graphics' mode, that is without the -nwni > option : when i terminate my automated script, in want that scilab closed, > ie I inserted the "exit;" command at the end but then scilab is issuing the > usual message "are you sure you want to close ?" > I tried the -nogui option but since i need graphics to plot, it's not > correct for my application. exit(0) and quit() will also terminate without asking confirmation > Thanks for your tips , > > David > > -- > View this message in context: http://mailinglists.scilab.org/scilab-from-command-line-in-5-4-alpha1-tp3801226p3818676.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From papriwalprateek at gmail.com Mon Mar 12 13:58:13 2012 From: papriwalprateek at gmail.com (prateek papriwal) Date: Mon, 12 Mar 2012 18:28:13 +0530 Subject: Fwd: Accurate probability distribution functions (GSOC 2012) In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: prateek papriwal Date: Sat, Mar 10, 2012 at 1:29 AM Subject: Accurate probability distribution functions (GSOC 2012) To: michael.baudin at scilab.org I am Prateek Papriwal, a second year undergraduate student persuing Bachelors in Technology in the Indian Institute of Technology Delhi, in the department of Electrical Engineering. I love programming and mathematics . I was told about GSOC 2012 by one of my seniors, who saw passion for coding in me. I traversed through the previous year list of organisations and thereby Scilab caught my attention, dealing with maths and algorithms . For the last few weeks i have been going through the working of Scilab and have gone through some of its modules. I have done a course on Probability and Stochastic Processes last semster and found the project idea "Providing accurate probability distribution functions" very interesting . Moreover implemetation bernoulli process, poisson process , markov process can also be done . Plus implementation of markov chains can also be done .. Relevant Courses taken: CSL 201 : Data Structures And Algorithms -- Object Oriented Programming, Trees Implementation , Sorting Techniques , Graph Theory ... MAL 250 : Introduction to Probability Theory and Stochastic Processes -- Probability space, conditional probability, Bye?s Rule , Bernoulli Trials, Discrete random variables, continuous random variables, order statistics , expectation , moment, transforms, Stochastic Processes, Markov Chains,and Markov processes, Queuing Theory, Queuing Models. In CSL 101, one of my previous courses, I have implemented several algorithms in C. Other mathematics courses i have taken are -- MAL 111 : Introduction to Real Analysis And Differential Equations MAL 124 : Introduction to Algebra And Matrix Analysis --- Group Theory, Langrange theorems, Homomorphism and Isomorphism theorems, Permutation groups, Rings and fields, Ideals, Euclidean domains, Finite and Infinite fields, polynomial rings, Matrix rings, Linear Algebra and Matrix Theory, Finite Dimensional product spaces. Involvement in Open Source Organisation CMU Sphinx(SVN Repository) RAXA JSS EMR(Git Repository) -- https://raxaemr.atlassian.net/wiki/display/RAXAJSS/Voice+Module+Project Sympy (GIT Repository) -------------- next part -------------- An HTML attachment was scrubbed... URL: From lparsons at vitesse.com Mon Mar 12 23:20:43 2012 From: lparsons at vitesse.com (Dean Parsons) Date: Mon, 12 Mar 2012 22:20:43 +0000 Subject: GL2PS error when exporting Message-ID: Hi, I'm running scilab 5.1 64 bit on linux. (I had to change the Device to "vesa" in the "Device" Section of the /etc/X11/xorg.conf file to get the graphics to work correctly.) When I run xs2svg I get the following error: xs2svg: GL2PS error during export. at line 412 of exec file called by : exec(%fileToExec); disp(msprintf(gettext("Execution done.\ while executing a callback Here is my getdebuginfo report: -->getdebuginfo() ans = !Total memory: 57735164 ! ! ! !Used memory: 38645904 ! ! ! !Free memory: 19089260 ! ! ! !Shared memory: 0 ! ! ! !Buffers memory: 814472 ! ! ! !Cached memory: 25137332 ! ! ! !Used -/+ buffers/cache: 12694100 ! ! ! !Free -/+ buffers/cache: 45041064 ! ! ! !Total swap: 16771852 ! ! ! !Used swap: 196 ! ! ! !Free swap: 16771656 ! My graphics card is an nVidia Quadro FX3450. The driver is version A1391.85 dated 10/30/2007. From my searching on the internet I believe this is the most recent version of the driver. Another engineer here tells me the driver version is 173.14.22 Any suggestions as to how I can work around this? Thanks, Dean Parsons CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mahesh_4u1984 at yahoo.co.in Mon Mar 12 16:56:15 2012 From: mahesh_4u1984 at yahoo.co.in (mahesh parmar) Date: Mon, 12 Mar 2012 21:26:15 +0530 (IST) Subject: Require Technical support for SCILAB Message-ID: <1331567775.71513.YahooMailNeo@web95602.mail.in.yahoo.com> Respected sir, I am working in Final year?Bachelor?of Engineering in Electronics & Communication Field, I study about SCILAB and Doing my final project on SCILAB My project on Data?Acquisitions in SCILAB using Modbus on RS-232 But i can't access Data from hardware to SCILAB and there is trouble in interfacing between SCILAB and ATmega16 Controller So if you support me about this query then Please Guide me If any process require for this then reply me as soon as possible ? With Regards, Mahesh Parmar 9898836962 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lparsons at vitesse.com Tue Mar 13 15:03:20 2012 From: lparsons at vitesse.com (Dean Parsons) Date: Tue, 13 Mar 2012 14:03:20 +0000 Subject: GL2PS error when exporting Message-ID: Oops, I forgot to mention that my linux terminal gives me the following error message when I run xs2svg: GL2PS error: gl2psBeginPage called in wrong program state Regards, Dean Parsons Hi, I'm running scilab 5.1 64 bit on linux. (I had to change the Device to "vesa" in the "Device" Section of the /etc/X11/xorg.conf file to get the graphics to work correctly.) When I run xs2svg I get the following error: xs2svg: GL2PS error during export. at line 412 of exec file called by : exec(%fileToExec); disp(msprintf(gettext("Execution done.\ while executing a callback Here is my getdebuginfo report: -->getdebuginfo() ans = !Total memory: 57735164 ! ! ! !Used memory: 38645904 ! ! ! !Free memory: 19089260 ! ! ! !Shared memory: 0 ! ! ! !Buffers memory: 814472 ! ! ! !Cached memory: 25137332 ! ! ! !Used -/+ buffers/cache: 12694100 ! ! ! !Free -/+ buffers/cache: 45041064 ! ! ! !Total swap: 16771852 ! ! ! !Used swap: 196 ! ! ! !Free swap: 16771656 ! My graphics card is an nVidia Quadro FX3450. The driver is version A1391.85 dated 10/30/2007. From my searching on the internet I believe this is the most recent version of the driver. Another engineer here tells me the driver version is 173.14.22 Any suggestions as to how I can work around this? Thanks, Dean Parsons CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Tue Mar 13 23:08:25 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Tue, 13 Mar 2012 23:08:25 +0100 Subject: [scilab-Users] plot correct on gnome2 not on gnome3 In-Reply-To: <1331221306925-3809999.post@n3.nabble.com> References: <1331221306925-3809999.post@n3.nabble.com> Message-ID: <4F5FC559.6070501@limsi.fr> The obvious answer is: use gnome 2! I think that gnome 3 requires a lot from your graphics card so maybe it's the cause... Did you try gnome 3 under the same distribution (let's say ubuntu)? Le 08/03/2012 16:41, abd_bela a ?crit : > Hi, > > I ve already post the problem of plotting any graph, ( scilab 3.3 ) > I noticed on the same machine , ( intel viedeo card) it is working > on gnome 2.x but not on gnome3 I check it on ubuntu based and mint > and debian. > > So ?? > > I tryed usecanvas(%T) > and > system_setproperty("jogl.gljpanel.nohw",""); > but it failed. > > best regards > thanks for help. > > > -- > View this message in context: http://mailinglists.scilab.org/plot-correct-on-gnome2-not-on-gnome3-tp3809999p3809999.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From abelahcene at gmail.com Wed Mar 14 07:44:24 2012 From: abelahcene at gmail.com (abd_bela) Date: Tue, 13 Mar 2012 23:44:24 -0700 (PDT) Subject: plot correct on gnome2 not on gnome3 In-Reply-To: <4F5FC559.6070501@limsi.fr> References: <1331221306925-3809999.post@n3.nabble.com> <4F5FC559.6070501@limsi.fr> Message-ID: <1331707464943-3824573.post@n3.nabble.com> thanks for answer I am really distressed and I forget. On some machines it works on other no, I do not know. I'm waiting for version 4, It was told that it solves the problem, we hope so! thanks again regards abd_bela -- View this message in context: http://mailinglists.scilab.org/plot-correct-on-gnome2-not-on-gnome3-tp3809999p3824573.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From muppurimanikanta at gmail.com Wed Mar 14 08:14:12 2012 From: muppurimanikanta at gmail.com (manikanta) Date: Wed, 14 Mar 2012 00:14:12 -0700 (PDT) Subject: stitching images to get panorama effect Message-ID: <1331709252181-3824605.post@n3.nabble.com> Is panorama effect is possible in scilab? problem statement: what is the algorithm for getting a single large image with all pictures merged from the s series of pictures with overlapping regins. please suggest me how to approach this in scilab and any toolboxes for implementing stitching images. -- View this message in context: http://mailinglists.scilab.org/stitching-images-to-get-panorama-effect-tp3824605p3824605.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From kannan at iitb.ac.in Wed Mar 14 04:04:45 2012 From: kannan at iitb.ac.in (kannan) Date: Tue, 13 Mar 2012 20:04:45 -0700 (PDT) Subject: what is the advantage of scilab compared to matlab In-Reply-To: References: Message-ID: <1331694285826-3824278.post@n3.nabble.com> sai kiran wrote > > Hi Scilab, > > Myself Saikiran, a research scholar, IIT Kanpur, India. Last week I > attended an interview. They put up a question that why you shifted to > scilab from matlab. > I simply told them that scilab is open source and matlab is closed source. > They told that is not the right answer and hence i am not selected in the > interview. > So please could u guys tell me, what are other major advantages of scilab > over matlab. > > Thanks and Regards, > Saikiran > IIT Kanpur > Possibly the interviewers expected you to say that Scilab is as good as Matlab in quality and reliability, before talking about the price, open nature, etc. Being free itself may be a sufficient reason for some, but not for everyone. I always quote the talk, "Use of Scilab for space mission analysis" by Thierry MARTIN of CNES, available through http://www.scilab.org/content/view/full/1128. I argue that if the extremely successful Ariane programme can rely upon Scilab, so can many other projects. I point out that many of India's satellites have been placed on the orbit by Ariane. The following additional information may be useful for students from India: After mentioning the above talk, I gratefully acknowledge how the Ariane programme has helped place our satellites on the orbit when others refused this help for some reason or other. This usually touches an emotional chord of most Indians and generally Scilab becomes more acceptable to most. I point out that Scilab uses LAPACK, just as Matlab does. I tell them that Scilab uses some of the state of the art packages like ODEPACK and DASSL, some of which may not be available in Matlab itself. I also point out that the licensing restrictions of some excellent open source software packages will prevent them being included from a commercial software package like Matlab - no such restrictions exist for using them with Scilab. As a result, Scilab may actually turn out to be better than Matlab in some areas. One budding Indian entrepreneur came up with a product to search videos on the basis of emotions. When he wanted to release it for public use, he found that he would need a version of Matlab with a lot of permissions and that this license would cost Rs. 1.5 crore (about 300,000 USD). He started exploring alternate methods. In the mean time, a similar product was released by a competitor. The entrepreneur had to close his company as a result, having lost the first mover advantage. Through this real story, one should point out that it costs A LOT OF MONEY for the corporates to use Matlab - most people (especially those who rely on pirated software) do not seem to be aware of the price of Matlab for commercial use. One should conclude this story by saying that reliance on Matlab makes the lives of all startups and small and medium scale enterprises extremely difficult. In addition to numerical computations, etc., one can use Scilab for data acquisition and control also. This will be extremely useful for selling their hardware devices as well. I find the network based licensing method unacceptable to conduct lab exams using Matlab. To prevent the students from downloading software available elsewhere, I have to turn off the network access. But this will disable Matlab use. Scilab has no such difficulties. Finally, one also gets the benefits of a lot of community driven and Government funded projects that restrict their funding only to open source tools. For example, see http://scilab.in/Completed_Books, where one can access Scilab Textbook Companions for close to 70 popular textbooks. Many more are in progress. Spoken tutorials on Scilab is another very useful resource. These are available through http://spoken-tutorial.org/Study_Plans_Scilab and better still, http://spoken-tutorial.org/New. Kannan Moudgalya IIT Bombay -- View this message in context: http://mailinglists.scilab.org/what-is-the-advantage-of-scilab-compared-to-matlab-tp3496012p3824278.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From muppurimanikanta at gmail.com Wed Mar 14 08:09:55 2012 From: muppurimanikanta at gmail.com (manikanta) Date: Wed, 14 Mar 2012 00:09:55 -0700 (PDT) Subject: stitching images to give panorama effect Message-ID: <1331708995054-3824599.post@n3.nabble.com> Is panorama effect is possible in scilab? problem statement: what is the algorithm for getting a single large image with all pictures merged from the s series of pictures with overlapping regins. please suggest me how to approach this in scilab and any toolboxes for implementing stitching images. -- View this message in context: http://mailinglists.scilab.org/stitching-images-to-give-panorama-effect-tp3824599p3824599.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Wed Mar 14 12:13:20 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 14 Mar 2012 12:13:20 +0100 Subject: [scilab-Users] Re: plot correct on gnome2 not on gnome3 In-Reply-To: <1331707464943-3824573.post@n3.nabble.com> References: <1331221306925-3809999.post@n3.nabble.com> <4F5FC559.6070501@limsi.fr> <1331707464943-3824573.post@n3.nabble.com> Message-ID: <4F607D50.4080101@limsi.fr> On 03/14/2012 07:44 AM, abd_bela wrote: > thanks for answer > I am really distressed and I forget. > On some machines it works on other no, I do not know. > I'm waiting for version 4, It was told that it solves the problem, we hope > so! Version 5.4 you mean... > thanks again > regards > abd_bela > > -- > View this message in context: http://mailinglists.scilab.org/plot-correct-on-gnome2-not-on-gnome3-tp3809999p3824573.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From mathieu.dubois at limsi.fr Wed Mar 14 16:10:43 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 14 Mar 2012 16:10:43 +0100 Subject: [scilab-Users] stitching images to get panorama effect In-Reply-To: <1331709252181-3824605.post@n3.nabble.com> References: <1331709252181-3824605.post@n3.nabble.com> Message-ID: <4F60B4F3.1080204@limsi.fr> You may have a look at the SIVP toolbox: http://sivp.sourceforge.net/ I don't know of stitching is implemented out-of-the-box but you have all the building blocks. On 03/14/2012 08:14 AM, manikanta wrote: > Is panorama effect is possible in scilab? > problem statement: what is the algorithm for getting a single large image > with all pictures merged from the > s series of pictures with overlapping regins. > > please suggest me how to approach this in scilab and any toolboxes for > implementing stitching images. > > -- > View this message in context: http://mailinglists.scilab.org/stitching-images-to-get-panorama-effect-tp3824605p3824605.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From cwarner.cw711 at gmail.com Wed Mar 14 19:45:15 2012 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Wed, 14 Mar 2012 13:45:15 -0500 Subject: [scilab-Users] stitching images to get panorama effect In-Reply-To: <4F60B4F3.1080204@limsi.fr> References: <1331709252181-3824605.post@n3.nabble.com> <4F60B4F3.1080204@limsi.fr> Message-ID: While Scilab might be a good tool for stitching panoramas together, there are others out there designed specifically for this purpose, such as Hugin, available here . Charlie On Wed, Mar 14, 2012 at 10:10 AM, Mathieu Dubois wrote: > You may have a look at the SIVP toolbox: http://sivp.sourceforge.net/ > > I don't know of stitching is implemented out-of-the-box but you have all > the building blocks. > > On 03/14/2012 08:14 AM, manikanta wrote: > >> Is panorama effect is possible in scilab? >> problem statement: what is the algorithm for getting a single large image >> with all pictures merged from the >> s series of pictures with overlapping regins. >> >> please suggest me how to approach this in scilab and any toolboxes for >> implementing stitching images. >> >> -- >> View this message in context: http://mailinglists.scilab.** >> org/stitching-images-to-get-**panorama-effect-**tp3824605p3824605.html >> Sent from the Scilab users - Mailing Lists Archives mailing list archive >> at Nabble.com. >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.**scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.**org/ >> >> > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.**scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.**org/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grocer.toolbox at gmail.com Wed Mar 14 21:58:35 2012 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Wed, 14 Mar 2012 21:58:35 +0100 Subject: recovering the text of a web page from internet Message-ID: Hello Does anyone know how to recover the (text) content of a web page from Scilab (as it is possible with function dowlaod.file in R software)? Thanks for your answer!. Eric. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Wed Mar 14 22:30:57 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Wed, 14 Mar 2012 22:30:57 +0100 Subject: [scilab-Users] recovering the text of a web page from internet In-Reply-To: References: Message-ID: <4F610E11.3040906@centre-cired.fr> On 14/03/2012 21:58, Eric Dubois wrote: > Hello > > Does anyone know how to recover the (text) content of a web page from > Scilab (as it is possible with function dowlaod.file in R software)? > > Thanks for your answer!. > > Eric. hi if your machine runs on linux, you can use unix("wget -O myfile.txt http://www.url.com") and then open "myfile.txt" (you may want to deletefile("myfile.txt") once you are done) if you are using windows you can always install wget for windows (http://gnuwin32.sourceforge.net/packages/wget.htm) and use it the same way on mac i guess you can natively use wget too. hope this helps Adrien Vogt-Schilb -------------- next part -------------- An HTML attachment was scrubbed... URL: From muppurimanikanta at gmail.com Thu Mar 15 05:34:36 2012 From: muppurimanikanta at gmail.com (manikanta) Date: Wed, 14 Mar 2012 21:34:36 -0700 (PDT) Subject: stitching images to get panorama effect In-Reply-To: <4F60B4F3.1080204@limsi.fr> References: <1331709252181-3824605.post@n3.nabble.com> <4F60B4F3.1080204@limsi.fr> Message-ID: <1331786076150-3827846.post@n3.nabble.com> @Mathieu Dubois : thanks for ur reply. I already downloaded SIVP toolbox and used, but i do not know how to approach for stitching images without overlap. And i did not understand your message exactly,so can you reoly me in detail about that building blocks. I will define my problem statement in the foolowing for your better understanding. consider a single image, from one end(from LEFT) of image, let say 70% of image is considered as FIRST image and now from the other end( RIGHT) of image, let 50% of image is considered as SECOND image.so now i had 20% of original image is overlapped region. now how to stitch the FIRST and SECOND image in such a way that overlapping region should be avoided and should be similar to original image of same size. -- View this message in context: http://mailinglists.scilab.org/stitching-images-to-get-panorama-effect-tp3824605p3827846.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From muppurimanikanta at gmail.com Thu Mar 15 05:39:17 2012 From: muppurimanikanta at gmail.com (manikanta) Date: Wed, 14 Mar 2012 21:39:17 -0700 (PDT) Subject: stitching images to get panorama effect In-Reply-To: References: <1331709252181-3824605.post@n3.nabble.com> <4F60B4F3.1080204@limsi.fr> Message-ID: <1331786357906-3827851.post@n3.nabble.com> @Charles Warner: thanks for ur reply.... There are other softwares like what u said Hugin etc, but I want to implement stitching in SCILAB. if you had any information please suggest me. -- View this message in context: http://mailinglists.scilab.org/stitching-images-to-get-panorama-effect-tp3824605p3827851.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From abelahcene at gmail.com Thu Mar 15 08:13:42 2012 From: abelahcene at gmail.com (abd_bela) Date: Thu, 15 Mar 2012 00:13:42 -0700 (PDT) Subject: plot correct on gnome2 not on gnome3 In-Reply-To: <4F607D50.4080101@limsi.fr> References: <1331221306925-3809999.post@n3.nabble.com> <4F5FC559.6070501@limsi.fr> <1331707464943-3824573.post@n3.nabble.com> <4F607D50.4080101@limsi.fr> Message-ID: <1331795622195-3828031.post@n3.nabble.com> yes 5.4.0 thanks -- View this message in context: http://mailinglists.scilab.org/plot-correct-on-gnome2-not-on-gnome3-tp3809999p3828031.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Thu Mar 15 08:57:04 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 15 Mar 2012 08:57:04 +0100 Subject: [scilab-Users] Re: stitching images to get panorama effect In-Reply-To: <1331786357906-3827851.post@n3.nabble.com> References: <1331709252181-3824605.post@n3.nabble.com> <4F60B4F3.1080204@limsi.fr> <1331786357906-3827851.post@n3.nabble.com> Message-ID: <4F61A0D0.50104@laas.fr> On 03/15/2012 05:39 AM, manikanta wrote: > @Charles Warner: thanks for ur reply.... > > There are other softwares like what u said Hugin etc, but I want to > implement stitching in SCILAB. if you had any information please suggest me. > > -- > View this message in context: http://mailinglists.scilab.org/stitching-images-to-get-panorama-effect-tp3824605p3827851.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > I think that implementing stitching in scilab is not a small task! To get a better idea of the math behind stitching you can have a look at autostitch and more specifically at the publications related to this soft: http://www.cs.bath.ac.uk/brown/autostitch/autostitch.html#publications As someone else mentioned, SIVP contains all the building blocks (ie all the low-level functions for images manipulation). Good luck! From mathieu.dubois at limsi.fr Thu Mar 15 09:41:04 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 15 Mar 2012 09:41:04 +0100 Subject: [scilab-Users] Re: stitching images to get panorama effect In-Reply-To: <1331786076150-3827846.post@n3.nabble.com> References: <1331709252181-3824605.post@n3.nabble.com> <4F60B4F3.1080204@limsi.fr> <1331786076150-3827846.post@n3.nabble.com> Message-ID: <4F61AB20.9030405@limsi.fr> Hello, As Antoine said, you will have to implement that by yourself. All that I know is that many stitching techniques imply to detect interest points and then estimate the homography (geometric transform) between the 2 images. P.S.: You may ask questions on websites dedicated to image processing or for instance the equalis forums. On 03/15/2012 05:34 AM, manikanta wrote: > @Mathieu Dubois : thanks for ur reply. > > I already downloaded SIVP toolbox and used, but i do not know > how to approach for stitching images without overlap. And i did not > understand your message exactly,so can you reoly me in detail about that > building blocks. > I will define my problem statement in the foolowing for your better > understanding. > consider a single image, from one end(from LEFT) of image, let > say 70% of image is considered as FIRST image and now from the other end( > RIGHT) of image, let 50% of image is considered as SECOND image.so now i had > 20% of original image is overlapped region. now how to stitch the FIRST and > SECOND image in such a way that overlapping region should be avoided and > should be similar to original image of same size. > > -- > View this message in context: http://mailinglists.scilab.org/stitching-images-to-get-panorama-effect-tp3824605p3827846.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From muppurimanikanta at gmail.com Thu Mar 15 12:17:35 2012 From: muppurimanikanta at gmail.com (manikanta) Date: Thu, 15 Mar 2012 04:17:35 -0700 (PDT) Subject: stitching images to get panorama effect In-Reply-To: <4F61AB20.9030405@limsi.fr> References: <1331709252181-3824605.post@n3.nabble.com> <4F60B4F3.1080204@limsi.fr> <1331786076150-3827846.post@n3.nabble.com> <4F61AB20.9030405@limsi.fr> Message-ID: <1331810255768-3828448.post@n3.nabble.com> @Antoine,Mathieu Dubois: I had gone through the detection of feature points and estimation of homography....in many algorithms they are using SIFT(scale invariant feature transform) and RANSAC(random samle consensus) toolbox....in matlab for implementing ransac automatically toolbox is available.likewise any toolbox r any other in scilab -- View this message in context: http://mailinglists.scilab.org/stitching-images-to-get-panorama-effect-tp3824605p3828448.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From lparsons at vitesse.com Thu Mar 15 15:38:11 2012 From: lparsons at vitesse.com (Dean Parsons) Date: Thu, 15 Mar 2012 14:38:11 +0000 Subject: GL2PS error when exporting Message-ID: I thought I would send this again since I never received a response. Dean Parsons From: Dean Parsons Sent: Tuesday, March 13, 2012 9:03 AM To: users at lists.scilab.org Subject: GL2PS error when exporting Oops, I forgot to mention that my linux terminal gives me the following error message when I run xs2svg: GL2PS error: gl2psBeginPage called in wrong program state Regards, Dean Parsons Hi, I'm running scilab 5.1 64 bit on linux. (I had to change the Device to "vesa" in the "Device" Section of the /etc/X11/xorg.conf file to get the graphics to work correctly.) When I run xs2svg I get the following error: xs2svg: GL2PS error during export. at line 412 of exec file called by : exec(%fileToExec); disp(msprintf(gettext("Execution done.\ while executing a callback My graphics card is an nVidia Quadro FX3450. The driver is version A1391.85 dated 10/30/2007. After searching the nvidia website I did find a more recent version of the driver which I will install and try. Besides updating my GC driver, do you have any other suggestions as to how I can work around this? Thanks, Dean Parsons CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Thu Mar 15 18:47:04 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 15 Mar 2012 18:47:04 +0100 Subject: [scilab-Users] GL2PS error when exporting In-Reply-To: References: Message-ID: <4F622B18.7080203@limsi.fr> Hello, On 03/15/2012 03:38 PM, Dean Parsons wrote: > > I thought I would send this again since I never received a response. > > Dean Parsons > > *From:*Dean Parsons > *Sent:* Tuesday, March 13, 2012 9:03 AM > *To:* users at lists.scilab.org > *Subject:* GL2PS error when exporting > > Oops, I forgot to mention that my linux terminal gives me the > following error message when I run xs2svg: > > GL2PS error: gl2psBeginPage called in wrong program state > Why do you mean by Linux Terminal? You mean when you type 'xs2svg' under bash? If that's the I don't know this command (not found on my ubuntu box) but I think it's not related to scilab. So if I understand correctly you receive 2 different error messages when using xs2svg: one time "GL2PS error: gl2psBeginPage called in wrong program state", one time ''xs2svg: GL2PS error during export.", right? Can you give us exactly the way you call xs2svg? > Regards, > > Dean Parsons > > Hi, > > I'm running scilab 5.1 64 bit on linux. (I had to change the Device to > "vesa" in the "Device" Section of the /etc/X11/xorg.conf file to get > the graphics to work correctly.) > > When I run xs2svg I get the following error: > > xs2svg: GL2PS error during export. > > at line 412 of exec file called by : > > exec(%fileToExec); disp(msprintf(gettext("Execution > done.\ > > while executing a callback > > My graphics card is an nVidia Quadro FX3450. The driver is version > A1391.85 dated 10/30/2007. After searching the nvidia website I did > find a more recent version of the driver which I will install and try. > Besides updating my GC driver, do you have any other suggestions as to > how I can work around this? > > Thanks, > > Dean Parsons > > /CONFIDENTIALITY NOTICE: This e-mail message, including any > attachments, is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not > the intended recipient, please contact the sender by reply e-mail and > destroy all copies of the original message./ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Thu Mar 15 18:52:15 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 15 Mar 2012 18:52:15 +0100 Subject: [scilab-Users] 3d-plot of points, but assigning each point with a specific color, how? In-Reply-To: <2091364726.226467.1331499337244.JavaMail.root@zmbs3.inria.fr> References: <2091364726.226467.1331499337244.JavaMail.root@zmbs3.inria.fr> Message-ID: <4F622C4F.8070303@centre-cired.fr> On 11/03/2012 21:55, Serge Steer wrote: > > > > There is somewhere in the Scilab Code a fortran code that realizes > clustering of 3D datas. I have to look a it, i will send it to you > > Serge Steer > INRIA I'am interested in clustering of 3D data too. could you share the link? best regards adrien -------------- next part -------------- An HTML attachment was scrubbed... URL: From lparsons at vitesse.com Thu Mar 15 19:23:03 2012 From: lparsons at vitesse.com (Dean Parsons) Date: Thu, 15 Mar 2012 18:23:03 +0000 Subject: [scilab-Users] GL2PS error when exporting In-Reply-To: <4F622B18.7080203@limsi.fr> References: <4F622B18.7080203@limsi.fr> Message-ID: Mathieu, Thanks for your response. Here is the line of code where I execute xs2svg: xs2svg(1,strcat([file_name,".svg"]),"portrait"); This line works fine on windows version of scilab. When I run the line above I get 2 errors at the same time. The first one appears in the scilab console window: xs2svg: GL2PS error during export. at line 412 of exec file called by : exec(%fileToExec); disp(msprintf(gettext("Execution done.\ while executing a callback The second one I believe comes from the linux redhat OS. It appears in a linux window or linux terminal. In other words, it appears in a non-scilab window: GL2PS error: gl2psBeginPage called in wrong program state Please let me know if you need any other info. Regards, Dean Parsons From: Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] Sent: Thursday, March 15, 2012 12:47 PM To: users at lists.scilab.org Subject: Re: [scilab-Users] GL2PS error when exporting Hello, On 03/15/2012 03:38 PM, Dean Parsons wrote: I thought I would send this again since I never received a response. Dean Parsons From: Dean Parsons Sent: Tuesday, March 13, 2012 9:03 AM To: users at lists.scilab.org Subject: GL2PS error when exporting Oops, I forgot to mention that my linux terminal gives me the following error message when I run xs2svg: GL2PS error: gl2psBeginPage called in wrong program state Why do you mean by Linux Terminal? You mean when you type 'xs2svg' under bash? If that's the I don't know this command (not found on my ubuntu box) but I think it's not related to scilab. So if I understand correctly you receive 2 different error messages when using xs2svg: one time "GL2PS error: gl2psBeginPage called in wrong program state", one time ''xs2svg: GL2PS error during export.", right? Can you give us exactly the way you call xs2svg? Regards, Dean Parsons Hi, I'm running scilab 5.1 64 bit on linux. (I had to change the Device to "vesa" in the "Device" Section of the /etc/X11/xorg.conf file to get the graphics to work correctly.) When I run xs2svg I get the following error: xs2svg: GL2PS error during export. at line 412 of exec file called by : exec(%fileToExec); disp(msprintf(gettext("Execution done.\ while executing a callback My graphics card is an nVidia Quadro FX3450. The driver is version A1391.85 dated 10/30/2007. After searching the nvidia website I did find a more recent version of the driver which I will install and try. Besides updating my GC driver, do you have any other suggestions as to how I can work around this? Thanks, Dean Parsons CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Thu Mar 15 20:47:23 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 15 Mar 2012 20:47:23 +0100 Subject: [scilab-Users] GL2PS error when exporting In-Reply-To: References: <4F622B18.7080203@limsi.fr> Message-ID: <4F62474B.30901@limsi.fr> Hello, The code seems correct and it works on my system (see attached file): plot() // produce demo file_name = "test" xs2svg(0,strcat([file_name,".svg"]),"portrait"); I'm not very well informed on GC but I have a Quadro FX 3500. I use the recommended proprietary NVIDIA drivers under Ubuntu 11.04 (sorry I don't understand anything about NVIDIA driver version but if you know commands to get more information don't hesitate). This config works for more than 2 years (with the previous drivers). By the way if you use "vesa" I guess X11 doesn't use the NVIDIA driver. So I'm sorry but you will probably have to update your drivers (if you use Ubuntu this should be easy with System -> Administration -> Additional drivers)... If it doesn't work you may have a look at the Nouveau drivers. HTH, Mathieu On 03/15/2012 07:23 PM, Dean Parsons wrote: > > Mathieu, > > Thanks for your response. Here is the line of code where I execute xs2svg: > > xs2svg(1,strcat([file_name,".svg"]),"portrait"); > > This line works fine on windows version of scilab. > > When I run the line above I get 2 errors at the same time. The first > one appears in the scilab console window: > > xs2svg: GL2PS error during export. > > at line 412 of exec file called by : > > exec(%fileToExec); disp(msprintf(gettext("Execution > done.\ > > while executing a callback > > The second one I believe comes from the linux redhat OS. It appears in > a linux window or linux terminal. In other words, it appears in a > non-scilab window: > > GL2PS error: gl2psBeginPage called in wrong program state > > Please let me know if you need any other info. > > Regards, > > Dean Parsons > > *From:*Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] > *Sent:* Thursday, March 15, 2012 12:47 PM > *To:* users at lists.scilab.org > *Subject:* Re: [scilab-Users] GL2PS error when exporting > > Hello, > > On 03/15/2012 03:38 PM, Dean Parsons wrote: > > I thought I would send this again since I never received a response. > > Dean Parsons > > *From:*Dean Parsons > *Sent:* Tuesday, March 13, 2012 9:03 AM > *To:* users at lists.scilab.org > *Subject:* GL2PS error when exporting > > Oops, I forgot to mention that my linux terminal gives me the > following error message when I run xs2svg: > > GL2PS error: gl2psBeginPage called in wrong program state > > Why do you mean by Linux Terminal? You mean when you type 'xs2svg' > under bash? If that's the I don't know this command (not found on my > ubuntu box) but I think it's not related to scilab. > > So if I understand correctly you receive 2 different error messages > when using xs2svg: one time "GL2PS error: gl2psBeginPage called in > wrong program state", one time ''xs2svg: GL2PS error during export.", > right? > > Can you give us exactly the way you call xs2svg? > > > Regards, > > Dean Parsons > > Hi, > > I'm running scilab 5.1 64 bit on linux. (I had to change the Device to > "vesa" in the "Device" Section of the /etc/X11/xorg.conf file to get > the graphics to work correctly.) > > When I run xs2svg I get the following error: > > xs2svg: GL2PS error during export. > > at line 412 of exec file called by : > > exec(%fileToExec); disp(msprintf(gettext("Execution > done.\ > > while executing a callback > > My graphics card is an nVidia Quadro FX3450. The driver is version > A1391.85 dated 10/30/2007. After searching the nvidia website I did > find a more recent version of the driver which I will install and try. > Besides updating my GC driver, do you have any other suggestions as to > how I can work around this? > > Thanks, > > Dean Parsons > > /CONFIDENTIALITY NOTICE: This e-mail message, including any > attachments, is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not > the intended recipient, please contact the sender by reply e-mail and > destroy all copies of the original message./ > > /CONFIDENTIALITY NOTICE: This e-mail message, including any > attachments, is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not > the intended recipient, please contact the sender by reply e-mail and > destroy all copies of the original message./ > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.svg Type: image/svg+xml Size: 115778 bytes Desc: not available URL: From grocer.toolbox at gmail.com Thu Mar 15 21:24:58 2012 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Thu, 15 Mar 2012 21:24:58 +0100 Subject: [scilab-Users] recovering the text of a web page from internet In-Reply-To: <4F610E11.3040906@centre-cired.fr> References: <4F610E11.3040906@centre-cired.fr> Message-ID: Thanks for your quick answer. However I am not sure that it answers exactly to my needs: what I am looking for is a way to do that FROM Scilab (that is with a Scilab command, encapsulated in a script or a function for instance) and if I have well understood what you suggest, your proposal is to go through a download as a text file on my computer. Eric. 2012/3/14 Adrien Vogt-Schilb > On 14/03/2012 21:58, Eric Dubois wrote: > > Hello > > Does anyone know how to recover the (text) content of a web page from > Scilab (as it is possible with function dowlaod.file in R software)? > > Thanks for your answer!. > > Eric. > > hi > > if your machine runs on linux, you can use unix("wget -O myfile.txt > http://www.url.com") > and then open "myfile.txt" > > (you may want to deletefile("myfile.txt") once you are done) > > if you are using windows you can always install wget for windows ( > http://gnuwin32.sourceforge.net/packages/wget.htm) and use it the same way > > on mac i guess you can natively use wget too. > > > hope this helps > > Adrien Vogt-Schilb > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lparsons at vitesse.com Thu Mar 15 23:57:45 2012 From: lparsons at vitesse.com (Dean Parsons) Date: Thu, 15 Mar 2012 22:57:45 +0000 Subject: [scilab-Users] GL2PS error when exporting In-Reply-To: <4F62474B.30901@limsi.fr> References: <4F622B18.7080203@limsi.fr> <4F62474B.30901@limsi.fr> Message-ID: Thank you Mathieu. It does help! Dean From: Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] Sent: Thursday, March 15, 2012 2:47 PM To: users at lists.scilab.org Subject: Re: [scilab-Users] GL2PS error when exporting Hello, The code seems correct and it works on my system (see attached file): plot() // produce demo file_name = "test" xs2svg(0,strcat([file_name,".svg"]),"portrait"); I'm not very well informed on GC but I have a Quadro FX 3500. I use the recommended proprietary NVIDIA drivers under Ubuntu 11.04 (sorry I don't understand anything about NVIDIA driver version but if you know commands to get more information don't hesitate). This config works for more than 2 years (with the previous drivers). By the way if you use "vesa" I guess X11 doesn't use the NVIDIA driver. So I'm sorry but you will probably have to update your drivers (if you use Ubuntu this should be easy with System -> Administration -> Additional drivers)... If it doesn't work you may have a look at the Nouveau drivers. HTH, Mathieu On 03/15/2012 07:23 PM, Dean Parsons wrote: Mathieu, Thanks for your response. Here is the line of code where I execute xs2svg: xs2svg(1,strcat([file_name,".svg"]),"portrait"); This line works fine on windows version of scilab. When I run the line above I get 2 errors at the same time. The first one appears in the scilab console window: xs2svg: GL2PS error during export. at line 412 of exec file called by : exec(%fileToExec); disp(msprintf(gettext("Execution done.\ while executing a callback The second one I believe comes from the linux redhat OS. It appears in a linux window or linux terminal. In other words, it appears in a non-scilab window: GL2PS error: gl2psBeginPage called in wrong program state Please let me know if you need any other info. Regards, Dean Parsons From: Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] Sent: Thursday, March 15, 2012 12:47 PM To: users at lists.scilab.org Subject: Re: [scilab-Users] GL2PS error when exporting Hello, On 03/15/2012 03:38 PM, Dean Parsons wrote: I thought I would send this again since I never received a response. Dean Parsons From: Dean Parsons Sent: Tuesday, March 13, 2012 9:03 AM To: users at lists.scilab.org Subject: GL2PS error when exporting Oops, I forgot to mention that my linux terminal gives me the following error message when I run xs2svg: GL2PS error: gl2psBeginPage called in wrong program state Why do you mean by Linux Terminal? You mean when you type 'xs2svg' under bash? If that's the I don't know this command (not found on my ubuntu box) but I think it's not related to scilab. So if I understand correctly you receive 2 different error messages when using xs2svg: one time "GL2PS error: gl2psBeginPage called in wrong program state", one time ''xs2svg: GL2PS error during export.", right? Can you give us exactly the way you call xs2svg? Regards, Dean Parsons Hi, I'm running scilab 5.1 64 bit on linux. (I had to change the Device to "vesa" in the "Device" Section of the /etc/X11/xorg.conf file to get the graphics to work correctly.) When I run xs2svg I get the following error: xs2svg: GL2PS error during export. at line 412 of exec file called by : exec(%fileToExec); disp(msprintf(gettext("Execution done.\ while executing a callback My graphics card is an nVidia Quadro FX3450. The driver is version A1391.85 dated 10/30/2007. After searching the nvidia website I did find a more recent version of the driver which I will install and try. Besides updating my GC driver, do you have any other suggestions as to how I can work around this? Thanks, Dean Parsons CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From iai at axelspace.com Sun Mar 18 02:12:18 2012 From: iai at axelspace.com (Iai Masafumi ax) Date: Sun, 18 Mar 2012 10:12:18 +0900 Subject: escape sequence with msprintf Message-ID: <4F653672.1040002@axelspace.com> Hello, >From msprintf(), I got the output pasted below, which seems strange. I expected the two backslashes at the beginning was interpreted as a single backslash. However, msprintf() converted the sequence of 2nd and 3rd characters, "\t", into a tab. Isn't this a bug? Or any other explanation? On the other hand, mprintf() appears handling the escape sequences as I expected. ------------------------------ -->txt="\\theta", a=msprintf(txt), ascii(a), mprintf(txt) txt = \\theta a = \ heta ans = 92. 9. 104. 101. 116. 97. \theta ------------------------------ I use Scilab 5.3.3 32bit on Windows7. Iai From ychattah at iai.co.il Sun Mar 18 08:00:13 2012 From: ychattah at iai.co.il (computidoo) Date: Sun, 18 Mar 2012 00:00:13 -0700 (PDT) Subject: uigetfile Message-ID: <1332054013215-3836016.post@n3.nabble.com> Hello, I want to see if its passible to use a function as uigetfile to import a some files? BR computidoo -- View this message in context: http://mailinglists.scilab.org/uigetfile-tp3836016p3836016.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Sun Mar 18 11:37:29 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Sun, 18 Mar 2012 11:37:29 +0100 Subject: [scilab-Users] recovering the text of a web page from internet In-Reply-To: References: <4F610E11.3040906@centre-cired.fr> Message-ID: <4F65BAE9.5010503@centre-cired.fr> Hi I don't understand. I would download the text with wget to TMPDIR, then read with scilab (by "open "myfile.txt", i wxas suggesting to do this from scilab). This would use the harddrive as an intermediairy beetween wget and scilab. Maybe you could use unix_g instead of unix. unix_g will capture the output of wget and return it to scilab directly I wish i could post an example, but i don't have wget installed in my PC anymore you may try something like: a= unix_g("wget http://www.google.com/") of course you still have to install wget, but that seems very reasonable to me. (just to be sure: unix and unix_g are scilab commands) On 15/03/2012 21:24, Eric Dubois wrote: > Thanks for your quick answer. > > However I am not sure that it answers exactly to my needs: what I am > looking for is a way to do that FROM Scilab (that is with a Scilab > command, encapsulated in a script or a function for instance) and if I > have well understood what you suggest, your proposal is to go through > a download as a text file on my computer. > > Eric. > > > 2012/3/14 Adrien Vogt-Schilb > > > On 14/03/2012 21:58, Eric Dubois wrote: >> Hello >> >> Does anyone know how to recover the (text) content of a web page >> from Scilab (as it is possible with function dowlaod.file in R >> software)? >> >> Thanks for your answer!. >> >> Eric. > hi > > if your machine runs on linux, you can use unix("wget -O > myfile.txt http://www.url.com") > and then open "myfile.txt" > > (you may want to deletefile("myfile.txt") once you are done) > > if you are using windows you can always install wget for windows > (http://gnuwin32.sourceforge.net/packages/wget.htm) and use it the > same way > > on mac i guess you can natively use wget too. > > > hope this helps > > Adrien Vogt-Schilb > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grocer.toolbox at gmail.com Sun Mar 18 17:05:38 2012 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Sun, 18 Mar 2012 17:05:38 +0100 Subject: [scilab-Users] recovering the text of a web page from internet In-Reply-To: <4F65BAE9.5010503@centre-cired.fr> References: <4F610E11.3040906@centre-cired.fr> <4F65BAE9.5010503@centre-cired.fr> Message-ID: Hi What I search is a Scilab command which would look something like: --> txt=read_from_web('http://adress') Such a command exists in software R, but I did found the equivalent in Scilab. And if I understand well, what you suggests is an indirect way: first download the text, then read it into Scilab, which is not exactly the same (no automatisation of routine tasks from instance) ?ric. 2012/3/18 Adrien Vogt-Schilb > Hi > > I don't understand. > > I would download the text with wget to TMPDIR, then read with scilab (by > "open "myfile.txt", i wxas suggesting to do this from scilab). This would > use the harddrive as an intermediairy beetween wget and scilab. > Maybe you could use > > unix_g > > instead of unix. unix_g will capture the output of wget and return it to > scilab directly > > I wish i could post an example, but i don't have wget installed in my PC > anymore > you may try something like: > a= unix_g("wget http://www.google.com/") > > of course you still have to install wget, but that seems very reasonable > to me. > > (just to be sure: unix and unix_g are scilab commands) > > > > On 15/03/2012 21:24, Eric Dubois wrote: > > Thanks for your quick answer. > > However I am not sure that it answers exactly to my needs: what I am > looking for is a way to do that FROM Scilab (that is with a Scilab command, > encapsulated in a script or a function for instance) and if I have well > understood what you suggest, your proposal is to go through a download as a > text file on my computer. > > Eric. > > > 2012/3/14 Adrien Vogt-Schilb > >> On 14/03/2012 21:58, Eric Dubois wrote: >> >> Hello >> >> Does anyone know how to recover the (text) content of a web page from >> Scilab (as it is possible with function dowlaod.file in R software)? >> >> Thanks for your answer!. >> >> Eric. >> >> hi >> >> if your machine runs on linux, you can use unix("wget -O myfile.txt >> http://www.url.com") >> and then open "myfile.txt" >> >> (you may want to deletefile("myfile.txt") once you are done) >> >> if you are using windows you can always install wget for windows ( >> http://gnuwin32.sourceforge.net/packages/wget.htm) and use it the same >> way >> >> on mac i guess you can natively use wget too. >> >> >> hope this helps >> >> Adrien Vogt-Schilb >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Sun Mar 18 19:35:22 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Sun, 18 Mar 2012 18:35:22 -0000 Subject: [scilab-Users] uigetfile In-Reply-To: <1332054013215-3836016.post@n3.nabble.com> Message-ID: Not by itself. uigetfile opens a file browser and chooser window, which enables you to select a file from a directory tree and return its path and name. You can then open that file in the normal way. HTH, Mike. -----Original Message----- From: computidoo [mailto:ychattah at iai.co.il] Sent: 18 March 2012 07:00 To: users at lists.scilab.org Subject: [scilab-Users] uigetfile Hello, I want to see if its passible to use a function as uigetfile to import a some files? BR computidoo -- View this message in context: http://mailinglists.scilab.org/uigetfile-tp3836016p3836016.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From ychattah at iai.co.il Mon Mar 19 06:06:59 2012 From: ychattah at iai.co.il (computidoo) Date: Sun, 18 Mar 2012 22:06:59 -0700 (PDT) Subject: uigetfile In-Reply-To: References: <1332054013215-3836016.post@n3.nabble.com> Message-ID: <300AE3014430B94EB16D93D3742BEEB3052B2D5E@EXS11.iai.co.il> Thanks mike, I found that I can add the option %t and get multi-files selection BR computidoo ________________________________ From: Mike Page [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+s994242n3837021h76 at n3.nabble.com] Sent: Sunday, March 18, 2012 8:36 PM To: Yehonatan Chattah Subject: RE: uigetfile Not by itself. uigetfile opens a file browser and chooser window, which enables you to select a file from a directory tree and return its path and name. You can then open that file in the normal way. HTH, Mike. -----Original Message----- From: computidoo [mailto:[hidden email]] Sent: 18 March 2012 07:00 To: [hidden email] Subject: [scilab-Users] uigetfile Hello, I want to see if its passible to use a function as uigetfile to import a some files? BR computidoo -- View this message in context: http://mailinglists.scilab.org/uigetfile-tp3836016p3836016.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to [hidden email] To check the archives of this mailing list, see http://mailinglists.scilab.org/ -- To unsubscribe from this mailing-list, please send an empty mail to [hidden email] To check the archives of this mailing list, see http://mailinglists.scilab.org/ ________________________________ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/uigetfile-tp3836016p3837021.html To unsubscribe from uigetfile, click here. NAML The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. -- View this message in context: http://mailinglists.scilab.org/uigetfile-tp3836016p3838257.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gourish2k at gmail.com Mon Mar 19 09:40:49 2012 From: gourish2k at gmail.com (gourish) Date: Mon, 19 Mar 2012 01:40:49 -0700 (PDT) Subject: Datevec Problem in scilab Message-ID: <1332146449949-3838494.post@n3.nabble.com> hi, i had run the following instruction in scilab "*datevec(datenum(2010,4,6,1,0,0))*" which gives the result as "*ans = 2010. 4. 6. 0. 59. 59.999997*" instead of "*ans = 2010. 4. 6. 1. 0. 0.*" is there any solution for the problem? Thanks, Gourish -- View this message in context: http://mailinglists.scilab.org/Datevec-Problem-in-scilab-tp3838494p3838494.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Mon Mar 19 10:59:20 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Mon, 19 Mar 2012 09:59:20 -0000 Subject: [scilab-Users] Datevec Problem in scilab In-Reply-To: <1332146449949-3838494.post@n3.nabble.com> Message-ID: Hi, AFAIK, datenum uses the integer part for the date and the fractional part for the time. There are rounding errors and limited precision which make your result very slightly inaccurate. datevec gives the number of seconds as a fraction, so if you are sure your values are all whole numbers of seconds, you can do some rounding like: -->int(datevec(datenum(2010,4,6,1,0,0) + (0.5/24/60/60))) ans = 2010. 4. 6. 1. 0. 0. But if your times have fractions of a second, then you can never represent them to infinite precision... HTH, Mike. -----Original Message----- From: gourish [mailto:gourish2k at gmail.com] Sent: 19 March 2012 08:41 To: users at lists.scilab.org Subject: [scilab-Users] Datevec Problem in scilab hi, i had run the following instruction in scilab "*datevec(datenum(2010,4,6,1,0,0))*" which gives the result as "*ans = 2010. 4. 6. 0. 59. 59.999997*" instead of "*ans = 2010. 4. 6. 1. 0. 0.*" is there any solution for the problem? Thanks, Gourish -- View this message in context: http://mailinglists.scilab.org/Datevec-Problem-in-scilab-tp3838494p3838494.h tml Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From sgougeon at free.fr Mon Mar 19 11:59:05 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Mon, 19 Mar 2012 11:59:05 +0100 (CET) Subject: [scilab-Users] Datevec Problem in scilab In-Reply-To: <1332146449949-3838494.post@n3.nabble.com> Message-ID: <1812258180.44193785.1332154745912.JavaMail.root@zimbra75-e12.priv.proxad.net> Hello Gourish, >"*datevec(datenum(2010,4,6,1,0,0))*" >which gives the result as "*ans = 2010. 4. 6. 0. 59. 59.999997*" instead of >"*ans = 2010. 4. 6. 1. 0. 0.*" > >is there any solution for the problem? floor(datevec(nearfloat("succ",datenum(2010,4,6,1,0,0)))) Samuel From adrien.vogt.schilb at gmail.com Mon Mar 19 17:44:20 2012 From: adrien.vogt.schilb at gmail.com (Adrien Vogt-Schilb) Date: Mon, 19 Mar 2012 17:44:20 +0100 Subject: integrate polynoms Message-ID: <4F676264.10206@gmail.com> hi is there a way to integrate a matrix of polynoms of scilab if X is a polynom, i'd like to find a Y such that X = derivat(Y) -- Adrien Vogt-Schilb -------------- next part -------------- An HTML attachment was scrubbed... URL: From deanm at sharplabs.com Thu Mar 22 22:40:59 2012 From: deanm at sharplabs.com (Dean S. Messing) Date: Thu, 22 Mar 2012 14:40:59 -0700 Subject: What's my name? Message-ID: Is there a scilab command that will allow a script (say "foo.sci") called by exec() to return its own file name? In other words is there something that will cause "magic_command()" to return a string containing "foo.sci" in the following: === from bah.sci (or commandline) === exec("foo.sci"); === foo.sci === s = magic_command(); mprintf("My name is: %s\n", s); From deanm at sharplabs.com Fri Mar 23 00:23:19 2012 From: deanm at sharplabs.com (Dean S. Messing) Date: Thu, 22 Mar 2012 16:23:19 -0700 Subject: Is thre a Scilab equivlalent to Matlab's "invfreqz()"? Message-ID: I need to design filter to match a given spectral response. Scilab has "frfit()" but it does not allow the design to specifiy Numerator and Denominator order independently and it always returns a "bi-stable" tranfer function. ("Bi-stable" is the term used in the Help page. I assume it means "minimum phase"). Does anyone know of a version of Matlab's invfgeqz() that's been ported to scilab? Dean From Mike at Page-One.Waitrose.com Fri Mar 23 11:24:36 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Fri, 23 Mar 2012 10:24:36 -0000 Subject: [scilab-Users] What's my name? In-Reply-To: Message-ID: It's probably not what you're looking for, but the function [linenum,mac]=where() returns a pair of vectors with the calling tree of the current location. Unfortunately it only gives the function name, not the containing filename. But you may be able to use it somehow... Mike. -----Original Message----- From: Dean S. Messing [mailto:deanm at sharplabs.com] Sent: 22 March 2012 21:41 To: users at lists.scilab.org Subject: [scilab-Users] What's my name? Is there a scilab command that will allow a script (say "foo.sci") called by exec() to return its own file name? In other words is there something that will cause "magic_command()" to return a string containing "foo.sci" in the following: === from bah.sci (or commandline) === exec("foo.sci"); === foo.sci === s = magic_command(); mprintf("My name is: %s\n", s); -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From abelahcene at gmail.com Fri Mar 23 11:47:55 2012 From: abelahcene at gmail.com (abd_bela) Date: Fri, 23 Mar 2012 03:47:55 -0700 (PDT) Subject: partial differential equations (PDE's) Message-ID: <1332499675179-3851205.post@n3.nabble.com> Hi, I want to solve partial differential equations (PDE's) how to activate (or add ) the module, it seems it is not in the standard installation. best regards bela -- View this message in context: http://mailinglists.scilab.org/partial-differential-equations-PDE-s-tp3851205p3851205.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From iai at axelspace.com Fri Mar 23 13:46:41 2012 From: iai at axelspace.com (Iai Masafumi ax) Date: Fri, 23 Mar 2012 21:46:41 +0900 Subject: [scilab-Users] What's my name? In-Reply-To: References: Message-ID: <4F6C70B1.4020009@axelspace.com> This link might be of your help: http://mailinglists.scilab.org/Scilab-equivalent-of-mfilename-td3508363.html iai From antoine.monmayrant at laas.fr Fri Mar 23 17:19:13 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 23 Mar 2012 17:19:13 +0100 Subject: parallel_run and unix_g Message-ID: <4F6CA281.9010006@laas.fr> Hi everyone, I would like to know whether it's possible to run "unix_g" inside a function that is called by parallel_run. I need to do this as I repeatedly call a TSP sorting algorithm (LKH http://www.akira.ruc.dk/~keld/research/LKH/ ) using unix_g on huge datasets that I cannot process with scilab. I would like to get several calls in parallel to reduce the time it takes to sort all my datasets. It does not seem to work, is this a limitation of parallel_run? Here is a short script to show my problem: ////////////////////////////////////////////////////////////////////////// //dummy function calling unix_g function res=g(i) res=unix_g("echo i="+string(i)) endfunction //result when called in a loop good_res=[]; for i=[1:3] disp(i); good_res=[good_res,g(i)]; end //here good_res=["i=1","i=2","i=3"] //result when called with parallel_run bad_res=parallel_run(1:3, g); //here bad_res=[0,0,0] bad_res good_res ////////////////////////////////////////////////////////////////////////// Any workaround? Antoine From sgougeon at free.fr Fri Mar 23 19:07:45 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Fri, 23 Mar 2012 19:07:45 +0100 (CET) Subject: [scilab-Users] integrate polynoms In-Reply-To: <4F676264.10206@gmail.com> Message-ID: <820853274.60285514.1332526065793.JavaMail.root@zimbra75-e12.priv.proxad.net> Hello Adrien, This script should help you: integratePoly() http://fileexchange.scilab.org/toolboxes/228000 -->M = [ -1+%z 1+2*%z+%z^2 ; 2-%z^3 6] M = 2 - 1 + z 1 + 2z + z 3 2 - z 6 -->integratePoly(M) ans = 2 2 3 - z + 0.5z z + z + 0.3333333z 4 2z - 0.25z 6z Samuel ----- Mail original ----- De: "Adrien Vogt-Schilb" ?: users at lists.scilab.org Envoy?: Lundi 19 Mars 2012 17:44:20 Objet: [scilab-Users] integrate polynoms hi is there a way to integrate a matrix of polynoms of scilab if X is a polynom, i'd like to find a Y such that X = derivat(Y) -- Adrien Vogt-Schilb From maitreyakara at yahoo.com Fri Mar 23 22:11:45 2012 From: maitreyakara at yahoo.com (sunKar) Date: Fri, 23 Mar 2012 14:11:45 -0700 (PDT) Subject: Plots and Events with Javasci Message-ID: <1332537105402-3852799.post@n3.nabble.com> I am new to using Scilab from Java. I am trying to invoke plot3d and plot2d functions from a Java program. I am currently using Scilab 5.4.0 alpha1. I modified the deprecated ExampleEvents code in the Examples subfolder of javasci. But the program quits without setting up a plot. The Scilab class does not have Events() method to sense the events in the graphic window. I commented it out (May be I should capture the events using Scilab functions?). The program ends without setting up window. Here is the modified code: import org.scilab.modules.javasci.Scilab; class ExampleEvents{ public static void main(String[] args) throws Exception { Scilab sci = new Scilab(); if (sci.open()) { int i=0; sci.exec("plot3d();"); while (sci.isGraphicOpened()!=false) { // sci.Events(); try { Thread.sleep( 100 ); } catch ( InterruptedException e ) { } System.out.println("Java loop "+i); i++; } System.out.println("Graphics window closed"); sci.close(); } else { System.out.println("Could not start Scilab "); } } } How do I correct it to display the graphics window? Thanks, Karuna -- View this message in context: http://mailinglists.scilab.org/Plots-and-Events-with-Javasci-tp3852799p3852799.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From deanm at sharplabs.com Sat Mar 24 03:05:38 2012 From: deanm at sharplabs.com (Dean S. Messing) Date: Fri, 23 Mar 2012 19:05:38 -0700 Subject: [scilab-Users] What's my name? In-Reply-To: <4F6C70B1.4020009@axelspace.com> (message from Iai Masafumi ax on Fri, 23 Mar 2012 21:46:41 +0900) Message-ID: Iai wrote: > This link might be of your help: > http://mailinglists.scilab.org/Scilab-equivalent-of-mfilename-td3508363.html > > iai It certainly is. Thanks! From papriwalprateek at gmail.com Mon Mar 26 00:06:09 2012 From: papriwalprateek at gmail.com (prateek papriwal) Date: Mon, 26 Mar 2012 03:36:09 +0530 Subject: Fwd: Accurate probability distribution functions (GSOC 2012) In-Reply-To: <1332606017.4457.17.camel@pomegues.inria.fr> References: <713ffbe578326f4a60c5231a44cac31c@contrib.scilab.org> <1332035644.5892.12.camel@pomegues.inria.fr> <2498998fe531e9914540aa9d5c724007@contrib.scilab.org> <1332606017.4457.17.camel@pomegues.inria.fr> Message-ID: Where is the inverse CDF's implemented (Beta inverse cdf,normal inverse cdf etc. as menationed in [1]) . The list of functions(given at link [2]) under sub heading Statistics does not have these functions . Also i looked upon the functions there can be a lot more can be implemented . Matlab has huge number of functions . One of such functions as Geometric CDF , i have planned for how to go about implenting it. Geometric CDF is the probability distribution of the number of bernoulli trials to get one success. *Calling Sequence* [P,Q] = cdfgeo("PQ",Xn,Pr,Ompr)* Arguments* P,Q,Xn,PR,Ompr 5 real vecors of the same size P,Q(Q=1-P) The cumulation from 0 to Xn of the geometric distribution. (Probablility of getting one(first) success in Xn trials or less than Xn. Probability of success is Pr . ) Input range: [0,1]. Xn The number of max trials .We will be looking at the geometric distribution for 1 to Xn trials and then sum them up to get geocdf. Pr,Ompr The probability of getting success in each trial . In matlab it is implemented as geocdf(3,0.5) where 3 is our Xn and Pr=Ompr=0.5 Hence now geocdf will be = (0.5^0)(0.5) + ((0.5)^1)(0.5) + ((0.5)^2)(0.5) = 0.5 + 0.25 + 0.125 Explanation of 3rd term -- to get first success, i used 3 trials(Xn) , therefore got failure in first two trials and success in the 3rd trial . Explanation of 2nd Term -- to get first success , i used 2 trials (less than Xn) , therefore got failure in first trial and success in 2nd one... Explanation of 1st Term -- i got success in first trial only ... Note -- Xn is the total number of max trials. For determining cdf we will be using fewer number tan Xn also and adding all them up .. [1] http://forge.scilab.org/index.php/p/distfun/ [2] http://help.scilab.org/docs/5.4.0-alpha-1/en_US/index.html On Sat, Mar 24, 2012 at 9:50 PM, Sylvestre Ledru < sylvestre.ledru at scilab-enterprises.com> wrote: > thanks for the forward, just don't forget me the next time ;) > > Le samedi 24 mars 2012 ? 17:19 +0530, prateek papriwal a ?crit : > > > > > > ---------- Forwarded message ---------- > > From: prateek papriwal > > Date: Sat, Mar 24, 2012 at 4:47 PM > > Subject: Re: Accurate probability distribution functions (GSOC 2012) > > To: michael.baudin at contrib.scilab.org > > > > > > ok . > > > > yes . its true there are much more functions in matlab. > > PLUS more function such as > > binmial,geometric,hypergeometric,poisson,chebyshev's inequality, > > markov's inequality, MGF of random variable , chi- square, bernoulli > > etc. > > > > Yes implementing these functions in scilab would be a good idea to > > work upon . > > > > > > On Sat, Mar 24, 2012 at 4:27 PM, > > wrote: > > I think that you looked at it too quickly. > > There is, by far, not all the required functions. > > To see this more quickly, compare with : > > > > > http://www.mathworks.fr/help/toolbox/stats/bq_w_hm.html#bq_w_ie-8 > > > > There is only ~5% of the distributions in Matlab. > > At least 30-40 more functions are necessary to make a complete > > distribution toolbox: > > just look at the "TODO" section in the readme. > > > > As far as I am concerned, I have no interest in Queuing > > theory. > > > > Regards, > > > > Micha?l > > > > > > > > On Mon, 19 Mar 2012 18:05:25 +0530, prateek papriwal > > wrote: > > > > @michael, thank you for ur reply . > > > > > > http://forge.scilab.org/index.php/p/distfun/ [1] .. i > > saw the > > > > features(functions) already implemented . > > i would like to have a view at the current state and > > would be very > > mjuch interested in implemeting concepts of Queueing > > theory . > > > > > > On Sun, Mar 18, 2012 at 7:24 AM, Sylvestre Ledru > > wrote: > > > > Le samedi 17 mars 2012 ? 17:24 +0100, > > > > michael.baudin at contrib.scilab.org [3] > > > > a ?crit : > > > > > > > Secondly, i now work at EDF R&D, and no more in > > the Scilab > > > Consortium. > > > How i could be involved in the GSOC 2012 has to be > > clarified with > > > the > > > Consortium. > > > > As long as I (or someone else in the consortium) am > > in the loop, I > > don't > > have any issues with that. > > > > S > > > > -- > > ----------------------------- > > Sylvestre Ledru > > Projects manager > > Community manager > > ----------------------------- > > Scilab Enterprises > > > > http://www.scilab-enterprises.com/ [4] > > http://www.scilab.org/ [5] > > ----------------------------- > > > > > > > > Links: > > ------ > > [1] http://forge.scilab.org/index.php/p/distfun/ > > [2] mailto:sylvestre.ledru at scilab-enterprises.com > > [3] mailto:michael.baudin at contrib.scilab.org > > [4] http://www.scilab-enterprises.com/ > > [5] http://www.scilab.org/ > > > > > > > > -- > ----------------------------- > Sylvestre Ledru > Operation manager > Community manager > ----------------------------- > Scilab Enterprises > http://www.scilab-enterprises.com/ > http://www.scilab.org/ > ----------------------------- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at contrib.scilab.org Mon Mar 26 15:54:10 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Mon, 26 Mar 2012 15:54:10 +0200 Subject: Fwd: Accurate probability distribution functions (GSOC 2012) In-Reply-To: References: <713ffbe578326f4a60c5231a44cac31c@contrib.scilab.org> <1332035644.5892.12.camel@pomegues.inria.fr> <2498998fe531e9914540aa9d5c724007@contrib.scilab.org> <1332606017.4457.17.camel@pomegues.inria.fr> Message-ID: <6a875308d84f2f6eaeaa3e86e2f384d6@contrib.scilab.org> The Inverse Beta is implemented here : http://forge.scilab.org/index.php/p/distfun/source/tree/HEAD/macros/distfun_betainv.sci This is currently just a macro which calls cdfbet with consistent arguments. One possible improvement is to refactor the function into a proper C gateway, with much more flexibility that the current cdfbet function. For example, betainv can take as arguments a 1-by-1 double "a" parameter and a 5-by-6 matrix "b" parameter: in this case, the parameter "a" is expanded into a 5-by-6 matrix. The current cdfbet function cannot do this. It is a good thing that you are interested in the Geometric distribution, since it is not currently implemented. As an exercise, please create a geopdf function on the model of the Matlab function : http://www.mathworks.fr/help/toolbox/stats/geopdf.html Once done, please send your script to us. Please do not spend more that a few hours on it. A script with comments is unnecessary at this point: just focus on the Scilab code. More that 100 lines would be very surprising. When you are done, please pause on the research phase and fill-in your application form. We are currently in the early stages of the selection process: you will have plenty of time if you get selected. Best regards, Micha?l Baudin On Mon, 26 Mar 2012 03:36:09 +0530, prateek papriwal wrote: > Where is the inverse CDF's implemented (Beta inverse cdf,normal > inverse cdf etc. as menationed in [1]) . The list of functions(given > at link [2]) under sub heading Statistics does not have these > functions . Also i looked upon the functions there can be a lot more > can be implemented . Matlab has huge number of functions . > > One of such functions as Geometric CDF , i have planned for how to go > about implenting it. Geometric CDF is the probability distribution of > the number of bernoulli trials to get one success. > > Calling Sequence > > [P,Q] = cdfgeo("PQ",Xn,Pr,Ompr) > > Arguments > P,Q,Xn,PR,Ompr > ?? 5 real vecors of the same size > > P,Q(Q=1-P) > ?? The cumulation from 0 to Xn of the geometric distribution. > ??? (Probablility of getting one(first) success in Xn trials or > less than Xn. Probability of success is Pr . )? Input range: [0,1]. > > Xn > The number of max trials .We will be looking at the geometric > distribution for 1 to Xn trials and then sum them up to get geocdf. > > Pr,Ompr > The probability of getting success in each trial . > > In matlab it is implemented as > > geocdf(3,0.5) where 3 is our Xn and Pr=Ompr=0.5 > > Hence now geocdf will be = (0.5^0)(0.5) + ((0.5)^1)(0.5) + > ((0.5)^2)(0.5) = 0.5 + 0.25 + 0.125? > Explanation of 3rd term -- to get first success, i used 3 trials(Xn) > , therefore got failure in first two trials and success in the 3rd > trial . > Explanation of 2nd Term -- to get first success , i used 2 trials > (less than Xn) , therefore got failure in first trial and success in > 2nd one... > Explanation of 1st Term? --? i got success in first trial only ... > > Note -- Xn is the total number of max trials. For determining cdf we > will be using fewer number tan Xn also and adding all them up .. > > [1] http://forge.scilab.org/index.php/p/distfun/ [1] > [2] http://help.scilab.org/docs/5.4.0-alpha-1/en_US/index.html [2] > > On Sat, Mar 24, 2012 at 9:50 PM, Sylvestre Ledru wrote: > thanks for the forward, just don't forget me the next time ;) > > Le samedi 24 mars 2012 ? 17:19 +0530, prateek papriwal a ?crit : > >> > > > > ---------- Forwarded message ---------- > > From: prateek papriwal > > Date: Sat, Mar 24, 2012 at 4:47 PM > > Subject: Re: Accurate probability distribution functions (GSOC > 2012) > > To: michael.baudin at contrib.scilab.org [5] > > > > > > ok . > > > > yes . its true there are much more functions in matlab. > > PLUS more function such as > > binmial,geometric,hypergeometric,poisson,chebyshev's inequality, > > markov's inequality, MGF of random variable , chi- square, > bernoulli > > etc. > > > > Yes implementing these functions in scilab would be a good idea to > > work upon . > > > > > > On Sat, Mar 24, 2012 at 4:27 PM, > > wrote: > > ? ? ? ? I think that you looked at it too quickly. > > ? ? ? ? There is, by far, not all the required functions. > > ? ? ? ? To see this more quickly, compare with : > > > > ? ? ? ? > http://www.mathworks.fr/help/toolbox/stats/bq_w_hm.html#bq_w_ie-8 [7] > > > > ? ? ? ? There is only ~5% of the distributions in Matlab. > > ? ? ? ? At least 30-40 more functions are necessary to make a > complete > > ? ? ? ? distribution toolbox: > > ? ? ? ? just look at the "TODO" section in the readme. > > > > ? ? ? ? As far as I am concerned, I have no interest in Queuing > > ? ? ? ? theory. > > > > ? ? ? ? Regards, > > > > ? ? ? ? Micha?l > > > > > > > > ? ? ? ? On Mon, 19 Mar 2012 18:05:25 +0530, prateek papriwal > > ? ? ? ? wrote: > > > > ? ? ? ? ? ? ? ? @michael, thank you for ur reply . > > > > > > ? ? ? ? ? ? ? ? > http://forge.scilab.org/index.php/p/distfun/ [9] [1] .. i > > ? ? ? ? ? ? ? ? saw the > > > > ? ? ? ? ? ? ? ? features(functions) already implemented . > > ? ? ? ? ? ? ? ? i would like to have a view at the current > state and > > ? ? ? ? ? ? ? ? would be very > > ? ? ? ? ? ? ? ? mjuch interested in implemeting concepts of > Queueing > > ? ? ? ? ? ? ? ? theory . > > > > > > ? ? ? ? ? ? ? ? On Sun, Mar 18, 2012 at 7:24 AM, Sylvestre > Ledru > > ? ? ? ? ? ? ? ? ?wrote: > > > > ? ? ? ? ? ? ? ? ?Le samedi 17 mars 2012 ? 17:24 +0100, > > > > ? ? ? ? ? ? ? ? michael.baudin at contrib.scilab.org [10] [3] > > > > ? ? ? ? ? ? ? ? ?a ?crit : > > > > > > ? ? ? ? ? ? ? ? ?> ?Secondly, i now work at EDF R&D, and > no more in > > ? ? ? ? ? ? ? ? the Scilab > > ? ? ? ? ? ? ? ? ?> Consortium. > > ? ? ? ? ? ? ? ? ?> ?How i could be involved in the GSOC > 2012 has to be > > ? ? ? ? ? ? ? ? clarified with > > ? ? ? ? ? ? ? ? ?> the > > ? ? ? ? ? ? ? ? ?> ?Consortium. > > > > ? ? ? ? ? ? ? ? ?As long as I (or someone else in the > consortium) am > > ? ? ? ? ? ? ? ? in the loop, I > > ? ? ? ? ? ? ? ? don't > > ? ? ? ? ? ? ? ? ?have any issues with that. > > > > ? ? ? ? ? ? ? ? ?S > > > > ? ? ? ? ? ? ? ? ?-- > > ? ? ? ? ? ? ? ? ?----------------------------- > > ? ? ? ? ? ? ? ? ?Sylvestre Ledru > > ? ? ? ? ? ? ? ? ?Projects manager > > ? ? ? ? ? ? ? ? ?Community manager > > ? ? ? ? ? ? ? ? ?----------------------------- > > ? ? ? ? ? ? ? ? ?Scilab Enterprises > > > > ? ? ? ? ? ? ? ? ?http://www.scilab-enterprises.com/ [11] > [4] > > ? ? ? ? ? ? ? ? ?http://www.scilab.org/ [12] [5] > > ? ? ? ? ? ? ? ? ?----------------------------- > > > > > > > > ? ? ? ? ? ? ? ? Links: > > ? ? ? ? ? ? ? ? ------ > > ? ? ? ? ? ? ? ? [1] > http://forge.scilab.org/index.php/p/distfun/ [13] > > ? ? ? ? ? ? ? ? [2] > mailto:sylvestre.ledru at scilab-enterprises.com [14] > > ? ? ? ? ? ? ? ? [3] > mailto:michael.baudin at contrib.scilab.org [15] > > ? ? ? ? ? ? ? ? [4] http://www.scilab-enterprises.com/ [16] > > ? ? ? ? ? ? ? ? [5] http://www.scilab.org/ [17] > > > > > > > > -- > ----------------------------- > Sylvestre Ledru > Operation manager > > Community manager > ----------------------------- > Scilab Enterprises > http://www.scilab-enterprises.com/ [18] > http://www.scilab.org/ [19] > ----------------------------- > > > > Links: > ------ > [1] http://forge.scilab.org/index.php/p/distfun/ > [2] http://help.scilab.org/docs/5.4.0-alpha-1/en_US/index.html > [3] mailto:sylvestre.ledru at scilab-enterprises.com > [4] mailto:papriwalprateek at gmail.com > [5] mailto:michael.baudin at contrib.scilab.org > [6] mailto:michael.baudin at contrib.scilab.org > [7] http://www.mathworks.fr/help/toolbox/stats/bq_w_hm.html#bq_w_ie-8 > [8] mailto:papriwalprateek at gmail.com > [9] http://forge.scilab.org/index.php/p/distfun/ > [10] mailto:michael.baudin at contrib.scilab.org > [11] http://www.scilab-enterprises.com/ > [12] http://www.scilab.org/ > [13] http://forge.scilab.org/index.php/p/distfun/ > [14] mailto:sylvestre.ledru at scilab-enterprises.com > [15] mailto:michael.baudin at contrib.scilab.org > [16] http://www.scilab-enterprises.com/ > [17] http://www.scilab.org/ > [18] http://www.scilab-enterprises.com/ > [19] http://www.scilab.org/ From sgougeon at free.fr Mon Mar 26 18:05:22 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Mon, 26 Mar 2012 18:05:22 +0200 (CEST) Subject: [scilab-Users] Is thre a Scilab equivlalent to Matlab's "invfreqz()"? In-Reply-To: Message-ID: <2058391597.67760332.1332777922167.JavaMail.root@zimbra75-e12.priv.proxad.net> Hello Dean, About a Scilab equivalent to invfreqz: The Scilab function nearest to your need might be frfit(). You should have a look to it. It is in the Signal processing embedded module. Regards Samuel From sgougeon at free.fr Mon Mar 26 18:55:14 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Mon, 26 Mar 2012 18:55:14 +0200 (CEST) Subject: [scilab-Users] Is thre a Scilab equivlalent to Matlab's "invfreqz()"? In-Reply-To: Message-ID: <98492113.67912678.1332780914256.JavaMail.root@zimbra75-e12.priv.proxad.net> Sorry for my useless answer: You have already pointed frfit() and it does not match your needs! Have you checked http://atoms.scilab.org/toolboxes/stftb on ATOMS, and on the forge http://forge.scilab.org/index.php/p/stftb/source/tree/master/ ? Samuel From remy.abergel at parisdescartes.fr Tue Mar 27 12:32:17 2012 From: remy.abergel at parisdescartes.fr (Remy_Abergel) Date: Tue, 27 Mar 2012 03:32:17 -0700 (PDT) Subject: using SDL library in Scilab [interfacing] Message-ID: <1332844337261-3860938.post@n3.nabble.com> Hello, I'm trying to create a new *Image Processing Toolbox* for Scilab. I could implement successfully basics functions (displaying grayscaled image on the screen, zooming using the mouse left double click, showing pixels coordinates and values using mouse left-click, ...) using Scilab graphic objects (figures) and Matplot. This is efficient, but not fully satisfying me. That is why I would like to re-write the main display functions in *C-code with SDL library*. I would then interface the code with Scilab. As a first try, I would like *to draw a SDL window on the screen*. For that I use the following code: void show_win() { SDL_Init(SDL_INIT_VIDEO); // SDL initialisation SDL_SetVideoMode(640, 480, 32, SDL_HWSURFACE); pause(); SDL_Quit(); // quit SDL } void pause() //wait until the window is closed { int cont = 1; SDL_Event event; while (cont){ SDL_WaitEvent(&event); switch(event.type){ case SDL_QUIT: cont = 0; } } } And here is the interface that I wrote (in the same file as functions "pause" and "show_win"): int interface_show_win(char *fname) { int minlhs=0, maxlhs=0, minrhs=0, maxrhs=0; CheckRhs(minrhs,maxrhs) ; CheckLhs(minlhs,maxlhs) ; show_window(); return 0; } the include files are the following: #include #include #include "stack-c.h" #include and here is the builder.sce file content: ilib_name = 'lib_show_win' // interface library name files = ['interface_show_win.o']; libs = [] // other libs needed for linking table =['show_win', 'interface_show_win']; ilib_build(ilib_name,table,files,libs) when I type in Scilab: exec builder.sce the loader.sce file is sucessfuly created. But when I type in Scilab: exec builder.sce *I get the following error*: -->addinter(lib_show_win_path+'/lib_show_win.so','lib_show_win',list_functions); Link failed for dynamic library '/home/remy/Workspaces/Scilab/interface/window//lib_show_win.so'. An error occurred: /home/remy/Workspaces/Scilab/interface/window//lib_show_win.so: undefined symbol: SDL_WaitEvent Link failed for dynamic library '/home/remy/Workspaces/Scilab/interface/window//lib_show_win.so'. An error occurred: /home/remy/Workspaces/Scilab/interface/window//lib_show_win.so: undefined symbol: SDL_WaitEvent addinter(lib_show_win_path+'/lib_show_win.so','lib_show_win',list_functions); !--error 236 addinter: The shared archive was not loaded: (null) at line 7 of exec file called by : exec loader.sce I guess this is due to a bad linking of SDL library. It remains a little bit confuse for me, but I tryied to change the libs'var in builder.sce, trying successively: libs = ['SDL'] // other libs needed for linking libs = ['libSDL'] // other libs needed for linking libs = ['lSDL'] // other libs needed for linking libs = ['SDLmain'] // other libs needed for linking It still doesn't work. If you know what is wrong, please let me know. Best Regards, R. Abergel -- View this message in context: http://mailinglists.scilab.org/using-SDL-library-in-Scilab-interfacing-tp3860938p3860938.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From allan.cornet at scilab.org Tue Mar 27 12:51:16 2012 From: allan.cornet at scilab.org (Allan CORNET) Date: Tue, 27 Mar 2012 12:51:16 +0200 Subject: [scilab-Users] using SDL library in Scilab [interfacing] In-Reply-To: <1332844337261-3860938.post@n3.nabble.com> References: <1332844337261-3860938.post@n3.nabble.com> Message-ID: <00a601cd0c07$88a595f0$99f0c1d0$@scilab.org> Hi, Try to check if you have really loaded all dependencies required before to execute loader.sce What is the result of link('libSDL.so') ? Simple DirectMedia Layer is a very good multimedia multiplatform library. Why you create another Image processing module and not to try to participate to some current projects ? (I am persuaded that authors of SIVP or IPD will be happy to have some new contributors) Allan -----Message d'origine----- De?: Remy_Abergel [mailto:remy.abergel at parisdescartes.fr] Envoy??: mardi 27 mars 2012 12:32 ??: users at lists.scilab.org Objet?: [scilab-Users] using SDL library in Scilab [interfacing] Hello, I'm trying to create a new *Image Processing Toolbox* for Scilab. I could implement successfully basics functions (displaying grayscaled image on the screen, zooming using the mouse left double click, showing pixels coordinates and values using mouse left-click, ...) using Scilab graphic objects (figures) and Matplot. This is efficient, but not fully satisfying me. That is why I would like to re-write the main display functions in *C-code with SDL library*. I would then interface the code with Scilab. As a first try, I would like *to draw a SDL window on the screen*. For that I use the following code: void show_win() { SDL_Init(SDL_INIT_VIDEO); // SDL initialisation SDL_SetVideoMode(640, 480, 32, SDL_HWSURFACE); pause(); SDL_Quit(); // quit SDL } void pause() //wait until the window is closed { int cont = 1; SDL_Event event; while (cont){ SDL_WaitEvent(&event); switch(event.type){ case SDL_QUIT: cont = 0; } } } And here is the interface that I wrote (in the same file as functions "pause" and "show_win"): int interface_show_win(char *fname) { int minlhs=0, maxlhs=0, minrhs=0, maxrhs=0; CheckRhs(minrhs,maxrhs) ; CheckLhs(minlhs,maxlhs) ; show_window(); return 0; } the include files are the following: #include #include #include "stack-c.h" #include and here is the builder.sce file content: ilib_name = 'lib_show_win' // interface library name files = ['interface_show_win.o']; libs = [] // other libs needed for linking table =['show_win', 'interface_show_win']; ilib_build(ilib_name,table,files,libs) when I type in Scilab: exec builder.sce the loader.sce file is sucessfuly created. But when I type in Scilab: exec builder.sce *I get the following error*: -->addinter(lib_show_win_path+'/lib_show_win.so','lib_show_win',list_fun -->ctions); Link failed for dynamic library '/home/remy/Workspaces/Scilab/interface/window//lib_show_win.so'. An error occurred: /home/remy/Workspaces/Scilab/interface/window//lib_show_win.so: undefined symbol: SDL_WaitEvent Link failed for dynamic library '/home/remy/Workspaces/Scilab/interface/window//lib_show_win.so'. An error occurred: /home/remy/Workspaces/Scilab/interface/window//lib_show_win.so: undefined symbol: SDL_WaitEvent addinter(lib_show_win_path+'/lib_show_win.so','lib_show_win',list_functions) ; !--error 236 addinter: The shared archive was not loaded: (null) at line 7 of exec file called by : exec loader.sce I guess this is due to a bad linking of SDL library. It remains a little bit confuse for me, but I tryied to change the libs'var in builder.sce, trying successively: libs = ['SDL'] // other libs needed for linking libs = ['libSDL'] // other libs needed for linking libs = ['lSDL'] // other libs needed for linking libs = ['SDLmain'] // other libs needed for linking It still doesn't work. If you know what is wrong, please let me know. Best Regards, R. Abergel -- View this message in context: http://mailinglists.scilab.org/using-SDL-library-in-Scilab-interfacing-tp386 0938p3860938.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From remy.abergel at parisdescartes.fr Tue Mar 27 14:30:32 2012 From: remy.abergel at parisdescartes.fr (Remy_Abergel) Date: Tue, 27 Mar 2012 05:30:32 -0700 (PDT) Subject: using SDL library in Scilab [interfacing] In-Reply-To: <00a601cd0c07$88a595f0$99f0c1d0$@scilab.org> References: <1332844337261-3860938.post@n3.nabble.com> <00a601cd0c07$88a595f0$99f0c1d0$@scilab.org> Message-ID: <1332851432915-3861187.post@n3.nabble.com> Dear Allan, Thank you for your quick and efficient answer. link('libSDL.so') returned an error, I realized that the file was protected. I made a chmod a+rwx on it, now it works. I have now 1 question and 1 problem: *Question*: Because I can do chmod only on my own computer, I think I would be oblige to include a copy of the libSDL.so in my future toolbox right? Does it raise any portability issue? (for example if the real libSDL.so file is changed by SDL developers) *Problem*: I may be wrong but it seems that a function with no output can not be interfaced with Scilab. Indeed, when I called my function (typing show_win() in Scilab console) I had an error message: show_win: Wrong number of output argument(s): 0 expected So I simply added a useless output argument to my function. Now it works, a graphic window is opened when I call my function. *But when I close the window, Scilab closes...* You will find below the code, but I tested it with my IDE (CodeBlocks) it works perfectly... A "hs_err_pid22814.log" file has been created in the same repertory as the builder.sce file, it says that: # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x067ff7ee, pid=22814, tid=3078818016 # # JRE version: 6.0_20-b20 # Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 ) # Derivative: IcedTea6 1.9.13 # Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.13-0ubuntu1~10.04.1 # Problematic frame: # C [lib_show_win.so+0x7ee] show_win+0x5e # ... *Do you have any idea how to fix it?* About your remark about SIP/SIVP: I am working for SIMILAN project, initiated by Thales, in association with Scilab, dxo, Map5 (Parsi Descartes University), amongst others. For the moment, I am trying to implement a version of MegaWave into Scilab. You will find below the sources of the code. Thank you very much for your support. Regards, R?my Abergel. souces: #include #include #include "stack-c.h" #include void show_win(int *output) { SDL_Init(SDL_INIT_VIDEO); // SDL initialisation SDL_SetVideoMode(640, 480, 32, SDL_HWSURFACE); //pause until window is closed int cont = 1; SDL_Event event; while (cont){ SDL_WaitEvent(&event); switch(event.type){ case SDL_QUIT: cont = 0; } } //pause end SDL_Quit(); // quit SDL *output = 1; } int interface_show_win(char *fname) { int opt_m1=1, opt_n1=1, opt_l1; int minlhs=1, maxlhs=1, minrhs=0, maxrhs=0; CheckRhs(minrhs,maxrhs) ; CheckLhs(minlhs,maxlhs) ; CreateVar(1, "i", &opt_m1, &opt_n1, &opt_l1); show_win(1); LhsVar(1) = 1; return 0; } builder.sce: ilib_name = 'lib_show_win' // interface library name files = ['interface_show_win.o']; libs = ['libSDL'] // other libs needed for linking table =['show_win', 'interface_show_win']; ilib_build(ilib_name,table,files,libs) -- View this message in context: http://mailinglists.scilab.org/using-SDL-library-in-Scilab-interfacing-tp3860938p3861187.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From agankideska at hotmail.com Tue Mar 27 18:17:34 2012 From: agankideska at hotmail.com (agankideska) Date: Tue, 27 Mar 2012 09:17:34 -0700 (PDT) Subject: FW: turning point estimation In-Reply-To: References: Message-ID: <1332865054281-3861916.post@n3.nabble.com> Dear Eric, first i hope, you accept a belated thanks. your help is very important for me, thanks a lot more. and also one more question for you abaout benarji test. how can we write peaks or throughs date in "rba =banerji(rfr('P'),rfr('T'),rbe('P'), rbe('T'),'lead=4');" i tried peaks or through date but anyway cant obtain parameter. thanks for your interesting. -- View this message in context: http://mailinglists.scilab.org/FW-turning-point-estimation-tp3752888p3861916.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From grocer.toolbox at gmail.com Tue Mar 27 21:58:42 2012 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Tue, 27 Mar 2012 21:58:42 +0200 Subject: [scilab-Users] Re: FW: turning point estimation In-Reply-To: <1332865054281-3861916.post@n3.nabble.com> References: <1332865054281-3861916.post@n3.nabble.com> Message-ID: Dear Agankideska. You have to enter peaks and troughs of the reference series and the one you want to test if it is leading as string vectors of dates. For instance : --> Pr=['1992m2';'1994m12';'1998m3';'2000m11';'2002m5';'2004m9'] // peaks of the reference series --> Tr=['1991m2';'1993m3';'1996m1';'1999m3';'2001m11';'2003m6'] // troughs of the reference series --> Pl=['1994m12';'1997m10';'2000m6';'2002m5';'2004m7'] // peaks of the leading series --> Tl=['1993m2';'1996m1';'1998m12';'2001m10';'2003m6'] // troughs of the leading series --> banerji(Pr,Tr,Pl,Tl,'lead=4'); (in the text you tried, rfr and rbe are implicitely results tlists coming from an application of the Bry-Boschan procedure for the determination of peaks and troughs -function brybos in Grocer-: if you did not run the function with the data clim_fr and clim_be, it is normal that you cannot perform the test this way) Hope it helps ?ric. 2012/3/27 agankideska > Dear Eric, > first i hope, you accept a belated thanks. your help is very important for > me, thanks a lot more. and also one more question for you abaout benarji > test. how can we write peaks or throughs date in "rba > =banerji(rfr('P'),rfr('T'),rbe('P'), rbe('T'),'lead=4');" i tried peaks or > through date but anyway cant obtain parameter. thanks for your interesting. > > -- > View this message in context: > http://mailinglists.scilab.org/FW-turning-point-estimation-tp3752888p3861916.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From agankideska at hotmail.com Tue Mar 27 22:17:40 2012 From: agankideska at hotmail.com (agankideska) Date: Tue, 27 Mar 2012 13:17:40 -0700 (PDT) Subject: FW: turning point estimation In-Reply-To: References: <1332865054281-3861916.post@n3.nabble.com> Message-ID: <1332879460015-3862654.post@n3.nabble.com> Dear Eric, Thank you very much for the really valuable contributions. thanks more... -- View this message in context: http://mailinglists.scilab.org/FW-turning-point-estimation-tp3752888p3862654.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sumit.adhikari at gmail.com Thu Mar 29 12:30:37 2012 From: sumit.adhikari at gmail.com (Sumit Adhikari) Date: Thu, 29 Mar 2012 12:30:37 +0200 Subject: Aspect Ration of Plot Message-ID: Dear All, What I want is to control the aspect ration of my plots (so that there are some fixed aspect ratios in the document). I am using plot(...) command in scilab. Any help will be obliged. Regards, -- Sumit Adhikari, Institute of Computer Technology, Faculty of Electrical Engineering, Vienna University of Technology, Gu?hausstra?e 27-29,1040 Vienna -------------- next part -------------- An HTML attachment was scrubbed... URL: From serge.steer at inria.fr Thu Mar 29 13:05:23 2012 From: serge.steer at inria.fr (Serge Steer) Date: Thu, 29 Mar 2012 13:05:23 +0200 (CEST) Subject: [scilab-Users] Aspect Ration of Plot In-Reply-To: Message-ID: <1150802079.461403.1333019123830.JavaMail.root@zmbs3.inria.fr> I think the isoview property of the axes entity correspond to your needs. Serge Steer INRIA ----- Mail original ----- > De: "Sumit Adhikari" > ?: users at lists.scilab.org > Envoy?: Jeudi 29 Mars 2012 12:30:37 > Objet: [scilab-Users] Aspect Ration of Plot > Dear All, > What I want is to control the aspect ration of my plots (so that there > are some fixed aspect ratios in the document). > I am using plot(...) command in scilab. > Any help will be obliged. > Regards, > -- > Sumit Adhikari, > Institute of Computer Technology, > Faculty of Electrical Engineering, > Vienna University of Technology, > Gu?hausstra?e 27-29,1040 Vienna -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Thu Mar 29 18:01:57 2012 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Thu, 29 Mar 2012 18:01:57 +0200 Subject: idea ? Message-ID: <4F748775.4010807@utc.fr> Hi all, playing around with the docking feature, I have realized doing this programatically at the Scilab level would be a very interesting feature. For example, if a Scilab application needs to open a bunch of graphic windows, it would be nice to dock all of them in a single window (and then further select docked windows with the tabs). S. From sylvestre.ledru at scilab-enterprises.com Thu Mar 29 17:59:40 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 29 Mar 2012 17:59:40 +0200 Subject: [scilab-Users] idea ? In-Reply-To: <4F748775.4010807@utc.fr> References: <4F748775.4010807@utc.fr> Message-ID: <4F7486EC.4030108@scilab-enterprises.com> On 29/03/2012 18:01, St?phane Mottelet wrote: > Hi all, > > playing around with the docking feature, I have realized doing this > programatically at the Scilab level would be a very interesting > feature. For example, if a Scilab application needs to open a bunch of > graphic windows, it would be nice to dock all of them in a single > window (and then further select docked windows with the tabs). > Indeed, we have this idea also in mind. What we just did with Scilab desktop was a first step. We will provide such things in the future. For now, it is only possible by playing with the windowsConfiguration.xml configuration file. Sylvestre -- ----------------------------- Sylvestre Ledru Operation manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From stephane.mottelet at utc.fr Thu Mar 29 18:07:07 2012 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Thu, 29 Mar 2012 18:07:07 +0200 Subject: [scilab-Users] idea ? In-Reply-To: <4F7486EC.4030108@scilab-enterprises.com> References: <4F748775.4010807@utc.fr> <4F7486EC.4030108@scilab-enterprises.com> Message-ID: <4F7488AB.9010203@utc.fr> Le 29/03/12 17:59, Sylvestre Ledru a ?crit : > On 29/03/2012 18:01, St?phane Mottelet wrote: >> Hi all, >> >> playing around with the docking feature, I have realized doing this >> programatically at the Scilab level would be a very interesting >> feature. For example, if a Scilab application needs to open a bunch >> of graphic windows, it would be nice to dock all of them in a single >> window (and then further select docked windows with the tabs). >> > Indeed, we have this idea also in mind. What we just did with Scilab > desktop was a first step. We will provide such things in the future. > For now, it is only possible by playing with the > windowsConfiguration.xml configuration file. Does such a feature exist in Matlab ? > > Sylvestre > From sumeetsk at gmail.com Thu Mar 29 18:23:03 2012 From: sumeetsk at gmail.com (Sumeet) Date: Thu, 29 Mar 2012 21:53:03 +0530 Subject: arpack-ng compile error Message-ID: Hi, I'm trying to compile arpack-ng on Ubuntu 10.04 (in order to build Scilab nightly build), using the standard ./configure, make, make install method. I get the following error: Making install in PARPACK make[1]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK' Making install in UTIL make[2]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' Making install in MPI make[3]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' /bin/bash ../../../libtool --tag=F77 --mode=compile -g -O2 -c -o pivout.lo pivout.f libtool: compile: unrecognized option `-g' libtool: compile: Try `libtool --help' for more information. make[3]: *** [pivout.lo] Error 1 make[3]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK' make: *** [install-recursive] Error 1 Any ideas about resolving this error? Thanks, Sumeet. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Thu Mar 29 18:27:49 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 29 Mar 2012 18:27:49 +0200 Subject: [scilab-Users] arpack-ng compile error In-Reply-To: References: Message-ID: <4F748D85.2090405@scilab-enterprises.com> On 29/03/2012 18:23, Sumeet wrote: > Hi, > > I'm trying to compile arpack-ng on Ubuntu 10.04 (in order to build > Scilab nightly build), using the standard ./configure, make, make > install method. > > I get the following error: > > Making install in PARPACK > make[1]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK' > Making install in UTIL > make[2]: Entering directory > `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' > Making install in MPI > make[3]: Entering directory > `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' > /bin/bash ../../../libtool --tag=F77 --mode=compile -g -O2 -c > -o pivout.lo pivout.f > libtool: compile: unrecognized option `-g' > libtool: compile: Try `libtool --help' for more information. > make[3]: *** [pivout.lo] Error 1 > make[3]: Leaving directory > `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory > `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK' > make: *** [install-recursive] Error 1 > > Any ideas about resolving this error? Two things: * install a fortran compiler and restart the configure * please report a bug about on the arpack-ng forge. We should stop the configure if the fortran compiler is not found. Thanks, Sylvestre -- ----------------------------- Sylvestre Ledru Operation manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner.cw711 at gmail.com Thu Mar 29 18:50:22 2012 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Thu, 29 Mar 2012 11:50:22 -0500 Subject: [scilab-Users] arpack-ng compile error In-Reply-To: <4F748D85.2090405@scilab-enterprises.com> References: <4F748D85.2090405@scilab-enterprises.com> Message-ID: Two comments on your error message: your make file is trying to run libtool with a "-g" option, which libtool does not recognize. I am not sure what the "-g" option is intended to provide, but you might try editing the make file and eliminating this option on the calling line. Next, why are you using Fortran77 rather than gfortran? Is this a requirement of the arpack-ng package? If so, it is an indication that it is built on pretty old technology...Some Fortran77 features do not compile well on newer systems. Charlie On Thu, Mar 29, 2012 at 11:27 AM, Sylvestre Ledru < sylvestre.ledru at scilab-enterprises.com> wrote: > ** > On 29/03/2012 18:23, Sumeet wrote: > > Hi, > > I'm trying to compile arpack-ng on Ubuntu 10.04 (in order to build > Scilab nightly build), using the standard ./configure, make, make install > method. > > I get the following error: > > Making install in PARPACK > make[1]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK' > Making install in UTIL > make[2]: Entering directory > `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' > Making install in MPI > make[3]: Entering directory > `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' > /bin/bash ../../../libtool --tag=F77 --mode=compile -g -O2 -c -o > pivout.lo pivout.f > libtool: compile: unrecognized option `-g' > libtool: compile: Try `libtool --help' for more information. > make[3]: *** [pivout.lo] Error 1 > make[3]: Leaving directory > `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory > `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK' > make: *** [install-recursive] Error 1 > > Any ideas about resolving this error? > > Two things: > * install a fortran compiler and restart the configure > * please report a bug about on the arpack-ng forge. We should stop the > configure if the fortran compiler is not found. > > Thanks, > Sylvestre > > > -- > ----------------------------- > Sylvestre Ledru > Operation manager > Community manager > ----------------------------- > Scilab Enterpriseshttp://www.scilab-enterprises.com/http://www.scilab.org/ > ----------------------------- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sumeetsk at gmail.com Thu Mar 29 19:18:21 2012 From: sumeetsk at gmail.com (Sumeet) Date: Thu, 29 Mar 2012 22:48:21 +0530 Subject: [scilab-Users] arpack-ng compile error In-Reply-To: References: <4F748D85.2090405@scilab-enterprises.com> Message-ID: Thanks Sylvestre and Charlie. I was getting an error in spite of having the fortran compiler installed. I tried removing the fortran77-compiler and having only gfortran-4.4, but then ./configure returns an error. So apparently, fortran77 is a must. I'll look into removing the -g flag. Thanks, Sumeet. In case this helps, here's the ./configure output on removing fortran77-compiler: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether the Fortran 77 compiler works... no configure: error: in `/home/sumeet/Downloads/arpack-ng': configure: error: Fortran 77 compiler cannot create executables See `config.log' for more details. Here's the ./configure output with fortran77-compiler present: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g77... no checking for xlf... no checking for f77... f77 checking whether the Fortran 77 compiler works... yes checking for Fortran 77 compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU Fortran 77 compiler... yes checking whether f77 accepts -g... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for f77 option to produce PIC... -fPIC checking if f77 PIC flag -fPIC works... yes checking if f77 static flag -static works... yes checking if f77 supports -c -o file.o... yes checking if f77 supports -c -o file.o... (cached) yes checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking how to get verbose linking output from f77... configure: WARNING: cannot determine how to obtain linking information from f77 checking for Fortran 77 libraries of f77... checking for dummy main to link with Fortran 77 libraries... none checking for Fortran 77 name-mangling scheme... lower case, underscore, extra underscore checking if sgemm_ is being linked in already... no checking for ATL_xerbla in -latlas... no checking for sgemm_ in -lblas... yes checking for dgemm_ in -ldgemm... no checking for sgemm_ in -lmkl... no checking for sgemm_ in -framework vecLib... no checking for sgemm_ in -lcxml... no checking for sgemm_ in -ldxml... no checking for sgemm_ in -lscs... no checking for sgemm_ in -lcomplib.sgimath... no checking for sgemm_ in -lblas... (cached) yes checking for sgemm_ in -lessl... no checking for sgemm_ in -lblas... (cached) yes checking for cheev_... no checking for cheev_ in -llapack... yes checking for MPI mode... configure: creating ./config.status config.status: creating Makefile config.status: creating SRC/Makefile config.status: creating UTIL/Makefile config.status: creating TESTS/Makefile config.status: creating PARPACK/Makefile config.status: creating PARPACK/SRC/Makefile config.status: creating PARPACK/SRC/MPI/Makefile config.status: creating PARPACK/UTIL/Makefile config.status: creating PARPACK/UTIL/MPI/Makefile config.status: executing depfiles commands config.status: executing libtool commands On Thu, Mar 29, 2012 at 10:20 PM, Charles Warner wrote: > Two comments on your error message: your make file is trying to run > libtool with a "-g" option, which libtool does not recognize. I am not > sure what the "-g" option is intended to provide, but you might try editing > the make file and eliminating this option on the calling line. > Next, why are you using Fortran77 rather than gfortran? Is this a > requirement of the arpack-ng package? If so, it is an indication that it > is built on pretty old technology...Some Fortran77 features do not compile > well on newer systems. > > Charlie > > > On Thu, Mar 29, 2012 at 11:27 AM, Sylvestre Ledru < > sylvestre.ledru at scilab-enterprises.com> wrote: > >> ** >> On 29/03/2012 18:23, Sumeet wrote: >> >> Hi, >> >> I'm trying to compile arpack-ng on Ubuntu 10.04 (in order to build >> Scilab nightly build), using the standard ./configure, make, make install >> method. >> >> I get the following error: >> >> Making install in PARPACK >> make[1]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK' >> Making install in UTIL >> make[2]: Entering directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >> Making install in MPI >> make[3]: Entering directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >> /bin/bash ../../../libtool --tag=F77 --mode=compile -g -O2 -c -o >> pivout.lo pivout.f >> libtool: compile: unrecognized option `-g' >> libtool: compile: Try `libtool --help' for more information. >> make[3]: *** [pivout.lo] Error 1 >> make[3]: Leaving directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >> make[2]: *** [install-recursive] Error 1 >> make[2]: Leaving directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >> make[1]: *** [install-recursive] Error 1 >> make[1]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK' >> make: *** [install-recursive] Error 1 >> >> Any ideas about resolving this error? >> >> Two things: >> * install a fortran compiler and restart the configure >> * please report a bug about on the arpack-ng forge. We should stop the >> configure if the fortran compiler is not found. >> >> Thanks, >> Sylvestre >> >> >> -- >> ----------------------------- >> Sylvestre Ledru >> Operation manager >> Community manager >> ----------------------------- >> Scilab Enterpriseshttp://www.scilab-enterprises.com/http://www.scilab.org/ >> ----------------------------- >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Thu Mar 29 19:22:03 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 29 Mar 2012 19:22:03 +0200 Subject: [scilab-Users] arpack-ng compile error In-Reply-To: References: <4F748D85.2090405@scilab-enterprises.com> Message-ID: <4F749A3B.2090504@scilab-enterprises.com> Please switch to the arpack-ng mailing or, at least, on the Scilab-dev mailing list. It is clearly not related to Scilab user issues. On 29/03/2012 19:18, Sumeet wrote: > Thanks Sylvestre and Charlie. > > I was getting an error in spite of having the fortran compiler > installed. I tried removing the fortran77-compiler and having only > gfortran-4.4, but then ./configure returns an error. So apparently, > fortran77 is a must. I'll look into removing the -g flag. > > Thanks, > Sumeet. > > In case this helps, here's the ./configure output on removing > fortran77-compiler: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g77... no > checking for xlf... no > checking for f77... no > checking for frt... no > checking for pgf77... no > checking for cf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for xlf90... no > checking for f90... no > checking for pgf90... no > checking for pghpf... no > checking for epcf90... no > checking for gfortran... no > checking for g95... no > checking for xlf95... no > checking for f95... no > checking for fort... no > checking for ifort... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for ftn... no > checking whether the Fortran 77 compiler works... no > configure: error: in `/home/sumeet/Downloads/arpack-ng': > configure: error: Fortran 77 compiler cannot create executables > See `config.log' for more details. > > > Here's the ./configure output with fortran77-compiler present: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g77... no > checking for xlf... no > checking for f77... f77 > checking whether the Fortran 77 compiler works... yes > checking for Fortran 77 compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether f77 accepts -g... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking how to print strings... printf > checking for style of include used by make... GNU > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... none > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 1572864 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking how to convert i686-pc-linux-gnu file names to > i686-pc-linux-gnu format... func_convert_file_noop > checking how to convert i686-pc-linux-gnu file names to toolchain > format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... no > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld) supports shared > libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for f77 option to produce PIC... -fPIC > checking if f77 PIC flag -fPIC works... yes > checking if f77 static flag -static works... yes > checking if f77 supports -c -o file.o... yes > checking if f77 supports -c -o file.o... (cached) yes > checking whether the f77 linker (/usr/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... (cached) GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking how to get verbose linking output from f77... configure: > WARNING: cannot determine how to obtain linking information from f77 > > checking for Fortran 77 libraries of f77... > checking for dummy main to link with Fortran 77 libraries... none > checking for Fortran 77 name-mangling scheme... lower case, > underscore, extra underscore > checking if sgemm_ is being linked in already... no > checking for ATL_xerbla in -latlas... no > checking for sgemm_ in -lblas... yes > checking for dgemm_ in -ldgemm... no > checking for sgemm_ in -lmkl... no > checking for sgemm_ in -framework vecLib... no > checking for sgemm_ in -lcxml... no > checking for sgemm_ in -ldxml... no > checking for sgemm_ in -lscs... no > checking for sgemm_ in -lcomplib.sgimath... no > checking for sgemm_ in -lblas... (cached) yes > checking for sgemm_ in -lessl... no > checking for sgemm_ in -lblas... (cached) yes > checking for cheev_... no > checking for cheev_ in -llapack... yes > checking for MPI mode... configure: creating ./config.status > config.status: creating Makefile > config.status: creating SRC/Makefile > config.status: creating UTIL/Makefile > config.status: creating TESTS/Makefile > config.status: creating PARPACK/Makefile > config.status: creating PARPACK/SRC/Makefile > config.status: creating PARPACK/SRC/MPI/Makefile > config.status: creating PARPACK/UTIL/Makefile > config.status: creating PARPACK/UTIL/MPI/Makefile > config.status: executing depfiles commands > config.status: executing libtool commands > > > On Thu, Mar 29, 2012 at 10:20 PM, Charles Warner > > wrote: > > Two comments on your error message: your make file is trying to > run libtool with a "-g" option, which libtool does not recognize. > I am not sure what the "-g" option is intended to provide, but > you might try editing the make file and eliminating this option on > the calling line. > Next, why are you using Fortran77 rather than gfortran? Is this a > requirement of the arpack-ng package? If so, it is an indication > that it is built on pretty old technology...Some Fortran77 > features do not compile well on newer systems. > > Charlie > > > On Thu, Mar 29, 2012 at 11:27 AM, Sylvestre Ledru > > wrote: > > On 29/03/2012 18:23, Sumeet wrote: >> Hi, >> >> I'm trying to compile arpack-ng on Ubuntu 10.04 (in order to >> build Scilab nightly build), using the standard ./configure, >> make, make install method. >> >> I get the following error: >> >> Making install in PARPACK >> make[1]: Entering directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK' >> Making install in UTIL >> make[2]: Entering directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >> Making install in MPI >> make[3]: Entering directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >> /bin/bash ../../../libtool --tag=F77 --mode=compile >> -g -O2 -c -o pivout.lo pivout.f >> libtool: compile: unrecognized option `-g' >> libtool: compile: Try `libtool --help' for more information. >> make[3]: *** [pivout.lo] Error 1 >> make[3]: Leaving directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >> make[2]: *** [install-recursive] Error 1 >> make[2]: Leaving directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >> make[1]: *** [install-recursive] Error 1 >> make[1]: Leaving directory >> `/home/sumeet/Downloads/arpack-ng/PARPACK' >> make: *** [install-recursive] Error 1 >> >> Any ideas about resolving this error? > Two things: > * install a fortran compiler and restart the configure > * please report a bug about on the arpack-ng forge. We should > stop the configure if the fortran compiler is not found. > > Thanks, > Sylvestre > > > -- > ----------------------------- > Sylvestre Ledru > Operation manager > Community manager > ----------------------------- > Scilab Enterprises > http://www.scilab-enterprises.com/ > http://www.scilab.org/ > ----------------------------- > > > -- ----------------------------- Sylvestre Ledru Operation manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From sumeetsk at gmail.com Thu Mar 29 19:28:57 2012 From: sumeetsk at gmail.com (Sumeet) Date: Thu, 29 Mar 2012 22:58:57 +0530 Subject: [scilab-Users] arpack-ng compile error In-Reply-To: <4F749A3B.2090504@scilab-enterprises.com> References: <4F748D85.2090405@scilab-enterprises.com> <4F749A3B.2090504@scilab-enterprises.com> Message-ID: I'm sorry, I will. On Thu, Mar 29, 2012 at 10:52 PM, Sylvestre Ledru < sylvestre.ledru at scilab-enterprises.com> wrote: > ** > Please switch to the arpack-ng mailing or, at least, on the Scilab-dev > mailing list. It is clearly not related to Scilab user issues. > > > On 29/03/2012 19:18, Sumeet wrote: > > Thanks Sylvestre and Charlie. > > I was getting an error in spite of having the fortran compiler > installed. I tried removing the fortran77-compiler and having only > gfortran-4.4, but then ./configure returns an error. So apparently, > fortran77 is a must. I'll look into removing the -g flag. > > Thanks, > Sumeet. > > In case this helps, here's the ./configure output on removing > fortran77-compiler: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g77... no > checking for xlf... no > checking for f77... no > checking for frt... no > checking for pgf77... no > checking for cf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for xlf90... no > checking for f90... no > checking for pgf90... no > checking for pghpf... no > checking for epcf90... no > checking for gfortran... no > checking for g95... no > checking for xlf95... no > checking for f95... no > checking for fort... no > checking for ifort... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for ftn... no > checking whether the Fortran 77 compiler works... no > configure: error: in `/home/sumeet/Downloads/arpack-ng': > configure: error: Fortran 77 compiler cannot create executables > See `config.log' for more details. > > > Here's the ./configure output with fortran77-compiler present: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g77... no > checking for xlf... no > checking for f77... f77 > checking whether the Fortran 77 compiler works... yes > checking for Fortran 77 compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether f77 accepts -g... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking how to print strings... printf > checking for style of include used by make... GNU > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... none > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 1572864 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu > format... func_convert_file_noop > checking how to convert i686-pc-linux-gnu file names to toolchain > format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... no > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld) supports shared libraries... > yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for f77 option to produce PIC... -fPIC > checking if f77 PIC flag -fPIC works... yes > checking if f77 static flag -static works... yes > checking if f77 supports -c -o file.o... yes > checking if f77 supports -c -o file.o... (cached) yes > checking whether the f77 linker (/usr/bin/ld) supports shared libraries... > yes > checking dynamic linker characteristics... (cached) GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking how to get verbose linking output from f77... configure: WARNING: > cannot determine how to obtain linking information from f77 > > checking for Fortran 77 libraries of f77... > checking for dummy main to link with Fortran 77 libraries... none > checking for Fortran 77 name-mangling scheme... lower case, underscore, > extra underscore > checking if sgemm_ is being linked in already... no > checking for ATL_xerbla in -latlas... no > checking for sgemm_ in -lblas... yes > checking for dgemm_ in -ldgemm... no > checking for sgemm_ in -lmkl... no > checking for sgemm_ in -framework vecLib... no > checking for sgemm_ in -lcxml... no > checking for sgemm_ in -ldxml... no > checking for sgemm_ in -lscs... no > checking for sgemm_ in -lcomplib.sgimath... no > checking for sgemm_ in -lblas... (cached) yes > checking for sgemm_ in -lessl... no > checking for sgemm_ in -lblas... (cached) yes > checking for cheev_... no > checking for cheev_ in -llapack... yes > checking for MPI mode... configure: creating ./config.status > config.status: creating Makefile > config.status: creating SRC/Makefile > config.status: creating UTIL/Makefile > config.status: creating TESTS/Makefile > config.status: creating PARPACK/Makefile > config.status: creating PARPACK/SRC/Makefile > config.status: creating PARPACK/SRC/MPI/Makefile > config.status: creating PARPACK/UTIL/Makefile > config.status: creating PARPACK/UTIL/MPI/Makefile > config.status: executing depfiles commands > config.status: executing libtool commands > > > On Thu, Mar 29, 2012 at 10:20 PM, Charles Warner wrote: > >> Two comments on your error message: your make file is trying to run >> libtool with a "-g" option, which libtool does not recognize. I am not >> sure what the "-g" option is intended to provide, but you might try editing >> the make file and eliminating this option on the calling line. >> Next, why are you using Fortran77 rather than gfortran? Is this a >> requirement of the arpack-ng package? If so, it is an indication that it >> is built on pretty old technology...Some Fortran77 features do not compile >> well on newer systems. >> >> Charlie >> >> >> On Thu, Mar 29, 2012 at 11:27 AM, Sylvestre Ledru < >> sylvestre.ledru at scilab-enterprises.com> wrote: >> >>> On 29/03/2012 18:23, Sumeet wrote: >>> >>> Hi, >>> >>> I'm trying to compile arpack-ng on Ubuntu 10.04 (in order to build >>> Scilab nightly build), using the standard ./configure, make, make install >>> method. >>> >>> I get the following error: >>> >>> Making install in PARPACK >>> make[1]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK' >>> Making install in UTIL >>> make[2]: Entering directory >>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >>> Making install in MPI >>> make[3]: Entering directory >>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >>> /bin/bash ../../../libtool --tag=F77 --mode=compile -g -O2 -c -o >>> pivout.lo pivout.f >>> libtool: compile: unrecognized option `-g' >>> libtool: compile: Try `libtool --help' for more information. >>> make[3]: *** [pivout.lo] Error 1 >>> make[3]: Leaving directory >>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >>> make[2]: *** [install-recursive] Error 1 >>> make[2]: Leaving directory >>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >>> make[1]: *** [install-recursive] Error 1 >>> make[1]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK' >>> make: *** [install-recursive] Error 1 >>> >>> Any ideas about resolving this error? >>> >>> Two things: >>> * install a fortran compiler and restart the configure >>> * please report a bug about on the arpack-ng forge. We should stop the >>> configure if the fortran compiler is not found. >>> >>> Thanks, >>> Sylvestre >>> >>> >>> -- >>> ----------------------------- >>> Sylvestre Ledru >>> Operation manager >>> Community manager >>> ----------------------------- >>> Scilab Enterpriseshttp://www.scilab-enterprises.com/http://www.scilab.org/ >>> ----------------------------- >>> >>> >> > > > -- > ----------------------------- > Sylvestre Ledru > Operation manager > Community manager > ----------------------------- > Scilab Enterpriseshttp://www.scilab-enterprises.com/http://www.scilab.org/ > ----------------------------- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sumeetsk at gmail.com Thu Mar 29 19:45:18 2012 From: sumeetsk at gmail.com (Sumeet) Date: Thu, 29 Mar 2012 23:15:18 +0530 Subject: [scilab-Users] arpack-ng compile error In-Reply-To: References: <4F748D85.2090405@scilab-enterprises.com> <4F749A3B.2090504@scilab-enterprises.com> Message-ID: For the archives: This issue has been reported and resolved on http://forge.scilab.org/index.php/p/arpack-ng/issues/689/ My bad, I didn't check earlier. On Thu, Mar 29, 2012 at 10:58 PM, Sumeet wrote: > I'm sorry, I will. > > > On Thu, Mar 29, 2012 at 10:52 PM, Sylvestre Ledru < > sylvestre.ledru at scilab-enterprises.com> wrote: > >> ** >> Please switch to the arpack-ng mailing or, at least, on the Scilab-dev >> mailing list. It is clearly not related to Scilab user issues. >> >> >> On 29/03/2012 19:18, Sumeet wrote: >> >> Thanks Sylvestre and Charlie. >> >> I was getting an error in spite of having the fortran compiler >> installed. I tried removing the fortran77-compiler and having only >> gfortran-4.4, but then ./configure returns an error. So apparently, >> fortran77 is a must. I'll look into removing the -g flag. >> >> Thanks, >> Sumeet. >> >> In case this helps, here's the ./configure output on removing >> fortran77-compiler: >> >> checking for a BSD-compatible install... /usr/bin/install -c >> checking whether build environment is sane... yes >> checking for a thread-safe mkdir -p... /bin/mkdir -p >> checking for gawk... gawk >> checking whether make sets $(MAKE)... yes >> checking for g77... no >> checking for xlf... no >> checking for f77... no >> checking for frt... no >> checking for pgf77... no >> checking for cf77... no >> checking for fort77... no >> checking for fl32... no >> checking for af77... no >> checking for xlf90... no >> checking for f90... no >> checking for pgf90... no >> checking for pghpf... no >> checking for epcf90... no >> checking for gfortran... no >> checking for g95... no >> checking for xlf95... no >> checking for f95... no >> checking for fort... no >> checking for ifort... no >> checking for ifc... no >> checking for efc... no >> checking for pgf95... no >> checking for lf95... no >> checking for ftn... no >> checking whether the Fortran 77 compiler works... no >> configure: error: in `/home/sumeet/Downloads/arpack-ng': >> configure: error: Fortran 77 compiler cannot create executables >> See `config.log' for more details. >> >> >> Here's the ./configure output with fortran77-compiler present: >> >> checking for a BSD-compatible install... /usr/bin/install -c >> checking whether build environment is sane... yes >> checking for a thread-safe mkdir -p... /bin/mkdir -p >> checking for gawk... gawk >> checking whether make sets $(MAKE)... yes >> checking for g77... no >> checking for xlf... no >> checking for f77... f77 >> checking whether the Fortran 77 compiler works... yes >> checking for Fortran 77 compiler default output file name... a.out >> checking for suffix of executables... >> checking whether we are cross compiling... no >> checking for suffix of object files... o >> checking whether we are using the GNU Fortran 77 compiler... yes >> checking whether f77 accepts -g... yes >> checking build system type... i686-pc-linux-gnu >> checking host system type... i686-pc-linux-gnu >> checking how to print strings... printf >> checking for style of include used by make... GNU >> checking for gcc... gcc >> checking whether we are using the GNU C compiler... yes >> checking whether gcc accepts -g... yes >> checking for gcc option to accept ISO C89... none needed >> checking dependency style of gcc... none >> checking for a sed that does not truncate output... /bin/sed >> checking for grep that handles long lines and -e... /bin/grep >> checking for egrep... /bin/grep -E >> checking for fgrep... /bin/grep -F >> checking for ld used by gcc... /usr/bin/ld >> checking if the linker (/usr/bin/ld) is GNU ld... yes >> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B >> checking the name lister (/usr/bin/nm -B) interface... BSD nm >> checking whether ln -s works... yes >> checking the maximum length of command line arguments... 1572864 >> checking whether the shell understands some XSI constructs... yes >> checking whether the shell understands "+="... yes >> checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu >> format... func_convert_file_noop >> checking how to convert i686-pc-linux-gnu file names to toolchain >> format... func_convert_file_noop >> checking for /usr/bin/ld option to reload object files... -r >> checking for objdump... objdump >> checking how to recognize dependent libraries... pass_all >> checking for dlltool... no >> checking how to associate runtime and link libraries... printf %s\n >> checking for ar... ar >> checking for archiver @FILE support... @ >> checking for strip... strip >> checking for ranlib... ranlib >> checking command to parse /usr/bin/nm -B output from gcc object... ok >> checking for sysroot... no >> checking for mt... mt >> checking if mt is a manifest tool... no >> checking how to run the C preprocessor... gcc -E >> checking for ANSI C header files... yes >> checking for sys/types.h... yes >> checking for sys/stat.h... yes >> checking for stdlib.h... yes >> checking for string.h... yes >> checking for memory.h... yes >> checking for strings.h... yes >> checking for inttypes.h... yes >> checking for stdint.h... yes >> checking for unistd.h... yes >> checking for dlfcn.h... yes >> checking for objdir... .libs >> checking if gcc supports -fno-rtti -fno-exceptions... no >> checking for gcc option to produce PIC... -fPIC -DPIC >> checking if gcc PIC flag -fPIC -DPIC works... yes >> checking if gcc static flag -static works... yes >> checking if gcc supports -c -o file.o... yes >> checking if gcc supports -c -o file.o... (cached) yes >> checking whether the gcc linker (/usr/bin/ld) supports shared >> libraries... yes >> checking whether -lc should be explicitly linked in... no >> checking dynamic linker characteristics... GNU/Linux ld.so >> checking how to hardcode library paths into programs... immediate >> checking whether stripping libraries is possible... yes >> checking if libtool supports shared libraries... yes >> checking whether to build shared libraries... yes >> checking whether to build static libraries... yes >> checking if libtool supports shared libraries... yes >> checking whether to build shared libraries... yes >> checking whether to build static libraries... yes >> checking for f77 option to produce PIC... -fPIC >> checking if f77 PIC flag -fPIC works... yes >> checking if f77 static flag -static works... yes >> checking if f77 supports -c -o file.o... yes >> checking if f77 supports -c -o file.o... (cached) yes >> checking whether the f77 linker (/usr/bin/ld) supports shared >> libraries... yes >> checking dynamic linker characteristics... (cached) GNU/Linux ld.so >> checking how to hardcode library paths into programs... immediate >> checking how to get verbose linking output from f77... configure: >> WARNING: cannot determine how to obtain linking information from f77 >> >> checking for Fortran 77 libraries of f77... >> checking for dummy main to link with Fortran 77 libraries... none >> checking for Fortran 77 name-mangling scheme... lower case, underscore, >> extra underscore >> checking if sgemm_ is being linked in already... no >> checking for ATL_xerbla in -latlas... no >> checking for sgemm_ in -lblas... yes >> checking for dgemm_ in -ldgemm... no >> checking for sgemm_ in -lmkl... no >> checking for sgemm_ in -framework vecLib... no >> checking for sgemm_ in -lcxml... no >> checking for sgemm_ in -ldxml... no >> checking for sgemm_ in -lscs... no >> checking for sgemm_ in -lcomplib.sgimath... no >> checking for sgemm_ in -lblas... (cached) yes >> checking for sgemm_ in -lessl... no >> checking for sgemm_ in -lblas... (cached) yes >> checking for cheev_... no >> checking for cheev_ in -llapack... yes >> checking for MPI mode... configure: creating ./config.status >> config.status: creating Makefile >> config.status: creating SRC/Makefile >> config.status: creating UTIL/Makefile >> config.status: creating TESTS/Makefile >> config.status: creating PARPACK/Makefile >> config.status: creating PARPACK/SRC/Makefile >> config.status: creating PARPACK/SRC/MPI/Makefile >> config.status: creating PARPACK/UTIL/Makefile >> config.status: creating PARPACK/UTIL/MPI/Makefile >> config.status: executing depfiles commands >> config.status: executing libtool commands >> >> >> On Thu, Mar 29, 2012 at 10:20 PM, Charles Warner > > wrote: >> >>> Two comments on your error message: your make file is trying to run >>> libtool with a "-g" option, which libtool does not recognize. I am not >>> sure what the "-g" option is intended to provide, but you might try editing >>> the make file and eliminating this option on the calling line. >>> Next, why are you using Fortran77 rather than gfortran? Is this a >>> requirement of the arpack-ng package? If so, it is an indication that it >>> is built on pretty old technology...Some Fortran77 features do not compile >>> well on newer systems. >>> >>> Charlie >>> >>> >>> On Thu, Mar 29, 2012 at 11:27 AM, Sylvestre Ledru < >>> sylvestre.ledru at scilab-enterprises.com> wrote: >>> >>>> On 29/03/2012 18:23, Sumeet wrote: >>>> >>>> Hi, >>>> >>>> I'm trying to compile arpack-ng on Ubuntu 10.04 (in order to build >>>> Scilab nightly build), using the standard ./configure, make, make install >>>> method. >>>> >>>> I get the following error: >>>> >>>> Making install in PARPACK >>>> make[1]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK' >>>> Making install in UTIL >>>> make[2]: Entering directory >>>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >>>> Making install in MPI >>>> make[3]: Entering directory >>>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >>>> /bin/bash ../../../libtool --tag=F77 --mode=compile -g -O2 -c -o >>>> pivout.lo pivout.f >>>> libtool: compile: unrecognized option `-g' >>>> libtool: compile: Try `libtool --help' for more information. >>>> make[3]: *** [pivout.lo] Error 1 >>>> make[3]: Leaving directory >>>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >>>> make[2]: *** [install-recursive] Error 1 >>>> make[2]: Leaving directory >>>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >>>> make[1]: *** [install-recursive] Error 1 >>>> make[1]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK' >>>> make: *** [install-recursive] Error 1 >>>> >>>> Any ideas about resolving this error? >>>> >>>> Two things: >>>> * install a fortran compiler and restart the configure >>>> * please report a bug about on the arpack-ng forge. We should stop the >>>> configure if the fortran compiler is not found. >>>> >>>> Thanks, >>>> Sylvestre >>>> >>>> >>>> -- >>>> ----------------------------- >>>> Sylvestre Ledru >>>> Operation manager >>>> Community manager >>>> ----------------------------- >>>> Scilab Enterpriseshttp://www.scilab-enterprises.com/http://www.scilab.org/ >>>> ----------------------------- >>>> >>>> >>> >> >> >> -- >> ----------------------------- >> Sylvestre Ledru >> Operation manager >> Community manager >> ----------------------------- >> Scilab Enterpriseshttp://www.scilab-enterprises.com/http://www.scilab.org/ >> ----------------------------- >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From deanm at sharplabs.com Fri Mar 30 02:11:08 2012 From: deanm at sharplabs.com (Dean S. Messing) Date: Thu, 29 Mar 2012 17:11:08 -0700 Subject: [scilab-Users] Is thre a Scilab equivlalent to Matlab's "invfreqz()"? In-Reply-To: <98492113.67912678.1332780914256.JavaMail.root@zimbra75-e12.priv.proxad.net> (sgougeon@free.fr) Message-ID: Samuel Gougeon wrote: > Sorry for my useless answer: You have already pointed frfit() > and it does not match your needs! > Have you checked http://atoms.scilab.org/toolboxes/stftb on ATOMS, > and on the forge > http://forge.scilab.org/index.php/p/stftb/source/tree/master/ > ? Thanks Samuel. I just checked the tutorial for this toolbox and nothing like invfreqz() seems to be there. Regards, Dean From cwarner.cw711 at gmail.com Thu Mar 29 19:22:11 2012 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Thu, 29 Mar 2012 12:22:11 -0500 Subject: [scilab-Users] arpack-ng compile error In-Reply-To: References: <4F748D85.2090405@scilab-enterprises.com> Message-ID: OK. Fortan77 is a must for this package... Charlie On Thu, Mar 29, 2012 at 12:18 PM, Sumeet wrote: > Thanks Sylvestre and Charlie. > > I was getting an error in spite of having the fortran compiler installed. > I tried removing the fortran77-compiler and having only gfortran-4.4, but > then ./configure returns an error. So apparently, fortran77 is a must. I'll > look into removing the -g flag. > > Thanks, > Sumeet. > > In case this helps, here's the ./configure output on removing > fortran77-compiler: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g77... no > checking for xlf... no > checking for f77... no > checking for frt... no > checking for pgf77... no > checking for cf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for xlf90... no > checking for f90... no > checking for pgf90... no > checking for pghpf... no > checking for epcf90... no > checking for gfortran... no > checking for g95... no > checking for xlf95... no > checking for f95... no > checking for fort... no > checking for ifort... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for ftn... no > checking whether the Fortran 77 compiler works... no > configure: error: in `/home/sumeet/Downloads/arpack-ng': > configure: error: Fortran 77 compiler cannot create executables > See `config.log' for more details. > > > Here's the ./configure output with fortran77-compiler present: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g77... no > checking for xlf... no > checking for f77... f77 > checking whether the Fortran 77 compiler works... yes > checking for Fortran 77 compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether f77 accepts -g... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking how to print strings... printf > checking for style of include used by make... GNU > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... none > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 1572864 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu > format... func_convert_file_noop > checking how to convert i686-pc-linux-gnu file names to toolchain > format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... no > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld) supports shared libraries... > yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for f77 option to produce PIC... -fPIC > checking if f77 PIC flag -fPIC works... yes > checking if f77 static flag -static works... yes > checking if f77 supports -c -o file.o... yes > checking if f77 supports -c -o file.o... (cached) yes > checking whether the f77 linker (/usr/bin/ld) supports shared libraries... > yes > checking dynamic linker characteristics... (cached) GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking how to get verbose linking output from f77... configure: WARNING: > cannot determine how to obtain linking information from f77 > > checking for Fortran 77 libraries of f77... > checking for dummy main to link with Fortran 77 libraries... none > checking for Fortran 77 name-mangling scheme... lower case, underscore, > extra underscore > checking if sgemm_ is being linked in already... no > checking for ATL_xerbla in -latlas... no > checking for sgemm_ in -lblas... yes > checking for dgemm_ in -ldgemm... no > checking for sgemm_ in -lmkl... no > checking for sgemm_ in -framework vecLib... no > checking for sgemm_ in -lcxml... no > checking for sgemm_ in -ldxml... no > checking for sgemm_ in -lscs... no > checking for sgemm_ in -lcomplib.sgimath... no > checking for sgemm_ in -lblas... (cached) yes > checking for sgemm_ in -lessl... no > checking for sgemm_ in -lblas... (cached) yes > checking for cheev_... no > checking for cheev_ in -llapack... yes > checking for MPI mode... configure: creating ./config.status > config.status: creating Makefile > config.status: creating SRC/Makefile > config.status: creating UTIL/Makefile > config.status: creating TESTS/Makefile > config.status: creating PARPACK/Makefile > config.status: creating PARPACK/SRC/Makefile > config.status: creating PARPACK/SRC/MPI/Makefile > config.status: creating PARPACK/UTIL/Makefile > config.status: creating PARPACK/UTIL/MPI/Makefile > config.status: executing depfiles commands > config.status: executing libtool commands > > > On Thu, Mar 29, 2012 at 10:20 PM, Charles Warner wrote: > >> Two comments on your error message: your make file is trying to run >> libtool with a "-g" option, which libtool does not recognize. I am not >> sure what the "-g" option is intended to provide, but you might try editing >> the make file and eliminating this option on the calling line. >> Next, why are you using Fortran77 rather than gfortran? Is this a >> requirement of the arpack-ng package? If so, it is an indication that it >> is built on pretty old technology...Some Fortran77 features do not compile >> well on newer systems. >> >> Charlie >> >> >> On Thu, Mar 29, 2012 at 11:27 AM, Sylvestre Ledru < >> sylvestre.ledru at scilab-enterprises.com> wrote: >> >>> ** >>> On 29/03/2012 18:23, Sumeet wrote: >>> >>> Hi, >>> >>> I'm trying to compile arpack-ng on Ubuntu 10.04 (in order to build >>> Scilab nightly build), using the standard ./configure, make, make install >>> method. >>> >>> I get the following error: >>> >>> Making install in PARPACK >>> make[1]: Entering directory `/home/sumeet/Downloads/arpack-ng/PARPACK' >>> Making install in UTIL >>> make[2]: Entering directory >>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >>> Making install in MPI >>> make[3]: Entering directory >>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >>> /bin/bash ../../../libtool --tag=F77 --mode=compile -g -O2 -c -o >>> pivout.lo pivout.f >>> libtool: compile: unrecognized option `-g' >>> libtool: compile: Try `libtool --help' for more information. >>> make[3]: *** [pivout.lo] Error 1 >>> make[3]: Leaving directory >>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL/MPI' >>> make[2]: *** [install-recursive] Error 1 >>> make[2]: Leaving directory >>> `/home/sumeet/Downloads/arpack-ng/PARPACK/UTIL' >>> make[1]: *** [install-recursive] Error 1 >>> make[1]: Leaving directory `/home/sumeet/Downloads/arpack-ng/PARPACK' >>> make: *** [install-recursive] Error 1 >>> >>> Any ideas about resolving this error? >>> >>> Two things: >>> * install a fortran compiler and restart the configure >>> * please report a bug about on the arpack-ng forge. We should stop the >>> configure if the fortran compiler is not found. >>> >>> Thanks, >>> Sylvestre >>> >>> >>> -- >>> ----------------------------- >>> Sylvestre Ledru >>> Operation manager >>> Community manager >>> ----------------------------- >>> Scilab Enterpriseshttp://www.scilab-enterprises.com/http://www.scilab.org/ >>> ----------------------------- >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: