From sylvestre.ledru at scilab.org Thu Oct 1 10:26:54 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 01 Oct 2009 10:26:54 +0200 Subject: [Scilab-Dev] Porting Scilab 5.1.1 on Mac OS X 10.4 PPC. In-Reply-To: <34EBD299-37FD-49EE-A4E4-7DA40AA3F55F@wanadoo.fr> References: <1a6eefc29069cc516744707353012114@localhost> <34EBD299-37FD-49EE-A4E4-7DA40AA3F55F@wanadoo.fr> Message-ID: <1254385614.13844.6719.camel@zlarin> Hello Pascal, Sorry about the delay Le vendredi 07 ao?t 2009 ? 22:02 +0200, Pascal a ?crit : > Hello Sylvestre. > > Following your advice, I've made some modification on configure: > --- configure.0 2009-04-14 09:22:35.000000000 +0200 > +++ configure 2009-08-06 23:00:41.000000000 +0200 > @@ -10906,7 +10906,7 @@ > *-*-darwin*) > CFLAGS=" $CFLAGS -I/sw/include " > CPPFLAGS=" $CPPFLAGS -I/sw/include " > - LDFLAGS=" $LDFLAGS -L/sw/lib/ " > + LDFLAGS=" $LDFLAGS -Xlinker -m -L/sw/lib/ " > ;; > esac > ;; # end of the gcc case on the $CC > @@ -11743,6 +11743,10 @@ > # Sun > machine=sparc > ;; > + *Macintosh*) > + # Mac OS X > + machine=`uname -p` > + ;; > esac > > # Check for known JDK installation layouts > @@ -11868,7 +11872,8 @@ > ac_java_jvm_jni_lib_runtime_path=$D > ac_java_jvm_jni_lib_flags="-L$D -ljvm" > > - D=$ac_java_jvm_dir/jre/lib/i386/server > +# D=$ac_java_jvm_dir/jre/lib/i386/server > + D=$ac_java_jvm_dir/../Libraries > ac_java_jvm_jni_lib_runtime_path="$ > {ac_java_jvm_jni_lib_runtime_path}:$D" > > ac_java_jvm_jni_lib_flags="$ac_java_jvm_jni_lib_flags -L$D -ljvm" > fi > > and call: > $ ./configure --prefix=/Users/pascal/Documents/Programmation/ > scilab-5.1.1-alpha-1/build --without-ocaml --without-fftw --without- > pvm --without-umfpack --without-matio --without-tk > All build. > > When I launch Scilab, I've got the error: > $ ./scilab > The native library sciconsole does not exist or cannot be found : > no sciconsole in java.library.path > Current java.library.path is : :/Users/pascal/Documents/Programmation/ > scilab-5.1.1-alpha-1/build/share/scilab//../../lib/scilab/ > Though, the library existe in this directory: > $ ls > ... > libsciconsole.5.0.1.dylib libsciconsole.dylib > libsciconsole.5.dylib libsciconsole.la > ... > Any idea ? Yep, try to update etc/librarypath.xml to add the path to this library. > Then I've tried: > $ ./scilab -nwni > Unfortunately, the help is not available in this mode: > -->help > !--error 10000 > help : Le navigateur d'aide n'est pas accessible dans le mode NWNI. > at line 33 of function help called by : > help Yes, help is available in the NW & GUI modes. Bye Sylvestre From vincent.lejeune at institutoptique.fr Fri Oct 2 14:08:55 2009 From: vincent.lejeune at institutoptique.fr (Vincent Lejeune) Date: Fri, 2 Oct 2009 14:08:55 +0200 (CEST) Subject: [SEP] Reentrancy detection in loop Message-ID: Hi, I writted this SEP with Scilab 6 in mind. It deals with the detection of reentrancy inside a loop to use the simd feature provided by hardware (like GPU) or network topology. I think it's an interesting idea, but quite difficult to put in place, so I think there will be some discussion afterward. Regards, Vincent -------------- next part -------------- A non-text attachment was scrubbed... Name: SEP_Reentrancy.odt Type: application/vnd.oasis.opendocument.text Size: 34217 bytes Desc: not available URL: From vincent.lejeune at institutoptique.fr Fri Oct 2 13:35:04 2009 From: vincent.lejeune at institutoptique.fr (vincent) Date: Fri, 02 Oct 2009 13:35:04 +0200 Subject: [SEP] Reentrancy detection in loop Message-ID: <1254483304.4002.3.camel@vlj-laptop> Hi, I writted this SEP with Scilab 6 in mind. It deals with the detection of reentrancy inside a loop to use the simd feature provided by hardware (like GPU) or network topology. I think it's an interesting idea, but quite difficult to put in place, so I think there will be some discussion afterward. Regards, Vincent -------------- next part -------------- A non-text attachment was scrubbed... Name: SEP_Reentrancy.odt Type: application/vnd.oasis.opendocument.text Size: 34217 bytes Desc: not available URL: From Calixte.Denizet at ac-rennes.fr Fri Oct 2 23:27:55 2009 From: Calixte.Denizet at ac-rennes.fr (Calixte.Denizet at ac-rennes.fr) Date: Fri, 02 Oct 2009 23:27:55 +0200 Subject: [SEP] Display of MathML and LaTeX in Scilab In-Reply-To: References: Message-ID: This SEP gives a solution to display nicely mathematical expressions wrote in MathML or in LaTeX. I add a screen capture that shows the display of LaTeX in Scilab. Calixte Denizet -------------- next part -------------- A non-text attachment was scrubbed... Name: SEP_display_MathML_LaTeX.odt Type: application/octet-stream Size: 23144 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.png Type: image/png Size: 140 bytes Desc: not available URL: From Calixte.Denizet at ac-rennes.fr Sat Oct 3 14:18:30 2009 From: Calixte.Denizet at ac-rennes.fr (Calixte.Denizet at ac-rennes.fr) Date: Sat, 03 Oct 2009 14:18:30 +0200 Subject: [Scilab-Dev] [SEP] Display of MathML and LaTeX in Scilab In-Reply-To: References: Message-ID: > This SEP gives a solution to display nicely mathematical expressions > wrote in MathML or in LaTeX. > I add a screen capture that shows the display of LaTeX in Scilab. > I made an error in attaching the capture, so I attach the good one. > Calixte Denizet -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.png Type: image/png Size: 191581 bytes Desc: not available URL: From bernard.hugueney at scilab.org Mon Oct 5 09:23:14 2009 From: bernard.hugueney at scilab.org (bernard.hugueney at scilab.org) Date: Mon, 05 Oct 2009 09:23:14 +0200 Subject: [Scilab-Dev] [SEP] Reentrancy detection in loop In-Reply-To: References: Message-ID: On Fri, 2 Oct 2009 14:08:55 +0200 (CEST), "Vincent Lejeune" wrote: > Hi, > > I writted this SEP with Scilab 6 in mind. It deals with the detection of > reentrancy inside a loop to use the simd feature provided by hardware > (like GPU) or network topology. I think it's an interesting idea, but > quite difficult to put in place, so I think there will be some > discussion afterward. > > Regards, > Vincent Thanks for tackling this most important aspect! I'd like to put forward two opinions on this subject of functions analysis and annotations wrt parallelisation opportunities : 1?) As you noted, reentrancy is stronger than thread-safety, hence more difficult to achieve. However, an important mean of parallelisation would be multihtreading (i.e with OpenMP implementation). In this regard, I think we should not restrict ourselves to a binary approach reentrant / unsafe but consider : reentrant / mt-safe / unsafe (to enable the multi-thread parallelisation of functions using locks and/or thread-local storage). (Maybe we could be forward looking and also add a "pure" qualifier (? la C++0x) even stronger than reentrant, to enable further optimizations such as memoization, JIT constant folding etc.) 2?) While automatic analysis is important, it will be imperfect and must be by pessimistic to be on the safe side. For this reason, I think it would be useful to enable the developper to override the automatic analysis and take full responsability by being explicit about the parallelisation safety. Dynamic compilation and link of functions implemented in C++/C/Fortran should also enable such explicit anotation as they will be prime candidates for parallelisation when used as callback in preformance sensitive applications. What is your opinion on these matters ? Best regards, Bernard From sylvestre.ledru at scilab.org Mon Oct 5 17:34:21 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 05 Oct 2009 17:34:21 +0200 Subject: [Scilab-Dev] SEP #35: Selection of the installed headers In-Reply-To: <1254237317.14112.76845.camel@korcula.inria.fr> References: <1254237317.14112.76845.camel@korcula.inria.fr> Message-ID: <1254756861.31630.9410.camel@korcula.inria.fr> Le mardi 29 septembre 2009 ? 17:15 +0200, Sylvestre Ledru a ?crit : > Hello, > > Just a new SEP which selects the installed headers. > For now, in the Scilab install, there are way too many header files. > > This SEP proposes to leave only the essential/mandatory ones. Some files were missing in this list. This new version adds them. I also fixed some dependencies problems. All these headers files can be used independently of other headers. [1] Sylvestre > Sylvestre > [1] Here is the quick and dirty code to make sure that each files can be included by itself (and the other header listed in the SEP #35) #!/bin/sh for header in *.h; do echo "#include \"$header\" int main(void){ return 0; } " > tmp.c gcc -c tmp.c if test $? -ne 0; then echo "$header FAILED" exit 2 fi done -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France -------------- next part -------------- A non-text attachment was scrubbed... Name: SEP_35.pdf Type: application/pdf Size: 476456 bytes Desc: not available URL: From allan.cornet at scilab.org Mon Oct 12 16:09:02 2009 From: allan.cornet at scilab.org (Allan CORNET) Date: Mon, 12 Oct 2009 16:09:02 +0200 Subject: [Windows][Compilation] update Fortran Compiler (master) + jlatexmath-0.1.jar dependency Message-ID: <004d01ca4b45$8cf4f1d0$a6ded570$@cornet@scilab.org> Hi, 1] We updated Intel compiler on master to version 11.0 on Windows. If you use Intel fortran compiler to build Scilab , you need to uninstall previous version and install intel fortran 11.061 or more. http://wiki.scilab.org/Visual_Studio_C++_2008_Pro_ &_Intel_Fortran_11 This update fixs some troubles with release mode and increase compatibility with Vista & Seven. 2] You also need to update pre requirements (we add a dependency on jlatexmath-0.1.jar) svn export --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/Windows Best Regards -- Allan CORNET ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Wed Oct 14 18:29:20 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 14 Oct 2009 18:29:20 +0200 Subject: [Scilab-Dev] [SEP] Display of MathML and LaTeX in Scilab In-Reply-To: References: Message-ID: <1255537760.13659.204.camel@korcula.inria.fr> Le vendredi 02 octobre 2009 ? 23:27 +0200, Calixte.Denizet at ac-rennes.fr a ?crit : > This SEP gives a solution to display nicely mathematical expressions wrote in MathML or in LaTeX. > I add a screen capture that shows the display of LaTeX in Scilab. Nice work Calixte! It is a great feature! This is going to be released with Scilab 5.2 and it is already available in the nightly builds. Sylvestre -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From wonstar at 126.com Tue Oct 27 10:31:40 2009 From: wonstar at 126.com (XiangJin) Date: Tue, 27 Oct 2009 17:31:40 +0800 Subject: About use scilab in Cygwin Message-ID: <4AE6BE03.01FD5F.01960@m50-110.126.com> Dear Sir., I am a beginner of Scilab, now I need your help to use Scilab in Cygwin. I install the Scilab-4.1.2(linux) in Cygwin, and set the %scilib%\bin into system PATH, when run scilab command in cygwin, as is: scilab -nw -nwni -nogui -nb -f ext1c.sce It appears the following error: <<<< make: scilab: Command not found make: *** [bandfilters.h] Error 127 >>>> I also try to run the following commands in order to run the scilab. but failed, the error appears again. chmod +x ./scilab chmod +x ./scilink chmod +x ./scilex Please tell me how can I solve the problem, thank you. Best Regards, Jacky.Xiang From BlanchardJ at ieee.org Fri Oct 30 02:13:30 2009 From: BlanchardJ at ieee.org (Jonathan Blanchard) Date: Thu, 29 Oct 2009 22:13:30 -0300 Subject: jogl library problems. Message-ID: Hi, Probably easy to fix but I get the following error from configure : checking for glTexParameterf in -ljogl... no configure: error: libjogl: Library missing (Cannot find symbol glTexParameterf). Check if libjogl - C/Java (JNI) interface for JOGL - is installed and if the version is correct. Note that you might have to update etc/librarypath.xml to provide the actual path the the JNI libraries. Considering that it was working before did Scilab changed the version of JOGL required? I tried both 1.1.1a and the 2.0 beta (or something since their website is confusing). Any help would be appreciated. Thanks, Jonathan Blanchard From sylvestre.ledru at scilab.org Fri Oct 30 08:26:58 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 30 Oct 2009 08:26:58 +0100 Subject: [Scilab-Dev] jogl library problems. In-Reply-To: References: Message-ID: <1256887618.4859.9089.camel@zlarin> Hello, Le jeudi 29 octobre 2009 ? 22:13 -0300, Jonathan Blanchard a ?crit : > Hi, > checking for glTexParameterf in -ljogl... no > configure: error: libjogl: Library missing (Cannot find symbol > glTexParameterf). Check if libjogl - C/Java (JNI) interface for JOGL - > is installed and if the version is correct. Note that you might have > to update etc/librarypath.xml to provide the actual path the the JNI > libraries. > > Considering that it was working before did Scilab changed the version > of JOGL required? I tried both 1.1.1a and the 2.0 beta (or something > since their website is confusing). It is just that, on startup, I am checking also the jni library of jogl. libjogl should be available to your linker. Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France