mailRe: Installing relax-1.3.10 in ubuntu10.10


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Michael Bieri on May 16, 2011 - 10:39:
Hi Edward

I remember that python-profiler was an issue. But it was never solved. I also had to install this package to run relax. But it is easy on Ubuntu using Synaptic package manager.

Cheers
Michael


Am 16.05.2011 18:19, schrieb Edward d'Auvergne:
Dear Shantanu,

Sorry for not responding earlier, but I was on holidays until today.
It is good that you have found the issue.  Thank you Tiago for
helping.  The python-profiler should not be necessary as I have made
this an optional package.  The profile module is only used by
developers to work out which parts of relax are slowing down the
calculations, and is useful for large scale speeding up of the
program.  If you have any other issues, please don't hesitate to ask
about it here.  I should now be able to respond quicker.  And other
relax users are likely to have encountered the same problems you do
and will be able to tell you about their solutions.

Cheers,

Edward


On 5 May 2011 18:44, Shantanu S. Bhattacharyya Mr<shantanu01@xxxxxxx>  wrote:
Hi,

I just solved the problem. I needed to install two more python packages
  1. python-devel&  2. python-profiler
from the ubuntu repositories. I think other OS will also have something
similar which can solve the problem.

Thanks a lot,
Shantanu S. Bhattacharyya



On Thu, May 5, 2011 12:00 pm, Shantanu S. Bhattacharyya Mr wrote:
Hi,


I tried the relax-nmr versions 1.3.9/8/7. All three give the same error
when I try to compile the code

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...


###########################
# Compiling the C modules #
###########################



Building the relaxation curve fitting module 'maths_fns/relax_fit.so'


gcc -o maths_fns/c_chi2.os -c -I/usr/include/python2.6
-I/usr/lib/python2.6/dist-packages/numpy/core/include -fPIC
maths_fns/c_chi2.c gcc -o maths_fns/exponential.os -c
-I/usr/include/python2.6
-I/usr/lib/python2.6/dist-packages/numpy/core/include -fPIC
maths_fns/exponential.c maths_fns/exponential.c:23: fatal error: Python.h:
No such file or directory
compilation terminated. scons: *** [maths_fns/exponential.os] Error 1
scons: building terminated because of errors.




On Thu, May 5, 2011 4:56 am, tpais wrote:

Hi,
i get the same problem and i have several versions of relax installed
and running properly. For me, the problem was solved by getting the
repository version. Hope it works for you. TiagoP



On Wed, 4 May 2011 18:36:12 -0400, Shantanu S. Bhattacharyya Mr wrote:


Hello,



I am trying to run relax-1.3.10 on ubuntu 10.10. I am using the KDE
and root enabled.

I unpacked and decompressed the package in /usr/local,
created a symbolic link in /usr/local/bin by typing ln -s
../relax-1.3.10/relax .
and then ran relax by typing relax -test

I got Segmentation fault



I also tried going to the base directory relax-1.3.10 and typing
scons -install.


I get



scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
install(["install"], [])

####################
# Installing relax #
####################




Installing the program relax into the directory '/usr/local/relax'





Copying all files in '/usr/local/relax-1.3.10' to '/usr/local/relax'.



Creating the symbolic link from '/usr/local/relax/relax' to
'/usr/local/bin/relax'.



Running relax to create the byte-compiled *.pyc files.
Segmentation fault



scons: done building targets.



I tried compiling from the source code as well. I extracted the
relax-1.3.10.src.tar.bz2 package and from the base relax directory
typed scons

I get



scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...






###########################
# Compiling the C modules #
###########################




Building the relaxation curve fitting module 'maths_fns/relax_fit.so'



gcc -o maths_fns/c_chi2.os -c -I/usr/include/python2.6
-I/usr/lib/python2.6/dist-packages/numpy/core/include -fPIC
maths_fns/c_chi2.c gcc -o maths_fns/exponential.os -c
-I/usr/include/python2.6
-I/usr/lib/python2.6/dist-packages/numpy/core/include -fPIC
maths_fns/exponential.c maths_fns/exponential.c:23: fatal error:
Python.h: No such file or
directory compilation terminated. scons: ***
[maths_fns/exponential.os]
Error 1
scons: building terminated because of errors.




How should I proceed from here ??



Thanks a lot,
Shantanu S. Bhattacharyya
--
Shantanu S. Bhattacharyya
Grad Student, Biological Sciences
Carnegie Mellon University
url : http://esesbee.com


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-users mailing list
relax-users@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options, visit the list
information page at https://mail.gna.org/listinfo/relax-users


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-users mailing list
relax-users@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options, visit the list
information page at https://mail.gna.org/listinfo/relax-users




--
Shantanu S. Bhattacharyya
Grad Student, Biological Sciences
Carnegie Mellon University
url : http://esesbee.com


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-users mailing list
relax-users@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options, visit the list information
page at https://mail.gna.org/listinfo/relax-users




--
Shantanu S. Bhattacharyya
Grad Student, Biological Sciences
Carnegie Mellon University
url : http://esesbee.com


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-users mailing list
relax-users@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users

_______________________________________________
relax (http://nmr-relax.com)

This is the relax-users mailing list
relax-users@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users





Related Messages


Powered by MHonArc, Updated Mon May 16 11:00:09 2011