Installation of Pyplasm

178 views
Skip to first unread message

Pavel Solin

unread,
May 27, 2011, 4:58:26 PM5/27/11
to Aayush, femhub
Hi Aayush,
  I succeeded to install Pyplasm on my laptop, and run 
a simple geometry (see attached). Please install it on 
yours as well and report the status. This will make it easier 
to create the FEMhub package which will be the next step. 
Instructions:

Download from 


In a shell type:
        cd <pyplasm sources dir>
        make clean
        make
        sudo make install 

Add into your .bashrc file a line like this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/python2.7/dist-packages/pyplasm/xge

To test the PyPlasm distribution, type:
        python
        from pyplasm import *
        c=CUBOID([1,1,1])
        VIEW(c)
        quit()
 
Please report how it goes.

Pavel

--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011: http://hpfem.org/events/femtec-2011/
Hermes: http://hpfem.org/
FEMhub: http://femhub.org/
Screenshot-215.png

Aayush Poudel

unread,
May 29, 2011, 12:11:45 PM5/29/11
to Pavel Solin, femhub
On Fri, May 27, 2011 at 1:58 PM, Pavel Solin <so...@unr.edu> wrote:
Hi Aayush,
  I succeeded to install Pyplasm on my laptop, and run 
a simple geometry (see attached). Please install it on 
yours as well and report the status. This will make it easier 
to create the FEMhub package which will be the next step. 
Instructions:

Download from 


In a shell type:
        cd <pyplasm sources dir>
        make clean
        make
        sudo make install 

Add into your .bashrc file a line like this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/python2.7/dist-packages/pyplasm/xge

To test the PyPlasm distribution, type:
        python
        from pyplasm import *
        c=CUBOID([1,1,1])
        VIEW(c)
        quit()
 
Please report how it goes.


Hi Pavel,

I got the following error while building pyplasm In Ubuntu Natty

make[1]: Entering directory `/home/aayush/Desktop/pyplasm/src/xge'
g++ -c -w -fPIC -O3 -DPLATFORM_Linux  -DGLEW_MX -DGLEW_STATIC -fpermissive -DXGE_EXPORTS -I./ -I../ -I../../libs -I../../libs/FreeImage -I../../libs/glew  -I "/usr/include" -I "/usr/include/freetype2" -o juce_amalgamated.o ../../libs/juce/juce_amalgamated.cpp
../../libs/juce/juce_amalgamated.cpp:748:22: fatal error: ft2build.h: No such file or directory
compilation terminated.
make[1]: *** [juce_amalgamated.o] Error 1
make[1]: Leaving directory `/home/aayush/Desktop/pyplasm/src/xge'
make: *** [all] Error 2


Aayush

Aayush Poudel

unread,
Jun 2, 2011, 1:36:18 PM6/2/11
to Pavel Solin, femhub
On Fri, May 27, 2011 at 1:58 PM, Pavel Solin <so...@unr.edu> wrote:
Hi Aayush,
  I succeeded to install Pyplasm on my laptop, and run 
a simple geometry (see attached). Please install it on 
yours as well and report the status. This will make it easier 
to create the FEMhub package which will be the next step. 
Instructions:

Download from 


In a shell type:
        cd <pyplasm sources dir>
        make clean
        make
        sudo make install 

Add into your .bashrc file a line like this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/python2.7/dist-packages/pyplasm/xge

To test the PyPlasm distribution, type:
        python
        from pyplasm import *
        c=CUBOID([1,1,1])
        VIEW(c)
        quit()
 
Please report how it goes.

Hi Pavel,

Now I am able to install pyPlasm in my laptop after installing all the dependencies and run the above code. 

It has few dependencies 

glut - [glutg3-dev]
zlib - [zlib1g-dev]
freetype6 - [libfreetype6-dev]
xinerama - [libxinerama-dev]
xcursor - [libxcursor-dev]
asound2 - [libasound2-dev]
freeimage3 - [libfreeimage-dev]
PyOpenGL

I'll now start making spkg of these dependent package, and then of PyPlasm

- Thanks
     Aayush Poudel

Pavel Solin

unread,
Jun 2, 2011, 3:43:51 PM6/2/11
to fem...@googlegroups.com, Mateusz Paprocki, Lukas Korous
YES!
Let me know how it goes, my visit to the university of Rome 
is approaching. We will gain new users for the Online 
if I am able to show that PyPlasm works there. 

Pavel
 

- Thanks
     Aayush Poudel


Pavel

--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011: http://hpfem.org/events/femtec-2011/
Hermes: http://hpfem.org/
FEMhub: http://femhub.org/

--
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.
Reply all
Reply to author
Forward
0 new messages