Well here I am again. I downloaded the latest Elmer release in zip file format. Using CmakeGUI, I had no problem getting through configure and generate. Make and Make install worked like a charm. But when I looked at my executables there was no elmergrid. I went back and looked at the top level CMakeLists.txt file and found no mention of ElmerGrid. But the source code includes the code for elmergrid. What am I missing?
Ubuntu17.04 OS
Gary R.
ElmerGrid missing (SOLVED)
ElmerGrid missing (SOLVED)
Last edited by Gary R on 24 Mar 2018, 01:19, edited 1 time in total.
Re: ElmerGrid missing
Check the line 289 of top-level CMakeLists.txt (devel branch, commit c4844c3b98cce8b9ef1774a53fe0543b3230cd90). That should read
That will include the elmergrid in to the build.
Cheers,
Juhani
Code: Select all
ADD_SUBDIRECTORY(elmergrid)
Cheers,
Juhani
Re: ElmerGrid missing
Thanks for the reply. In my release version ADD_SUBDIRECTORY(elmergrid) is at line 269 but it is there. So why am I not getting an elmergrid executable? Do you need any more information?
Gary R.
Gary R.
Re: ElmerGrid missing
Yeah, I need to know
* git commit sha1 sum,
* cmake output (stdout/stderr) and cmake call arguments
* make output (stdout/stderr)
And if you are running make install, then I'd like to see the output of that as well.
The binary ElmerGrid should appear as "<install-prefix>/bin/ElmerGrid" after install. It is strange if it doesn't appear.. I don't see any reason why it wouldn't, because there is no way one can install ElmerSolver without ElmerGrid (I think)!
-J
* git commit sha1 sum,
* cmake output (stdout/stderr) and cmake call arguments
* make output (stdout/stderr)
And if you are running make install, then I'd like to see the output of that as well.
The binary ElmerGrid should appear as "<install-prefix>/bin/ElmerGrid" after install. It is strange if it doesn't appear.. I don't see any reason why it wouldn't, because there is no way one can install ElmerSolver without ElmerGrid (I think)!
-J