[gmx-users] Compiling GROMACS with fftw3

Justin Lemkul jalemkul at vt.edu
Wed Nov 20 04:19:48 CET 2013


On Tue, Nov 19, 2013 at 10:11 PM, mcfc1301 <mcfc1301 at gmail.com> wrote:

> Thank you Justin for your remind.
>
> I have typed exactly
>
> *CMAKE_PREFIX_PATH=/path/to/fftw3/ cmake .. -DGMX_DOUBLE=ON
> -DGMX_INSTALL_PREFIX=/path/to/gromacs*
>
> I wish the *-DGMX_INSTALL_PREFIX=/path/to/gromacs* will make the gromacs
> being installed at */path/to/gromacs* after
>
>
As Mark pointed out (a point that I missed), the correct option is
-DCMAKE_INSTALL_PREFIX.  Also note that it needs to point to a real
directory. The "/path/to/gromacs" is just a cute way of saying you should
specify the desired path to Gromacs on your system.

-Justin


> *make
> make install*
>
> But it does not.
>
> The *make* looks fine with no error message shown but *make install* gives
> the output
>
> *-- Install configuration: "Release"
> CMake Error at cmake_install.cmake:44 (FILE):
>   file cannot create directory: /usr/local/gromacs/share/gromacs.  Maybe
> need
>   administrative privileges.
> *
>
> which echoes the fact that I do not have the power of root and that is why
> I
> wish to install it at my home directory.
>
> Any experience sharing is highly appreciated.
>
> --
> View this message in context:
> http://gromacs.5086.x6.nabble.com/Compiling-GROMACS-with-fftw3-tp5012628p5012669.html
> Sent from the GROMACS Users Forum mailing list archive at Nabble.com.
> --
> 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.
>



-- 

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

Justin A. Lemkul, Ph.D.
Postdoctoral Associate

Department of Pharmaceutical Sciences
School of Pharmacy
Health Sciences Facility II, Room 601
University of Maryland, Baltimore
20 Penn St.
Baltimore, MD 21201

jalemkul at outerbanks.umaryland.edu | (410) 706-7441


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


More information about the gromacs.org_gmx-users mailing list