Re: log file

From: bo baker (bo.bybaker_at_gmail.com)
Date: Wed Sep 21 2005 - 18:49:38 CDT

Hi, Robert:

Thanks for your suggestion. The computer just does not allow me to
write any .log files from my directory.

I have reinstall NAMD through adm account. And if I run the program
from the adm account, I can write the log file without any problem.

Thank you for all your helps

Bo

On 9/21/05, Robert Brunner <rbrunner_at_uiuc.edu> wrote:
> Hi Bo,
>
> Since you're running NAMD in your home directory, you shouldn't need
> admin permission to overwrite your own files. However, it could be
> that if you already have a file called "N62-1.log", then redirecting
> the output from NAMD to that file won't work. Try removing or
> renaming that file immediately before you run NAMD, and see if that
> works.
>
> Robert
>
> On Sep 19, 2005, at 6:38 PM, bo baker wrote:
>
> > Hello, Gengbin:
> >
> > Yes, I don't have the permission to write the log file from my
> > account. We have some problem with this Mac computer. We can't set my
> > account as 'adminsiter file', or change the current adm setting. But
> > I have the permission to use the adm password. I don't know if this
> > would help me to run the NAMD with the log file.
> >
> > Thanks for any suggestions.
> >
> > Regards
> >
> > Bo
> >
> > On 9/19/05, Gengbin Zheng <gzheng_at_ks.uiuc.edu> wrote:
> >
> >>
> >> Hi Bo,
> >>
> >> Looks like you don't have write permission to that directory.
> >> Go to that directory, and run "touch N62-1.log"
> >> and see what happens.
> >>
> >> Gengbin
> >>
> >> bo baker wrote:
> >>
> >>
> >>> Hi, Ioana:
> >>>
> >>> Thank you. I try your suggestion. Here is how I did:
> >>>
> >>> bo% /Users/bo/MD/NAMD/NAMD_2.6b1_MacOSX-PPC/namd2 N62-1.conf |
> >>> tee N62-1.log &
> >>> [1] 784 785
> >>> bo% tee: N62-1.log: Permission denied
> >>>
> >>> After this, the program runs in the shell. I have to close the shell
> >>> in order to kill the job.
> >>>
> >>> Bo
> >>>
> >>> On 9/19/05, Ioana Cozmuta <ioana73_at_gmail.com> wrote:
> >>>
> >>>
> >>>
> >>>> use:
> >>>>
> >>>> namd2 test.cnf | tee test.log &
> >>>>
> >>>> this should work
> >>>>
> >>>> Ioana
> >>>>
> >>>> On 9/19/05, bo baker <bo.bybaker_at_gmail.com> wrote:
> >>>>
> >>>>
> >>>>
> >>>>> hello, NAMD:
> >>>>>
> >>>>> I try to run a test with 'namd2'. But I can't let the computer
> >>>>> to run
> >>>>> the program with ' & " command. Here is how I did:
> >>>>>
> >>>>> ------
> >>>>> bo% cd MD/NAMD/NAMD_2.6b1_MacOSX-PPC
> >>>>> bo% setenv DYLD_LIBRARY_PATH /Users/bo/MD/NAMD/
> >>>>> NAMD_2.6b1_MacOSX-PPC
> >>>>>
> >>>>> bo% /Users/bo/MD/NAMD/NAMD_2.6b1_MacOSX-PPC/namd2 N62-1.conf >
> >>>>> N62-1.log &
> >>>>> [1] 604
> >>>>> tcsh: N62-1.log: Permission denied.
> >>>>>
> >>>>> bo% /Users/bo/MD/NAMD/NAMD_2.6b1_MacOSX-PPC/namd2 N62-1.conf >
> >>>>> N62-1.log
> >>>>> tcsh: N62-1.log: Permission denied.
> >>>>> [1] + Exit 1
> >>>>> ------
> >>>>>
> >>>>> But if I ignore the log command, the program works fine.
> >>>>> -----
> >>>>> bo% /Users/bo/MD/NAMD/NAMD_2.6b1_MacOSX-PPC/namd2 N62-1.conf
> >>>>> Charm++: standalone mode (not using charmrun)
> >>>>> Charm++: scheduler running in netpoll mode.
> >>>>> Info: NAMD 2.6b1 for MacOSX-PPC
> >>>>> -------
> >>>>>
> >>>>> Any suggestions on why I can't ask the computer to do the log
> >>>>> job? I
> >>>>> use Mac OSX 10.3.9. And I am not the adminstrator of the computer.
> >>>>>
> >>>>> Thanks for your help.
> >>>>>
> >>>>> Bo
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>> --
> >>>> Ioana Cozmuta, Ph.D.
> >>>> Eloret Corporation
> >>>> NASA Ames Research Center
> >>>> http://people.nas.nasa.gov/~ioana/
> >>>> w (650) 604-0993, h (408) 732-1399
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
> >
>
>
>
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:39:56 CST