I think this is the confusion.
The build directory is the current directory where you run cmake, make and make install. It is not a cmake configuration, just where you run it.
For you configuration you should do: $ cd /home/sushma/alps/alps_build $ cmake -DCMAKE_INSTALL_PREFIX=/home/sushma/alps/alps_install /home/sushma/janaki/alps-2.2.b3-r7462-src/alps $ make -j4 $ make install
(Note that the -jN will compile the code using N process. If you have at least four cores and 4GB of RAM I suggest you to compile in parallel.)
-- 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 6:50 PM, 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>