[gmx-users] g_wham error
Qu Yuan Yuan
quyuanyuan at sdu.edu.cn
Sun Feb 19 05:11:58 CET 2017
Hi, Justin,
Thanks for your answer. The problem is solved by dos2unix for the .dat files.
Bests,
Yuanyuan
发自我的 iPhone
> 在 2017年2月19日,上午6:11,Justin Lemkul <jalemkul at vt.edu> 写道:
>
>
>
>> On 2/18/17 4:22 AM, QU Yuanyuan wrote:
>> Hi,
>>
>>
>> I am doing umbrella sampling for my system and want to use g_wham to calculate pmf. After I finished the umbrella sampling, I obtained 9 tpr and 9 pullf files. As instructed, I constructed tpr-files.dat and pullf-files.dat containing these 9 tpr filenames and 9 pullf filenames.
>>
>>
>> However, when I run "g_wham -if -it -o -hist -unit kT ",it does not run correctly, it terminates with error:
>>
>>
>> "Source code file: /opt/software/gromacs-5.0.5/src/gromacs/gmxana/gmx_wham.cpp, line: 1767
>>
>> Fatal error: .Should be tpr, xvg, or gdo."
>>
>
> Given this fragmented error message, either you're retyping incompletely (please just copy and paste) or it's a clue as to the problem. The code should print out the offending file name. If this is actually what you're getting, then your input in malformed in some way, but without seeing the actual contents it's impossible to say. Make sure you're using normal Unix-style line endings.
>
> -Justin
>
>>
>>
>>
>> Then I checked the source code file of gmx_wham.cpp line:1767, which is the function to check the file type.
>>
>>
>> I am confused as the filenames in the tpr-files.dat and pullf-files.dat I put are correct.
>>
>>
>> Does anybody know what happened? Thanks very much!
>>
>>
>> Bests,
>> Yuanyuan
>>
>> --
>> Research Associate
>> School of Physics, Shandong University
>>
>>
>>
>>
>>
>>
>>
>
> --
> ==================================================
>
> Justin A. Lemkul, Ph.D.
> Ruth L. Kirschstein NRSA Postdoctoral Fellow
>
> Department of Pharmaceutical Sciences
> School of Pharmacy
> Health Sciences Facility II, Room 629
> University of Maryland, Baltimore
> 20 Penn St.
> Baltimore, MD 21201
>
> jalemkul at outerbanks.umaryland.edu | (410) 706-7441
> http://mackerell.umaryland.edu/~jalemkul
>
> ==================================================
> --
> Gromacs Users mailing list
>
> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request at gromacs.org.
More information about the gromacs.org_gmx-users
mailing list