Page 1 of 1

ElmerGrid missing (SOLVED)

Posted: 07 Dec 2017, 01:26
by Gary R
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.

Re: ElmerGrid missing

Posted: 07 Dec 2017, 15:02
by kataja
Check the line 289 of top-level CMakeLists.txt (devel branch, commit c4844c3b98cce8b9ef1774a53fe0543b3230cd90). That should read

Code: Select all

ADD_SUBDIRECTORY(elmergrid)
That will include the elmergrid in to the build.

Cheers,
Juhani

Re: ElmerGrid missing

Posted: 07 Dec 2017, 20:08
by Gary R
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.

Re: ElmerGrid missing

Posted: 12 Dec 2017, 16:22
by kataja
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