Linux Installation

From KratosWiki
Viewed 1345 times, With a total of 4 Posts
Jump to: navigation, search


Threads 2
Posts 3

You can comment here problem you have in Linux installation



Threads 2
Posts 4
  Ubuntu 9.04: GiD does not launch python scripts

Hi everyone:
I recently found an issue regarding some incompatibility when using GiD 9.0.2 and Python that I could fix and I would like to share with you in case you are experiencing the same trouble.
My actual configuration is:
Linux Ubuntu 9.04
Python 2.6.2
gcc/g++ 4.3.3
Kratos from svn repository
Gid for Linux 9.0.2

It seems that when GiD launches the calculation script the following line appears to be ignored

python $2/$1.py > $2/$1.log

causing the python script not to be executed and creating an empty log file.
When saving the standard and error output to a file the following message is printed:



…
python $2/$1.py >$2/$1.log

+ python /home/jfgracia/Documents/our_example.gid/our_example.py

python: /home/jfgracia/GiDx32/lib/libz.so.1: no version information available (required by python)

…
ImportError: /home/jfgracia/GiDx32/lib/libstdc++.so.6: version `GLIBCXX_3.4.9'  not found (required by /home/jfgracia/kratos/kratos/libs/Kratos.so)

…

Which means that libraries libz.so.1 and libstdc++.so.6 included in GiD distribution package are not compatible with the current version of python, even tough the entirely script is executable in a regular Terminal window!

To correct such problem you have to type this commands on a Terminal window:

$ cd /path_where_gid_is/lib
$ sudo mv libstdc++.so.6 libstdc++.so.6.orig
$ sudo mv libz.so.1 libz.so.1,orig
$ sudo ln -s /usr/lib/libstdc++.so.6.0.10 libstdc++.so.6
$ sudo ln -s /lib/libz.so.1.2.3.3 libz.so.1

The above command simply rename the libraries and put a symbolic link to the compatible libraries inside GiD lib folder.

I hope you find this useful



Threads 0
Posts 2




Threads 0
Posts 1
  Install Kratos in Ubuntu!

hi!

I am installing Kratos in Ubuntu 10.04 LT. I followed every steps of this guide:
http://kratos.cimne.upc.es/kratoswiki/index.php/Installing_kratos_in_Ubuntu_Linux#Kratos_L...
and this
http://kratos.cimne.upc.es/kratoswiki/index.php/Linux_Installation#Configuring_and_Install...
everything seems quite well until I do the command: bjam threading=multi
then I got the error messages:
thuongnm@thuongnm-laptop:~/program/kratos$ bjam threading=multi
configure.jam: No such file or directory
/usr/share/boost-build/build-system.jam:372: in load-configuration-files
rule utility.unquote unknown in module build-system.
/usr/share/boost-build/build-system.jam:554: in load
/usr/share/boost-build/kernel/modules.jam:261: in import
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
/usr/share/boost-build/boost-build.jam:8: in module scope
thuongnm@thuongnm-laptop:~/program/kratos$



I guest something wrong with installing boost-build! I installed boost_1_45_0 but the guide and configuration are not so clear to me so I am not sure my installation and configuration are correct or not.
If everyone did install boost-build and configure it sucessfully, please tell me how to overcome this problem. I am really excited to work with Kratos since the time I joined the presentation of Dr. Riccardo Rossi at Ruhr Universitat Bochum this week! Thank in advance!



Threads 0
Posts 1
  Compile error ....

Hello,

After fallowing all the steps in detail , when I typed bjam threading=multi ;
I got this error ,at the beginning although I have clang installed...



clang.jam: No such file or directory
/usr/share/boost-build/build/toolset.jam:36: in toolset.using
rule clang.init unknown in module toolset.
/usr/share/boost-build/build/project.jam:825: in using
Jamroot:4: in modules.load
/usr/share/boost-build/build/project.jam:312: in load-jamfile
/usr/share/boost-build/build/project.jam:68: in load
/usr/share/boost-build/build/project.jam:170: in project.find
/usr/share/boost-build/build-system.jam:248: in load
/usr/share/boost-build/kernel/modules.jam:261: in import
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
/usr/share/boost-build/boost-build.jam:1: in module scope

What would you suggest to fix it ....












AWC's: 2.4.1 MediaWiki - Stand Alone Forum Extension
Views
Personal tools
Toolbox
Categories