Just type make and make install in the directory where you ran cmake
On Aug 12, 2014, at 11:10, Niraj Ghimire niraj.ghimire@gmail.com wrote:
That's why the paths look different this time. Now need to know now how to build in a different directory using the "make" and "make install" commands.
On Tue, Aug 12, 2014 at 1:06 PM, Niraj Ghimire niraj.ghimire@gmail.com wrote: I thought I messed everything up while trying to install and build in the same directory. So I am doing a clean "configure" yet again, this time making two different directories, one for "install" and the other for "build".
On Tue, Aug 12, 2014 at 1:03 PM, Matthias Troyer troyer@phys.ethz.ch wrote: These are not the paths given in your log file. Did you really do this and send the correct log?
On Aug 12, 2014, at 10:50, Niraj Ghimire niraj.ghimire@gmail.com wrote:
Dr. Troyer, now I am confused. The locations for my install and build directories are /home/sushma/alps/alps_install and /home/sushma/alps/alps_build. When I do "cmake -DCMAKE_INSTALL_PREFIX=/home/sushma/alps/alps_install /home/sushma/janaki/alps-2.2.b3-r7462-src/alps", I believe I am installing alps package into the folder "alps_install." If I am not wrong so far, I want to know how I can build into the folder "alps_build". There must be some option (in maybe "cmake options") or some command line that I need to follow before I can use the commands "make" and "make install". This is really tricky, please help me out.
~Niraj
On Tue, Aug 12, 2014 at 12:17 PM, Niraj Ghimire niraj.ghimire@gmail.com wrote: Ok Dr. Troyer, now it makes sense. Thank you so much.
On Tue, Aug 12, 2014 at 12:11 PM, Matthias Troyer troyer@phys.ethz.ch wrote: Indeed, that's what the log shows. You need to install into a different directory than the build directory
> On Aug 12, 2014, at 10:03, Michele Dolfi dolfim@phys.ethz.ch wrote: > > Are you trying to build in the same directory where you want to install? > > -- > ETH Zurich > Michele Dolfi > Institute for Theoretical Physics > HIT G 32.4 > Wolfgang-Pauli-Str. 27 > 8093 Zurich > Switzerland > > dolfim@phys.ethz.ch > www.itp.phys.ethz.ch > > +41 44 633 78 56 phone > +41 44 633 11 15 fax > > > > > >> On Aug 12, 2014, at 5:37 PM, Niraj Ghimire niraj.ghimire@gmail.com wrote: >> >> Here it is. Please note that I tried a clean install yet again and the build directory this time is /home/sushma/buildalps/alps (which previously was /home/sushma/alps). >> >> >>> On Tue, Aug 12, 2014 at 12:12 AM, Matthias Troyer troyer@phys.ethz.ch wrote: >>> This actually states that the module was built: >>> >>>> Linking CXX shared module pyalea_c.so >>> >>> >>> Can you now please send the log of make install? >>> >>> >>>> On 11 Aug 2014, at 11:48, Niraj Ghimire niraj.ghimire@gmail.com wrote: >>>> >>>> Here it is. >>>> >>>> >>>>> On Mon, Aug 11, 2014 at 1:46 PM, Matthias Troyer troyer@phys.ethz.ch wrote: >>>>> Please send the output of running make >>>>> >>>>> >>>>> >>>>> >>>>>> On Aug 11, 2014, at 11:27, Niraj Ghimire niraj.ghimire@gmail.com wrote: >>>>>> >>>>>> Hi Dr. Troyer, >>>>>> I tried a clean configuration yet again and kept a copy of everything that happened when I did "cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/directory /path/to/alps/directory". I realized that my system was unable to locate some of the important files as can be seen from the text file I attached, yet I got notifications "Configuring done" and "Generating Done". Will you be able to tell me what exactly went wrong and what I need to do to fix it ? >>>>>> >>>>>> ~Niraj >>>>>> >>>>>> >>>>>>> On Wed, Aug 6, 2014 at 3:57 PM, Matthias Troyer troyer@phys.ethz.ch wrote: >>>>>>> >>>>>>> On 06 Aug 2014, at 12:47, Niraj Ghimire niraj.ghimire@gmail.com wrote: >>>>>>> >>>>>>> > When I did "cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/directory /path/to/alps/directory", the final message I got was: >>>>>>> > ................. >>>>>>> > -- MPS: enabling NU1 symmetry. >>>>>>> > -- tebd will not be built >>>>>>> > -- Configuring done >>>>>>> > -- Generating done >>>>>>> > -- Build files have been written to: /home/niraj/alps >>>>>>> > >>>>>>> > When I did "make", the final message I got was: >>>>>>> > .................. >>>>>>> > [100%] Built target vmusage >>>>>>> > >>>>>>> > P.S. I have also attached text files CMakeCache and makefile in the directory /home/niraj/alps as well as CMakeOutput.log in /home/niraj/alps/CMakeFiles. >>>>>>> >>>>>>> Can you please send the complete output and not just the final lines? >>>>>> >>>>>> <ErrorLog.txt> >>>> >>>> <MakeOutput.txt> >> >> <MakeInstallOutput.txt>