Hi, That makes no sense. I can't reproduce your symptoms at all (with git version or tarball). The build system does append "/" and then "share/gromacs" to CMAKE_INSTALL_PREFIX before using it for the files in the top directory, but there's no conceivable way the build system could spam successive "gromacs" subdirectories, because the addition is of "share/gromacs." In your case, a variable whose value is /share/apps/gromacs-4.6.5//share/gromacs gets made. Perhaps you could try without the terminating slash in CMAKE_INSTALL_PREFIX? I can't see why it should work, but if it does, then we should fix the build system to be more sensitive to that.
Mark On Thu, Apr 24, 2014 at 3:32 PM, Harry Mark Greenblatt < [email protected]> wrote: > BS"D > > I just tried to build gromacs on a workstation with Centos 6.5, under /opt > and got the same problem. So it's not a ROCKS issue. > > I *did* succeed on a Centos 6.5 workstation where I *didn't* specify the > CMAKE_INSTALL_PREFIX and "make install" put things in /usr/local. > > Thanks > > Harry > > > Hi All, > > I am trying to build 4.6.5 for testing, on a Rocks 5.3 cluster (yes it > needs upgrading!). I am using one of the compute nodes to do the > compiling, using the following: > > CMAKE_PREFIX_PATH=/share/apps/fftw-3.3.2 > /share/apps/cmake-2.8.12.2/bin/cmake .. > -DCMAKE_INSTALL_PREFIX=/share/apps/gromacs-4.6.5/ > -DGMX_CPU_ACCELERATION=SSE2 > > This step is fine, as is the "make" step. > > But when I type "make install", it starts to copy the files to the correct > place, but under "share" it starts to make many recursive gromacs > subdirectories. Here is an example early on in the process > > Installing: > /share/apps/gromacs-4.6.5/share/gromacs/./gromacs/top/amber96.ff/rna.r2b > > As the install proceeds, the number of > gromacs/./gromacs/gromacs/gromacs...... directories keeps growing (as in > the recursion level keeps going up). > > Any advice? > > > > > > > ------------------------------------------------------------------------- > > Harry M. Greenblatt > > Associate Staff Scientist > > Dept of Structural Biology [email protected] > <mailto:[email protected]> > > Weizmann Institute of Science Phone: 972-8-934-3625 > > 234 Herzl St. Facsimile: 972-8-934-4159 > > Rehovot, 76100 > > Israel > > > > > > -- > 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].
