Re: Concatenating log files

From: Roshan Shrestha (roshanpra_at_gmail.com)
Date: Wed Sep 06 2017 - 12:00:34 CDT

Thanks Brian, Seems like my kind of tool.

On Wed, Sep 6, 2017 at 10:24 PM, Roshan Shrestha <roshanpra_at_gmail.com>
wrote:

> Thanks Josh, it worked. In hindsight, I should have tried with cat command
> myself, but I thought concatenating the two log files would append the
> header information as well. Also, Is there any way to extract the
> individual informations like Pressure, Energy, Temperature etc from log
> file so that I can save them in either .dat format or any other formats to
> plot it in my favorite plotting tools.
>
>
> On Wed, Sep 6, 2017 at 9:59 PM, Vermaas, Joshua <Joshua.Vermaas_at_nrel.gov>
> wrote:
>
>> Wouldn't something like "cat log1.log log2.log > concatenated.log" work?
>> Its been a while since I've used NAMD plot, but I think it ignores
>> header-like things and only looks for lines that start with "ENERGY"
>>
>> -Josh
>>
>> On 09/06/2017 10:13 AM, Roshan Shrestha wrote:
>> Dear all,
>> I extended the previous simulation in NAMD, so now I have
>> two log files for the previous and current MD simulation. Since I use NAMD
>> plot to plot my data, is there any way to concatenate these two log files
>> into one log file.
>>
>> Thanks
>>
>> --
>> Roshan Shrestha
>> M.Sc (Physics)
>> Central Department of Physics, Tribhuvan University
>> Kathmandu, Nepal
>>
>>
>>
>>
>>
>>
>
>
> --
> Roshan Shrestha
> M.Sc (Physics)
> Central Department of Physics, Tribhuvan University
> Kathmandu, Nepal
>
>
>
>

-- 
Roshan Shrestha
M.Sc (Physics)
Central Department of Physics, Tribhuvan University
Kathmandu, Nepal

This archive was generated by hypermail 2.1.6 : Mon Dec 31 2018 - 23:20:35 CST