SysFera / vishnu

Modular and high-level middleware for tasks, files and information management in heterogeneous and distributed HPC environments
http://sysfera.github.com/vishnu.html
Other
4 stars 12 forks source link

Python27 #385

Closed hguemar closed 10 years ago

hguemar commented 10 years ago

Fix compilation issues with SWIG 2.x Module working with Python 2.7 & 3.3

Add ENABLE_PYTHON3 option to enable the build of python3 variant of VISHNU module (still defaults to 2.x) Still need more build systems hacking tough to enable compilation of both python2/python3 module.

keoo commented 10 years ago

Tests for TMS and FMS ok with python 2.7.3 and swig 1.3.40

keoo commented 10 years ago

Tested with swig 2.0.4 and python 2.7.3

keoo commented 10 years ago

Does not work with python 3.2, at compilation : /usr/bin/ld.bfd.real: error in /usr/bin/python3.2(.eh_frame); no .eh_frame_hdr table will be created. But files are generated, at runtime : segfault

keoo commented 10 years ago

Does not compile with python3 + no swig

keoo commented 10 years ago

Compilation for python 2.7 without swig displays the following element : Linking CXX shared library ../lib/_VISHNU.so /usr/bin/ld.bfd.real: error in /usr/bin/python(.eh_frame); no .eh_frame_hdr table will be created.

keoo commented 10 years ago

And tests immediatly fails

hguemar commented 10 years ago

Though i disagree about keeping specific user role in the database generation script, i dropped the commit so we can move forward. PR updated

keoo commented 10 years ago

The main idea is to create a database and a user with rights only on this database automatically, to ease the installation (when you install VISHNU you don't have to go to your DB to create a user, it is automatically created with the tables and the right permissions)

hguemar commented 10 years ago

That means that you can't use the same server for two different databases. It could be provided in form of a complementary or extended script. Anyway, it has been removed :smiley:

keoo commented 10 years ago

Agreed, it was just built in a "one shot all in one" SQL script.

hguemar commented 10 years ago

ping, on en est où :question:

keoo commented 10 years ago

Je suis entrain de retester toutes les configurations depuis ce matin

keoo commented 10 years ago

Generating manually is ok, using generated files does not work

keoo commented 10 years ago

Merge and accepted