-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full Autotools build #415
base: master
Are you sure you want to change the base?
Full Autotools build #415
Conversation
sunpho84
commented
Feb 4, 2018
- GPU and SPI not yet enabled
- A single long Makefile.am: this might be broken in many files if you prefer, though I can't see a practical reason for doing that
Thanks, I'll take a look at this next week. I'm not sure I like the single list of all source files too much, but if that's the only way to achieve the desired goal, so be it. |
No no one can certainly split the Makefile.am across multiple files and use |
Ok now the Makefile.am is split across different files, included in subdirs, there is still a bit of a mess in the master Makefile.am and one would probably split the main folder sourcefiles list into a dedicated file (or put the files in an appropriate directory?) |
did I tell already how much I love anyhow, I guess I have to type Here |
btw: I have automake (GNU automake) 1.15 |
even if I invoke |
Works for me.
|
include files are not installed by |
of course, the external libraries should be taken care of |
well, this is what I get after an `autoreconf`:
```
$> autoreconf
configure.ac:15: error: required file './compile' not found
configure.ac:15: 'automake --add-missing' can install 'compile'
configure.ac:13: error: required file './missing' not found
configure.ac:13: 'automake --add-missing' can install 'missing'
autoreconf: automake failed with exit status: 1
```
another round of `automake --add-missing` solves it then. Is this ment
seriously?
Works for me.
```
$ automake --add-missing
$ autoreconf
```
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#415 (comment)
--
Carsten Urbach
e-mail: curbach@gmx.de
urbach@hiskp.uni-bonn.de
Fon : +49 (0)228 73 2379
skype : carsten.urbach
URL: http://www.carsten-urbach.eu
|
That's why one usually has an autogen.sh script. It worked with a single invocation of |
has this been tried with `--enable-sse2`?
… well, this is what I get after an `autoreconf`:
```
$> autoreconf
configure.ac:15: error: required file './compile' not found
configure.ac:15: 'automake --add-missing' can install 'compile'
configure.ac:13: error: required file './missing' not found
configure.ac:13: 'automake --add-missing' can install 'missing'
autoreconf: automake failed with exit status: 1
```
another round of `automake --add-missing` solves it then. Is this ment
seriously?
> Works for me.
>
> ```
> $ automake --add-missing
> $ autoreconf
> ```
>
>
>
> --
> You are receiving this because you commented.
> Reply to this email directly or view it on GitHub:
> #415 (comment)
--
Carsten Urbach
e-mail: ***@***.***
***@***.***
Fon : +49 (0)228 73 2379
skype : carsten.urbach
URL: http://www.carsten-urbach.eu
--
Carsten Urbach
e-mail: curbach@gmx.de
urbach@hiskp.uni-bonn.de
Fon : +49 (0)228 73 2379
skype : carsten.urbach
URL: http://www.carsten-urbach.eu
|
I think the full set of configure options needs to be mapped out. Ideally one would do this via travis... |
SSE2 / SSE3 seem to work, but produce the kinds of errors upon compilation that we got a while ago from the single precision stuff |
for me it does not compile with SSE2 |
but this might not be due to automake |
no, it doesn't compile, but the flags seem to be defined correctly the errors come from the single precision hopping matrix... |
and D_psi, respectively |
My
|
and D_psi, respectively
same for me...
…--
Carsten Urbach
e-mail: curbach@gmx.de
urbach@hiskp.uni-bonn.de
Fon : +49 (0)228 73 2379
skype : carsten.urbach
URL: http://www.carsten-urbach.eu
|
For what concern flags, I've modified the ALIGN stuff, adding or removing the description (if I believe correctly), but it would be better if you could check it... |
The README should probably be adjusted to contain
as an instruction for generating configure. |
Yes, but the |
Agreed. |
Yes, but the `autogen.sh` or `boostrap.sh`would be advisable
yes, add it please. I have no experience with automake whatsoever...
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#415 (comment)
--
Carsten Urbach
e-mail: curbach@gmx.de
urbach@hiskp.uni-bonn.de
Fon : +49 (0)228 73 2379
skype : carsten.urbach
URL: http://www.carsten-urbach.eu
|
The wikipedia article about GNU Autotools has a nice flowchart, this really helped me when I tried to compile the USQCD code. I have found that For USQCD projects the following commands do all I need:
|
If this is nice, I don't want to hear what's the feeling of setting up a project with
same same So what about the gpu side? |
there are very good reasons that I never used cmake or automake for tmLQCD... ;) |