tmLQCD icon indicating copy to clipboard operation
tmLQCD copied to clipboard

“make install” does not install the headers and libraries

Open martin-ueding opened this issue 8 years ago • 6 comments

I have compiled tmLQCD out-of-tree and did a make install. The headers did not get installed, and peram_gen seems to link against the build directory of tmLQCD and not the installation directory.

martin-ueding avatar Aug 30 '17 11:08 martin-ueding

In my Makefile.am attached to issue #364 I had made the install do what is expected from an autotools project (or at least my understanding of that...)

sunpho84 avatar Aug 30 '17 16:08 sunpho84

@sunpho84 If you have it fixed, could you make a pull-request for this to enter the master branch? Would be very useful to have around. Also, if you have additions to the wrapper, these are most welcome in the code-base.

kostrzewa avatar Dec 22 '17 14:12 kostrzewa

Yeah that will be my XMas present!

I need to recheck that nothing has been changed and adjust the Makefile, plus, it was not supporting cuda yet.

Which wrapper are you referring to?

sunpho84 avatar Dec 22 '17 15:12 sunpho84

I have pushed a modified version of the autotools files in my fork, I think there is no point in requesting a pull from you, because there are many "ripples to be ironed":

  • a single Makefile.am is present now: it could be split in multiple files, one per directory, and sourced from the main one, the point in any case is that there is no "libutil" "libxchange" etc but only a "libtmLQCD" to be linked now. If you want to maintain the old layout, it will require to put some extra lines in the file (that's easy), it's up to you
  • the external feature/packages must be addressed, namely SPI, CUDA, QPHIX and DDalphaAMG flags

are you still sure to be interested in this? :)

sunpho84 avatar Jan 29 '18 11:01 sunpho84

I think this looks good and quite useful actually. Could you still set up a pull request so we can see what the differences are and estimate how much time it would take to finalise it? Does make -jN work as expected?

kostrzewa avatar Feb 03 '18 08:02 kostrzewa

I finished the pull request, and modified accordingly travis script and read_input.l internal parameters. Now the parser is working and the test is passing. Make works has aspected. GPU, SPI etc has still to be addressed though

sunpho84 avatar Feb 05 '18 00:02 sunpho84