Skip to content
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

libmuelu.a is Zero Length with Intel 15.5/16.1 Compiler when Building with Debug #97

Closed
nmhamster opened this issue Jan 23, 2016 · 4 comments
Labels
impacting: configure or build The issue is primarily related to configuring or building pkg: MueLu

Comments

@nmhamster
Copy link
Contributor

We have seen a few builds where libmuelu.a is zero length or 8 bytes in length when installed. The common situation appears to be with roughly the packages required for NALU but also when CMAKE_BUILD_TYPE is set to DEBUG and the compiler flags are set to -O3 -g. In all sightings so far we have been using either the Intel 15.3, 15.5 or 16.1 compilers. Looking at the object files some of these are quite large making me wonder if the collective size is exceeding limits somewhere in the archive/library building process. The result is that Muelu objects are not found in the library and linking fails. If CMAKE_BUILD_TYPE is set to RELEASE the library builds correctly and linking proceeds as expected.

@crtrott
Copy link
Member

crtrott commented Jan 23, 2016

Can you post the relevant parts of the configure output (where it states what Tpetra and MueLu will instantiate?) In particular I like to know whether complex is enabled and whether more than one execution space enabled (i.e. Serial and OpenMP)? You can also grep for "Tpetra" and "INST" in the CMakeCache.txt.

@aprokop
Copy link
Contributor

aprokop commented Jan 23, 2016

Can we get access to a build directory that fails like that? I would like to run the ar utility by hand to figure out the max size for such a failure. Also, I assume this is a static build?

@mhoemmen
Copy link
Contributor

Just curious -- have you tried turning off some Tpetra instantiations? For example:

Tpetra_INST_INT_INT:BOOL=OFF
Tpetra_INST_INT_LONG:BOOL=ON
Tpetra_INST_INT_LONG_LONG:BOOL=OFF

@jhux2 jhux2 added the impacting: configure or build The issue is primarily related to configuring or building label Mar 3, 2016
@jhux2
Copy link
Member

jhux2 commented Mar 3, 2018

Appears to be superceded by #1605. Please reopen if this isn't the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impacting: configure or build The issue is primarily related to configuring or building pkg: MueLu
Projects
None yet
Development

No branches or pull requests

5 participants