Femhub packages from spkg/standard/ folder.

3 views
Skip to first unread message

Luke Satin

unread,
Oct 30, 2011, 4:58:15 PM10/30/11
to femhub
Hello,

I'm trying to compile Femhub from GIT on Ubuntu 11.10 32bit. I've
already fixed some packages. They were buggy and old and updating to
the latest ones from http://sagemath.org/packages/standard/ solved my
problems! So I will continue updating the packages.

I have one question: in spkg/base/femhub_run.py, there are hardcoded
packages including their versions. I don't know why? Does it have some
purpose? Can I rewrite this function, so it scans spkg/standard
directory and processes all .spkg files found here, so nobody will
have to change this script when updating to new spkg packages?

Thanks for an answer

Luke

Pavel Solin

unread,
Oct 30, 2011, 5:02:24 PM10/30/11
to fem...@googlegroups.com
Hi Luke,

On Sun, Oct 30, 2011 at 1:58 PM, Luke Satin <luke....@gmail.com> wrote:
Hello,

I'm trying to compile Femhub from GIT on Ubuntu 11.10 32bit. I've
already fixed some packages. They were buggy and old and updating to
the latest ones from http://sagemath.org/packages/standard/ solved my
problems! So I will continue updating the packages.

Well done!
 

I have one question: in spkg/base/femhub_run.py, there are hardcoded
packages including their versions. I don't know why? Does it have some
purpose? Can I rewrite this function, so it scans spkg/standard
directory and processes all .spkg files found here, so nobody will
have to change this script when updating to new spkg packages?

Please do. Not everyone who participated in this development in the 
past took great care of how it should be done.

Pavel
 

Thanks for an answer

Luke

--
You received this message because you are subscribed to the Google Groups "femhub" group.
To post to this group, send email to fem...@googlegroups.com.
To unsubscribe from this group, send email to femhub+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/femhub?hl=en.




--
Pavel Solin
University of Nevada, Reno
http://hpfem.org/~pavel

Luke Satin

unread,
Oct 31, 2011, 3:10:49 PM10/31/11
to femhub
Hi,

I have built Femhub successfully, but without the following packages:
hermes2d (fails because pthread could not be found)
mayavi (fails because of vtk-cvs build error)
femhub_online_lab_sdk (fails because of curl build error, which is
needed by pycurl which is needed by femhub_online_lab_sdk)
python_tornado-f732f98.spkg (fails because of pycurl + curl)

Those packages were built:
Package 'ipython' is already installed
Package 'hermes1d' is already installed
Package 'phaml' is already installed
Package 'libfemhub' is already installed
Package 'fipy' is already installed
Package 'sfepy' is already installed
Package 'sympy' is already installed
Package 'hdf5' is already installed
Package 'h5py' is already installed
Package 'pytables' is already installed
Package 'nose' is already installed
Package 'mesheditorflex' is already installed

I had to manually download most of the packages, for example:
libgcrypt-1.4.4.p3.spkg
libgpg_error-1.6.p3.spkg
python-2.7.2.spkg

I've found also one interesting project at: http://code.google.com/p/computational-sage/
"It is also a goal to merge back packages from the FEMhub project into
sage, and provide bleeding edge/more actual packages for certain
packages like numpy or scipy. "

There was a newer version mayavi-3.4.0, but a newer version of vtk-cvs
is missing here, so it fails too. I don't know it getting vtk from git
and replacing it inside actual spkg package would make it work (same
for curl, which probably misses openssl).

Luke

On Oct 30, 10:02 pm, Pavel Solin <solin.pa...@gmail.com> wrote:
> Hi Luke,
>
> On Sun, Oct 30, 2011 at 1:58 PM, Luke Satin <luke.sa...@gmail.com> wrote:
> > Hello,
>
> > I'm trying to compile Femhub from GIT on Ubuntu 11.10 32bit. I've
> > already fixed some packages. They were buggy and old and updating to
> > the latest ones fromhttp://sagemath.org/packages/standard/solved my
> > problems! So I will continue updating the packages.
>
> Well done!
>
>
>
> > I have one question: in spkg/base/femhub_run.py, there are hardcoded
> > packages including their versions. I don't know why? Does it have some
> > purpose? Can I rewrite this function, so it scans spkg/standard
> > directory and processes all .spkg files found here, so nobody will
> > have to change this script when updating to new spkg packages?
>
> Please do. Not everyone who participated in this development in the
> past took great care of how it should be done.
>
> Pavel
>
>
>
> > Thanks for an answer
>
> > Luke
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "femhub" group.
> > To post to this group, send email to fem...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > femhub+un...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/femhub?hl=en.
>
> --
> Pavel Solin
> University of Nevada, Renohttp://hpfem. <http://hpfem.math.unr.edu/people/pavel/>org/~pavel

Pavel Solin

unread,
Oct 31, 2011, 4:11:32 PM10/31/11
to fem...@googlegroups.com
Hi Luke,

On Mon, Oct 31, 2011 at 12:10 PM, Luke Satin <luke....@gmail.com> wrote:
Hi,

I have built Femhub successfully, but without the following packages:
hermes2d (fails because pthread could not be found)
mayavi (fails because of vtk-cvs build error)
femhub_online_lab_sdk (fails because of curl build error, which is
needed by pycurl which is needed by femhub_online_lab_sdk)
python_tornado-f732f98.spkg (fails because of pycurl + curl)

Just skip these for the moment, we will fix them 
when there is a need.
Pavel
http://hpfem.org/~pavel

Reply all
Reply to author
Forward
0 new messages