Hi, Just like all normal installations of GROMACS, you need to run cmake from your build directory and tell it where the source directory is. The ".." works if the source is the parent directory, but if you're not following eg the installation guide, then you'll have to adapt!
Mark On Tue, 9 May 2017 22:23 ZHANG Cheng <[email protected]> wrote: > 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";<[email protected]>; > Date: Wed, May 10, 2017 02:58 AM > To: "gromacs.org_gmx-users"<[email protected]>; > > 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 > -- > 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 [email protected]. > -- 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 [email protected].
