mailRe: [bug #21959] cpmg_analysis


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

Header


Content

Posted by mengjun . xue on April 24, 2014 - 18:27:
Hi Edward,

I tried the C:\relax-3.1.7> dir > test, I did not see the text "Access is denied",

please see the following output:


Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\xmj>cd..

C:\Users>\cd..
'\cd..' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>cd..

C:\>cd relax-3.1.7

C:\relax-3.1.7>dir > test

C:\relax-3.1.7>

Thank you.

Best regards,

Mengjun



Quoting Edward d'Auvergne <edward@xxxxxxxxxxxxx>:

Hi,

Try the following then, in the Command Prompt window:

C:\relax-3.1.7> dir > test

I.e. run 'dir > test'.  If you see the text "Access is denied", then
that means that you do not have permission to create files in that
directory.  Is this what you see?

Regards,

Edward



On 24 April 2014 18:13,  <mengjun.xue@xxxxxxxxxxxxxxxxxxxx> wrote:
Hi Edward,

I tried the 'relax -i --tee log' command, C:\relax-3.1.7\relax -i --tee
log6, I entered the command line 'relax -i --tee log' under cmd, following
output show up in the cmd window (I copied the output in cmd window using
editor mode), but no log6 file is created in the C:\relax-3.1.7, I
understand that the command line 'relax -i --tee log' will produce output in
cmd window, but it does not produce the log file.


C:\relax-3.1.7>relax -i --tee log6




                                  relax 3.1.7

                    Molecular dynamics by NMR data analysis

                   Copyright (C) 2001-2006 Edward d'Auvergne
              Copyright (C) 2006-2014 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.

Processor fabric:  Uni-processor.


Hardware information:
    Machine:                 x86
    Processor:               x86 Family 6 Model 15 Stepping 13, GenuineIntel
    Processor name:          x86 Family 6 Model 15 Stepping 13, GenuineIntel
    Endianness:              little
    Total RAM size:          3037.30078125 Mb
    Total swap size:         2047.875 Mb

Operating 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
    Windows architecture:    x86

Python information:
    Architecture:            32bit WindowsPE
    Python version:          2.7.6
    Python branch:
    Python build:            default, Nov 10 2013 19:24:18
    Python compiler:         MSC v.1500 32 bit (Intel)
    Libc version:
    Python implementation:   CPython
    Python revision:
    Python executable:       C:\Python27\python.exe
    Python flags:            sys.flags(debug=0, py3k_warning=0,
division_warning
=0, division_new=0, inspect=0, interactive=0, optimize=0,
dont_write_bytecode=0,
 no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0,
unicode
=0, bytes_warning=0, hash_randomization=0)
    Python float info:       sys.float_info(max=1.7976931348623157e+308,
max_exp
=1024, max_10_exp=308, min=2.2250738585072014e-308, min_exp=-1021,
min_10_exp=-3
07, dig=15, mant_dig=53, epsilon=2.220446049250313e-16, radix=2, rounds=1)
    Python module path:      ['', 'C:\\relax-3.1.7',
'C:\\Windows\\system32\\pyt
hon27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib',
'C:\\Python27\\lib\\plat-
win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27',
'C:\\Python27\\lib\\site-pack
ages', 'C:\\Python27\\lib\\site-packages\\wx-3.0-msw']

Python packages and modules (most are optional):

Name               Installed    Version                  Path

minfx              True         1.0.5
C:\relax-3.1.7\minfx

bmrblib            True         1.0.3
C:\relax-3.1.7\bmrblib

numpy              True         1.8.0
C:\Python27\lib\site-pa
ckages\numpy
scipy              True         0.13.3
C:\Python27\lib\site-pa
ckages\scipy
wxPython           True         3.0.0.0 msw (classic)
C:\Python27\lib\site-pa
ckages\wx-3.0-msw\wx
mpi4py             False

epydoc             False

optparse           True         1.5.3
C:\Python27\lib\optpars
e.pyc
readline           True
C:\Python27\lib\site-pa
ckages\readline.pyc
profile            True
C:\Python27\lib\profile
.pyc
bz2                True
C:\Python27\DLLs\bz2.py
d
gzip               True
C:\Python27\lib\gzip.py
c
io                 True
C:\Python27\lib\io.pyc

xml                True         0.8.4 (internal)
C:\Python27\lib\xml\__i
nit__.pyc
xml.dom.minidom    True
C:\Python27\lib\xml\dom
\minidom.pyc

relax information:
    Version:                 3.1.7
    Processor fabric:        Uni-processor.

relax C modules:

Module                        Compiled    File type    Path

target_functions.relax_fit    True
target_functions\relax_fi
t.pyd



C:\relax-3.1.7>


Thank you.

Best regards,

Mengjun






Quoting Edward d'Auvergne <edward@xxxxxxxxxxxxx>:

Hi Mengjun,

When you run 'relax -i --tee log', there is no script being run.  Does
this still not produce the 'log' file from the directory you ran it
from?  I'm deliberately ignoring the 'cpmg_analysis.py' script right
now to try to understand and pinpoint where on earth this strange
behaviour is located.  When trying to fix such a problem, you need to
identify the most basic factor which is at issue.  Here you are
running relax without a script, and it is failing.  Therefore I can
only conclude that this is the failure point for everything.  If we
can get 'relax -i --tee log' to run, then, and only then, will it be
possible to run the 'cpmg_analysis.py' script.  Because the reason for
not being able to produce the 'log' file is likely to the same reason
why the script cannot be run.

Regards,

Edward


On 24 April 2014 17:22,  <mengjun.xue@xxxxxxxxxxxxxxxxxxxx> wrote:

Hi Edward,

When I run relax -i --tee log, I rename log to log123 or loglog, which is
new name, it should not be problem. For the permisions for the directory,
I
can get the log file when I run other script, for example, I have run
dauvergne_protocol.py for the full model free analysis on my computer, it
can create log file, dauvergne_protocol.py can run smoothly, but when I
try
to run cpmg_analysis.py, it does not work. So maybe my computer has some
problems, I will ask some people to check my computer, at this moment it
seems my computer can still work well, it can run relax scripts,
dauvergne_protocol.py can run smoothly, but it can not run
cpmg_analysis.py,
if it is hard disk failture, it means the computer will have some strange
noise? and can not start windows system easily?


Thank you.

Best regards,

Mengjun


Quoting Edward d'Auvergne <edward@xxxxxxxxxxxxx>:

Hi,

If the 'relax -i --tee log' command does not produce a 'log' file on
your computer, then that indicates where the problem is.  There are
only two cases where this file cannot be produced:

  - The 'log' file already exists.  The old file would therefore have
to be deleted, or run 'relax -i --tee log2'.

  - You do not have write permissions for the directory you are
running the 'relax -i --tee log' command from.

If it is not one of these two cases, then there is something seriously
sick with your computer!   For example your computer could be
currently suffering from a progressive hard disk failure.  In any
case, this is not a problem due to relax but a general problem with
your computer.  Do you have a system administrator at work who can
look at this?

Regards,

Edward



On 24 April 2014 16:42,  <mengjun.xue@xxxxxxxxxxxxxxxxxxxx> wrote:


Hi Edward,

I have tried the 'relax -i --tee log' command, but it does not create
log
file on my computer, I just copy the output from cmd window using
editor
mode:



                                  relax 3.1.7

                    Molecular dynamics by NMR data analysis

                   Copyright (C) 2001-2006 Edward d'Auvergne
              Copyright (C) 2006-2014 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.

Processor fabric:  Uni-processor.


Hardware information:
    Machine:                 x86
    Processor:               x86 Family 6 Model 15 Stepping 13,
GenuineIntel
    Processor name:          x86 Family 6 Model 15 Stepping 13,
GenuineIntel
    Endianness:              little
    Total RAM size:          3037.30078125 Mb
    Total swap size:         2047.875 Mb

Operating 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
    Windows architecture:    x86

Python information:
    Architecture:            32bit WindowsPE
    Python version:          2.7.6
    Python branch:
    Python build:            default, Nov 10 2013 19:24:18
    Python compiler:         MSC v.1500 32 bit (Intel)
    Libc version:
    Python implementation:   CPython
    Python revision:
    Python executable:       C:\Python27\python.exe
    Python flags:            sys.flags(debug=0, py3k_warning=0,
division_warning
=0, division_new=0, inspect=0, interactive=0, optimize=0,
dont_write_bytecode=0,
 no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0,
verbose=0,
unicode
=0, bytes_warning=0, hash_randomization=0)
    Python float info:
sys.float_info(max=1.7976931348623157e+308,
max_exp
=1024, max_10_exp=308, min=2.2250738585072014e-308, min_exp=-1021,
min_10_exp=-3
07, dig=15, mant_dig=53, epsilon=2.220446049250313e-16, radix=2,
rounds=1)
    Python module path:      ['', 'C:\\relax-3.1.7',
'C:\\Windows\\system32\\pyt
hon27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib',
'C:\\Python27\\lib\\plat-
win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27',
'C:\\Python27\\lib\\site-pack
ages', 'C:\\Python27\\lib\\site-packages\\wx-3.0-msw']

Python packages and modules (most are optional):

Name               Installed    Version                  Path

minfx              True         1.0.5
C:\relax-3.1.7\minfx

bmrblib            True         1.0.3
C:\relax-3.1.7\bmrblib

numpy              True         1.8.0
C:\Python27\lib\site-pa
ckages\numpy
scipy              True         0.13.3
C:\Python27\lib\site-pa
ckages\scipy
wxPython           True         3.0.0.0 msw (classic)
C:\Python27\lib\site-pa
ckages\wx-3.0-msw\wx
mpi4py             False

epydoc             False

optparse           True         1.5.3
C:\Python27\lib\optpars
e.pyc
readline           True
C:\Python27\lib\site-pa
ckages\readline.pyc
profile            True
C:\Python27\lib\profile
.pyc
bz2                True
C:\Python27\DLLs\bz2.py
d
gzip               True
C:\Python27\lib\gzip.py
c
io                 True
C:\Python27\lib\io.pyc

xml                True         0.8.4 (internal)
C:\Python27\lib\xml\__i
nit__.pyc
xml.dom.minidom    True
C:\Python27\lib\xml\dom
\minidom.pyc

relax information:
    Version:                 3.1.7
    Processor fabric:        Uni-processor.

relax C modules:

Module                        Compiled    File type    Path

target_functions.relax_fit    True
target_functions\relax_fi
t.pyd


Thank you.

Best regards,

Mengjun



Quoting Edward d'Auvergne <edward@xxxxxxxxxxxxx>:

Hi,

The command is correct, running 'relax -i --tee log' will produce the
'log' text file which you can then open and copy and paste the
contents of.

Regards,

Edward
























Related Messages


Powered by MHonArc, Updated Thu Apr 24 19:00:15 2014