ElmerGrid missing (SOLVED)

Discussion about building and installing Elmer
Post Reply
Gary R
Posts: 60
Joined: 12 Apr 2012, 07:23
Antispam: Yes
Location: Long Beach CA

ElmerGrid missing (SOLVED)

Post by Gary R » 07 Dec 2017, 01:26

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.
Last edited by Gary R on 24 Mar 2018, 01:19, edited 1 time in total.

kataja
Posts: 73
Joined: 09 May 2014, 16:06
Antispam: Yes

Re: ElmerGrid missing

Post by kataja » 07 Dec 2017, 15:02

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

Gary R
Posts: 60
Joined: 12 Apr 2012, 07:23
Antispam: Yes
Location: Long Beach CA

Re: ElmerGrid missing

Post by Gary R » 07 Dec 2017, 20:08

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.

kataja
Posts: 73
Joined: 09 May 2014, 16:06
Antispam: Yes

Re: ElmerGrid missing

Post by kataja » 12 Dec 2017, 16:22

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

Post Reply