Hi, I've tried a few things on my test machines, but the only way I can reproduce the same symptoms is if I delete the maths_fns/relax_fit.pyd file. Could you check if you have this file?
Cheers, Edward On 12 March 2012 14:45, Edward d'Auvergne <[email protected]> wrote: > Actually, the DLL file on Windows is called maths_fns/relax_fit.pyd. > > Regards, > > Edward > > > On 12 March 2012 14:35, Edward d'Auvergne <[email protected]> wrote: >> Hi, >> >> Thank you, that is quite useful. The "DLL load failed" shows the real >> problem, though I'm not sure what that is at the moment without a bit >> of testing. It could be due to the mix of 32 and 64-bit on your >> system. It looks like your CPU is 64-bit, while your Windows and >> Python versions are 32-bit. The maths_fns/relax_fit.dll 32-bit file >> in the relax Zip distributions is compiled on Windows 2000 and tested >> on 64-bit Windows Vista. I will have to do a bit more testing on >> Vista again to get to the bottom of this problem. In the mean time, >> could you type: >> >> $ scons >> >> in the windows powershell (or command line). This is in the relax >> directory and relax should not be running. To capture logs, you could >> type: >> >> $ scons > log 2> err >> >> Then all messages will be in the 'log' file and all error messages in >> the 'err' file (and you should see zero output to the terminal). >> Sorry for all the hassles. Hopefully we can solve this problem soon! >> >> Cheers, >> >> Edward >> >> >> >> On 12 March 2012 13:59, James Nyirenda <[email protected]> wrote: >>> 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 <[email protected]> >>> To: James Nyirenda <[email protected]> >>> Cc: "[email protected]" <[email protected]> >>> 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 <[email protected]> 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. >>>> >>> >>> _______________________________________________ relax (http://nmr-relax.com) This is the relax-users mailing list [email protected] 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

