Skip to content

Commit

Permalink
FEI patch for astra from Mike glass.
Browse files Browse the repository at this point in the history
From his email -

I don't know if any other ASC apps are using the FEI package in Trilinos but we (Sierra) have come across a compiler issue on stria related to this package. We're using the ARMHPC 20.1 toolset. The following is our work around. Can this get incorporated into the Trilinos repo?
  • Loading branch information
prwolfe committed Aug 5, 2020
1 parent bf2d1d4 commit 3fdb072
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions base/fei_EqnCommMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,11 @@ void EqnCommMgr::exchangeSoln()
}

//------------------------------------------------------------------------------
// This works around an issue with the ARMHPC 20.1 compiler
// Needs to be revisited with later versions
#ifdef __ARM_HPC_COMPILER_VERSION__
__attribute__((optnone))
#endif
int EqnCommMgr::mirrorProcEqns(ProcEqns& inProcEqns, ProcEqns& outProcEqns)
{
//Beginning assumption: we (the local processor) have a populated ProcEqns
Expand Down

0 comments on commit 3fdb072

Please sign in to comment.