Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Apr 2014, 12:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
Math Base - Basic Free Mathematic Software for Puppy Linux
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [63 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
emil

Joined: 10 Nov 2009
Posts: 609
Location: Austria

PostPosted: Thu 18 Feb 2010, 15:53    Post subject: SageLivePup  

I made a puplet which includes sage. Link to Post in the Puppy Derivative section.
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 1875
Location: The Blue Marble

PostPosted: Sat 20 Feb 2010, 01:49    Post subject:  

Emil,

Thank you. This is excellent effort.

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 609
Location: Austria

PostPosted: Thu 13 May 2010, 14:13    Post subject: Scilab  

Scilab is a mostly nummerical package which can be used in science and engineering as an alternative to Matlab (and the free Octave). It has a similar, but not compatibel syntax and it is developed in france.

Forum member Q5sys has posted on the SageLive thread and offers a sfs of the package:

Quote:
got something you might want to test to see if it works with your puplet.

I made it originally for LightHousePup, but it seems to fit right in with what you are doing.
The SciLab suite
I already packaged it as an SFS.
http://lhpup.org/team/Q5sys/scilab-5.2.2.sfs
http://lhpup.org/team/Q5sys/scilab-5.2.2.sfs-md5.txt

Might duplicate the functionatlity you already have, but it also might offer a bit more. I made it a SFS because its 118MB, and figured I could load and unload that whenever I needed.
If it works for you, feel free to bundle it with your setup.


I cannot test at the moment due to limited time and bandwith, but maybe somebody can and send short feedback.

kind regards
emil
Back to top
View user's profile Send private message Visit poster's website 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Tue 15 Jun 2010, 10:59    Post subject: Re: Math Python Modules  

emil wrote:
About installing
NumPy, SciPy and Sympy are easy to install from source. They use
a python install script


emil I had no problems compiling numpy (also can be done simply by pypi easy_install) but scipy needs lapack and(or) blas.

I see you already compiled lapack but filehosting.org has a very bad policy asking email addresses I don't want to accept, any alternatives?
And since you already did it: isn't lapack machine dependant? Will it work on any computer running puppy?

I made myself a (not shrinked tho) python sfs with python2.6, wxpython2.8, reportlab, numpy, PIL, lxml, matplotlib I use for work but since I encounter errors sometime I don't feel about sharing an imperfect solution.

Could you please make available your packages for example on [url="http://drop.io/"]drop.io[/url] like jemimah used to distribute puppeee?

Thank you very much

edit: don't bother, I found this mirror on my forum search: http://dokupuppylinux.co.cc/programs:math_apps?id=programs:math_apps
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 609
Location: Austria

PostPosted: Fri 18 Jun 2010, 18:02    Post subject: Some packages
Subject description: new download server
 

Hi neurino,
Various people disliked the filhosting.org server. Also many links in this thread are not working any more. Thanks to dingo we have dokupuppy
http://puppylover.netsons.org/dokupuppy/programs:math_apps
Myself I have moved some packages for download to
http://boxen.math.washington.edu/home/emil

I will gradually try to complete/extend them.
emil
Back to top
View user's profile Send private message Visit poster's website 
prehistoric


Joined: 23 Oct 2007
Posts: 1253

PostPosted: Fri 18 Jun 2010, 21:49    Post subject: problems with Sage, geogebra  

Well, I spoke too soon. I got the version of Puppy 431 with Sage on CD, and booted it. Everything looked good, but when I tried to start a Sage console it crashed immediately. I suspect I need to configure something.

As per your suggestion, I tried www.sagenb.org. After I got an account set up and tried to create a notebook, it told me it failed to set up jsMath, and warned things could get ugly. (They did.) Basically, nothing worked. Sigh.

Lastly, while I have been able to run geogebra on-line, the sfs file at http://boxen.math.washington.edu/home/emil failed to download more than 431 bytes. (Tried two methods of download.) The file contains over 40 MB. Could something be picking up that version number?

Must not be my day for symbolic math.
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 609
Location: Austria

PostPosted: Sat 19 Jun 2010, 01:49    Post subject: crash  

prehistoric,
how is your memory configuration?
what does the "free" command give?
emil
Back to top
View user's profile Send private message Visit poster's website 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Sat 19 Jun 2010, 03:51    Post subject:  

thanks emil,

in the meanwhile I hand-joined you pets in an unique sfs and added wxPython and setuptools and so, via easy_install, cython, lxml, PIL, reportlab, and matplotlib (and maybe some other I don't remember).

The global sfs is about 93Mb, I did not shrinked anything because, as a developer, I prefer full features despite minor size, just an exception for wxPython demos I keep on an sd card and can be simply tar.gz'd

I will share them if some puppy place to upload suggested.

Only one note: I used puppeee to compile, using its OpenGL for wxpython (should affect only wxGLCanvas) I guess it's full puppy compatible anyway.
Back to top
View user's profile Send private message 
prehistoric


Joined: 23 Oct 2007
Posts: 1253

PostPosted: Sat 19 Jun 2010, 09:36    Post subject: Re: crash  

emil wrote:
prehistoric,
how is your memory configuration?
what does the "free" command give?
emil
Here's the result of free in your SageLive puplet, which is showing 1.2G in the tray as I write.
Code:
# free
              total                used          free           shared      buffers
Mem:      1943316       227464      1715852            0        37120
Swap:     4192956                 0      4192956
Total:      6136272       227464      5908808
#
The Puppy I normally run (Luci204) also uses those swap partitions. It is, however, a frugal install with only 840 MB of save file shown. Could this result in the error with jsMath and www.sagenb.org? I didn't think the on-line version used much memory.

With so much RAM and swap, I haven't been worrying about space in the save file.
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 609
Location: Austria

PostPosted: Sun 20 Jun 2010, 04:55    Post subject:  

Hi prehistoric,
thats lots of memory Smile. Can't be an issue you are right.

Check error message (sage >> error.log) - look in error.log
Delete sage-flags.txt in the /local/lib directory as maybe suggested.
I will have a closer look on it.

hi neurino,
maybe send a private mail to one of the site admins of Puppy servers how to upload the package. If you put it somewhere on a webhost I could upload it also to my (slow) boxen.math server space, but would be better if it is on an official puppy server.

kind regards
emil
Back to top
View user's profile Send private message Visit poster's website 
prehistoric


Joined: 23 Oct 2007
Posts: 1253

PostPosted: Sun 20 Jun 2010, 09:17    Post subject:  

emil wrote:
Hi prehistoric,
thats lots of memory Smile. Can't be an issue you are right.

Check error message (sage >> error.log) - look in error.log
Delete sage-flags.txt in the /local/lib directory as maybe suggested...
As soon as I saw the error log, the problem was solved. This AMD machine does not have SSE3. My lapse was provoked by the way the console crashed, denying me a chance to read the message. Opening my own console solved this problem. (a "doh!" moment)

I still have to explain why www.sagenb.org has trouble with jsMath, (returns status -7) but that is a different problem.

Now, I'm in a position to get into real trouble. Wink

Thanks,

prehistoric
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 609
Location: Austria

PostPosted: Sun 20 Jun 2010, 12:41    Post subject: jsmath for sage notebook  

I don't know exactly.

Do you also get this error when you call sagenb.org from inside the
SageLive ? I included the optional jsmath font Tex packages for optimised output. For me it works perfectly from within SageLive and from within the German puppy-431-de (from scratch, without installing anything special).

It might help to download one of the jsmath-fonts (Texfonts) from
http://www.math.union.edu/~dpvc/jsMath/download/jsMath-fonts.html (Maybe go for Texfont15)

and then copy it to a place where they are found
in Puppy /root/.fonts
in Ubuntu /home/foo/.fonts (for user foo)

This Latex Fonts should get detected by your browser and used.

Good Luck
emil[url][/url]
Back to top
View user's profile Send private message Visit poster's website 
emil

Joined: 10 Nov 2009
Posts: 609
Location: Austria

PostPosted: Sun 20 Jun 2010, 13:17    Post subject: geogebra  

2 remarks
geogebra download should work now
and
you have to unzip and keep Subdirectory when installing jsmathfonts, i.e.
it should look like /root/.fonts/TexFont15/cm10.ttf (dont know the exact name of that subdir)
Back to top
View user's profile Send private message Visit poster's website 
prehistoric


Joined: 23 Oct 2007
Posts: 1253

PostPosted: Sun 20 Jun 2010, 19:33    Post subject: works like a charm  

Thanks emil!

I'm spoiled by operating in American English on a U.S. keyboard. My forays into software developed elsewhere have been limited. I read German with a dictionary in one hand.

Part of my trouble came from working in development versions of Puppy where fonts have been ruthlessly culled to save space. The other came from not thinking you might be operating with special fonts other than English plus mathematical symbols.

For portable software, fonts are admittedly a real pain. A small number of built-in fonts for common language groups might be reasonable for SageLive, if space is available. If space is at a premium, it should be possible to break out some seldom-used components as special pets or sfs files, even if these only work with Sage.

I've removed that flags file from the installed version of SageLive-431, but when I went looking for something to edit it out of the iso image, I found I needed to know more about Sage installation -- the story of my life. (I'd like to make a CD that will run on most common hardware without change. I'll put it on the list of projects for my next incarnation.)

Regards,

prehistoric
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 609
Location: Austria

PostPosted: Mon 21 Jun 2010, 02:17    Post subject: fix  

Good luck, hope it works now for you as expected.
I saw the "bug" about the sage-flags.txt is also contained in the html documentation

emil
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 5 [63 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0732s ][ Queries: 13 (0.0056s) ][ GZIP on ]