ElmerGrid missing

Discussion about building and installing Elmer

ElmerGrid missing

Postby 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.
Gary R
 
Posts: 48
Joined: 12 Apr 2012, 07:23
Location: Long Beach CA

Re: ElmerGrid missing

Postby 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
kataja
 
Posts: 61
Joined: 09 May 2014, 16:06

Re: ElmerGrid missing

Postby 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.
Gary R
 
Posts: 48
Joined: 12 Apr 2012, 07:23
Location: Long Beach CA

Re: ElmerGrid missing

Postby 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
kataja
 
Posts: 61
Joined: 09 May 2014, 16:06


Return to Installation & compilation

Who is online

Users browsing this forum: No registered users and 1 guest