RE: [AMBER] Running PTRAJ command line scripts in background

From: Hopkins, Robert <hopkins.uhcl.edu>
Date: Sun, 17 May 2009 17:55:48 +0100

Dear Jia Xu,

Thanks very much for your help.

Bob Hopkins


-----Original Message-----
From: amber-bounces.ambermd.org [mailto:amber-bounces.ambermd.org] On
Behalf Of Jia Xu
Sent: Sunday, May 17, 2009 2:17 AM
To: AMBER Mailing List
Subject: Re: [AMBER] Running PTRAJ command line scripts in background

Dear Bob Hopkins,
    Usually I use "screen" command to run ptraj and other command such
as
sander in the background.

     1.Type "screen -S sessionname" to open a new session ("" should be
omitted)
     2.Run ptraj command or do some other thing
     3.Input "Ctrl a" , then type "d" to return, now the ptraj work is
running in the background
     4.Type "screen -r sessionname" to restart the session if you want
     5. After the work finished, input "Ctrl a",then type "K" to kill
the
session

You can open multiple sessions at the same time. However, the screen
tool
should be installed. Type "which screen" to check if it is installed on
your
computer.
If you do not have screen, you may install it from an RPM or "yum" or
"apt-get install"..., it depends on your linux distribution.

For details, please "man screen"

Best wishes,


On Sun, May 17, 2009 at 8:47 AM, Hopkins, Robert <hopkins.uhcl.edu>
wrote:

> Amber Users,
>
>
>
> Hopefully, this is a simple question with a straightforward answer:
Is
> there a way to run a Ptraj command line script (e.g., like the one on
p.
> 82 of the AmberTools User Manual) in the background? I haven't found
> anywhere in the command that I can place an ampersand (&) and have it
> function properly (even if preceded by \ or placed in single or
double
> quotes). If this can be done, I'd really appreciate knowing how.
>
>
>
> Thanks,
>
> Bob Hopkins
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Jia Xu
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed May 20 2009 - 17:12:41 PDT
Custom Search