[gmx-users] How to use "gmx view" on Ubuntu?

Justin Lemkul jalemkul at vt.edu
Wed May 10 22:32:52 CEST 2017



On 5/10/17 4:27 PM, ZHANG Cheng wrote:
> Dear Mark,
> Yes, Justin gave me a link for Gromacs-2016.3, but not the link for xorg-dev.
>

Because you installed the necessary X11 components via apt-get.

>
> Do you mean, I should uninstall my current Gromacs 5.0.4, then install the Gromacs-2016.3, so that I can use the "gmx view" in the Gromacs-2016.3 on my Ubuntu?
>

Yes.  If you want any GROMACS version enabled with gmx view, you need the 
prerequisite X11 libraries and headers, and then you have to recompile GROMACS.

-Justin

>
> Cheng
>
>
>
>
> ------------------ Original ------------------
> From:  "ZHANG Cheng";<272699575 at qq.com>;
> Date:  Thu, May 11, 2017 02:50 AM
> To:  "gromacs.org_gmx-users"<gromacs.org_gmx-users at maillist.sys.kth.se>;
>
> Subject:  Re:  Re:   Re:  How to use "gmx view" on Ubuntu?
>
>
>
> Dear Justin,
> Thank you for your link. I know how to install the Gromacs based on your link. But do you know where I can download the tar.gz file so that I can compile it and then use "gmx view"?
>
>
> Thank you.
>
>
> Cheng
>
>
>
>
> ------------------ Original ------------------
> From:  "ZHANG Cheng";<272699575 at qq.com>;
> Date:  Wed, May 10, 2017 11:27 PM
> To:  "gromacs.org_gmx-users"<gromacs.org_gmx-users at maillist.sys.kth.se>;
>
> Subject:  Re:  Re:  How to use "gmx view" on Ubuntu?
>
>
>
> Dear Mark Abraham,
> Thank you very much for your updating.
>
>
> Sorry, could you please tell me where can I download the cmake file, or which command line to use, in order to compiling & installing?
>
>
> I have tried the below and they both worked, but "gmx view …" still not work, with the same issue "Compiled without X-Windows - can not run viewer."
> ) sudo apt-get install xorg-dev
> ) sudo apt-get install xorg-dev libglu1-mesa-dev
>
>
>
> (Sorry, I am not sure how to find the files to download)
>
>
> Thank you.
>
>
> Yours sincerely
> Cheng
>
>
> ------------------ Original ------------------
> From:  "ZHANG Cheng";<272699575 at qq.com>;
> Date:  Wed, May 10, 2017 04:22 AM
> To:  "gromacs.org_gmx-users"<gromacs.org_gmx-users at maillist.sys.kth.se>;
>
> Subject:  Re: How to use "gmx view" on Ubuntu?
>
>
>
> Dear Gromacs and Mark Abraham,
> Sorry, I am not familiar with compiling issue.
>
>
> I installed xorg-dev by:
> sudo apt-get install xorg-dev
>
>
> Then, I type
> cmake .. -DGMX_X11=on
>
>
> But I was told:
> CMake Error: The source directory "/home/lanselibai/Cheng/gromacs/... ..." does not appear to contain CMakeLists.txt.
>
>
> What I should do next?
>
>
> Thank you.
>
>
> Cheng
>
>
>
>
>
>
> ------------------ Original ------------------
> From:  "ZHANG Cheng";<272699575 at qq.com>;
> Date:  Wed, May 10, 2017 02:58 AM
> To:  "gromacs.org_gmx-users"<gromacs.org_gmx-users at maillist.sys.kth.se>;
>
> Subject:  How to use "gmx view" on Ubuntu?
>
>
>
> Dear Gromacs,
> I am running Gromacs 5.0.4 on Ubuntu 14.04.1 LTS.
>
>
> When I run "gmx view ..." as below:
>
>
> gmx view -f dppc-md.xtc -s dppc-md.tpr
>
>
> I got the following:
>
>
> Compiled without X-Windows - can not run viewer.
>
>
>
>
>
> Can I ask how to use "gmx view" on Ubuntu? Thank you.
>
>
> Yours sincerely
> Cheng
>

-- 
==================================================

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

==================================================


More information about the gromacs.org_gmx-users mailing list