mailRe: Compiling C modules for relax


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

Header


Content

Posted by James Nyirenda on March 12, 2012 - 13:59:
 Hi, again, the log file is here

                                  relax 1.3.13

                    Molecular dynamics by NMR data analysis

                   Copyright (C) 2001-2006 Edward d'Auvergne
               Copyright (C) 2006-2011 the relax development team

This is free software which you are welcome to modify and redistribute under the
conditions of the GNU General Public License (GPL).  This program, including all
modules, is licensed under the GPL and comes with absolutely no warranty.  For
details type 'GPL' within the relax prompt.

Assistance in using the relax prompt and scripting interface can be accessed by
typing 'help' within the prompt.

ImportError: relaxation curve fitting is unavailable, the corresponding C modules have not been compiled.

Processor fabric:  Uni-processor.

Hardware information:
    Machine:                 x86
    Processor:               Intel64 Family 6 Model 42 Stepping 7, GenuineIntel

System information:
    System:                  Windows
    Release:                 7
    Version:                 6.1.7601
    Win32 version:           7 6.1.7601 SP1 Multiprocessor Free
    Distribution:             
    Full platform string:    Windows-7-6.1.7601-SP1

Software information:
    Architecture:            32bit WindowsPE
    Python version:          2.6.6
    Python branch:           tags/r266
    Python build:            r266:84297, Aug 24 2010 18:46:32
    Python compiler:         MSC v.1500 32 bit (Intel)
    Python implementation:   CPython
    Python revision:         84297
    Numpy version:           1.6.1
    Libc version:            

Python packages (most are optional):

Package              Installed       Version         Path          
minfx                True            Unknown         C:\Program Files\relax-1.3.13\minfx
bmrblib              True            Unknown         C:\Program Files\relax-1.3.13\bmrblib
numpy                True            1.6.1           C:\Program Files\Python26\lib\site-packages\numpy
scipy                True            0.10.0          C:\Program Files\Python26\lib\site-packages\scipy
wxPython             True            2.8.12.1        C:\Program Files\Python26\lib\site-packages\wx-2.8-msw-unicode\wx
mpi4py               False          
epydoc               False          
optparse             True            1.5.3           C:\Program Files\Python26\lib\optparse.pyc
readline             True                            C:\Program Files\Python26\lib\site-packages\readline.pyc
profile              True                            C:\Program Files\Python26\lib\profile.pyc
bz2                  True                            C:\Program Files\Python26\DLLs\bz2.pyd
gzip                 True                            C:\Program Files\Python26\lib\gzip.pyc
os.devnull           True                            C:\Program Files\Python26\lib\os.pyc

Compiled relax C modules:
    Relaxation curve fitting: False


log2 file
relax 1.3.13

                    Molecular dynamics by NMR data analysis

                   Copyright (C) 2001-2006 Edward d'Auvergne
               Copyright (C) 2006-2011 the relax development team

This is free software which you are welcome to modify and redistribute under the
conditions of the GNU General Public License (GPL).  This program, including all
modules, is licensed under the GPL and comes with absolutely no warranty.  For
details type 'GPL' within the relax prompt.

Assistance in using the relax prompt and scripting interface can be accessed by
typing 'help' within the prompt.

ImportError: relaxation curve fitting is unavailable, the corresponding C modules have not been compiled.

Processor fabric:  Uni-processor.

relax> Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
relax> Exiting the program.

hope this is enough.

From: Edward d'Auvergne <edward@xxxxxxxxxxxxx>
To: James Nyirenda <jamesn7414@xxxxxxxxx>
Cc: "relax-users@xxxxxxx" <relax-users@xxxxxxx>
Sent: Monday, 12 March 2012, 19:46
Subject: Re: Compiling C modules for relax

Hi,

I'm assuming that you are using the 1.3.13 MS Windows 32-bit Zip file.
This problem sometimes occurs due to differences in Windows versions
(especially 32 vs. 64-bit).  To check the system information, can you
run:

$ relax --info > log

This will create a file called 'log' which you can copy and paste the
contents of.  Could you also run:

$ relax --tee log2

and then inside relax type:

relax> from maths_fns.relax_fit import setup

Then quit relax.  The 'log2' file should then have all of the
information about why the C module cannot be loaded on your system.
From this information, hopefully we can work out what is happening.

Cheers,

Edward



On 12 March 2012 11:14, James Nyirenda <jamesn7414@xxxxxxxxx> wrote:
> Yes, the information at the bottom says False meaning we have to compile the
> modules, i tried last night using a separate machine having c++ 2005 but the
> messege at the bottom says am using c++ on a header that is using c as i
> copied the relax-fit files header and source into ms visual c++ 2005 though
> my thinking was if relax curve fitting files were written in c, c++ may not
> be problem. Sorry my programming skills are a bit scanty.
> Probably we can start from this bit of information i have given.
>  Kind regards.
>  Jimmy.
>



Related Messages


Powered by MHonArc, Updated Mon Mar 12 14:40:08 2012