GithubHelp home page GithubHelp logo

xsdktrilinos's Introduction

Trilinos

Trilinos Logo

Website | Documentation | Mailing List | Packages

OpenSSF Scorecard

The Trilinos Project is an effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems. A unique design feature of Trilinos is its focus on packages.

Documentation

License

Trilinos is licensed on a per-package basis. Most packages are now under a BSD license, some are published under the (L)GPL. Details can be taken from the documentation of each package.

Contributing

We appreciate your willingness to contribute to the Trilinos project. Please familiarize yourself with our contributing guidelines.

xsdktrilinos's People

Contributors

barrysmith avatar bartlettroscoe avatar jwillenbring avatar maherou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xsdktrilinos's Issues

xSDKTrilinos build fails on Mac due to excessively long command line generated by cmake

The xSDKTrilinos cmake is stacking about 100 copies of the xSDKTrilinos_EXTRA_LINK_FLAGS= at the end of its link line for shared libraries. Maybe it stacks one for each Trilinos library it is linking against.

This results in a huge command line which is more than the shell can handle so the link fails.

Somehow the xSDKTrilinos_EXTRA_LINK_FLAGS value needs to be handled in a smarter way so only one is used independent of how many Trilinos libraries it is linking against.

Note that Trilinos cmake is also occassionally stacking several of these together but never enough to crash the shell.

Attached is all the info we can gather from the xSDKTrilinos build process.
xsdktrilinos.txt

@amklinv @jwillenbring @bartlettroscoe @balay

Fix build of xSDKTrilinos with static TPL libs

In the below email, Jason reports that xSDKTrilinos is putting the libraries in the wrong order on the link line.

This Issue ticket is to investigate this issue and try to resolve it.


From: Jason Sarich [email protected] on behalf of "Sarich, Jason J." [email protected]
Date: Tuesday, April 12, 2016 at 1:41 PM
To: "Smith, Barry F." [email protected]
Cc: "Xiaoye (Sherry) Li" [email protected], "Balay, Satish" [email protected], "Willenbring, James M" [email protected], Sherry Li [email protected], "Klinvex, Alicia Marie" [email protected], Lois Curfman McInnes [email protected]
Subject: Re: nearing final preparations for xSDK release

I'm still having some trouble with installxSDK.sh on mira, I was able to fix a few issues, but now I'm getting a bad link line for xsdktrilinos.
libpetsc.a is not added until the very end, but it depends on previous libraries (hdf5, superlu, metis, hypre, ml, etc.), see link command below.

I'm hoping somebody more familiar with cmake and the xsdktrilinos package can figure out where the library list is coming from quicker than I can.
There's also a '-rdynamic' in there that I don't think will work.

[sarich@miralac1 example]$ /soft/compilers/wrappers/gcc/mpicxx    -pedantic -Wall -Wno-long-long -Wwrite-strings   -g -std=c++11 -std=c++11\
 -g -O0   CMakeFiles/xSDKTrilinos_PETSc_MueLu_example.dir/PETSc_MueLuEx.cpp.o  -o xSDKTrilinos_PETSc_MueLu_example.exe  -L/projects/OSCon/s\
arich/xsdkinstall/lib -rdynamic ../src/libxsdkpetsc.a /projects/OSCon/sarich/xsdkinstall/lib/libpike-blackbox.a /projects/OSCon/sarich/xsdk\
install/lib/libtrilinoscouplings.a /projects/OSCon/sarich/xsdkinstall/lib/libpanzer-disc-fe.a /projects/OSCon/sarich/xsdkinstall/lib/libpan\
zer-dof-mgr.a /projects/OSCon/sarich/xsdkinstall/lib/libpanzer-core.a /projects/OSCon/sarich/xsdkinstall/lib/libphalanx.a /projects/OSCon/s\
arich/xsdkinstall/lib/libintrepid2.a /projects/OSCon/sarich/xsdkinstall/lib/libpiro.a /projects/OSCon/sarich/xsdkinstall/lib/libstokhos_mue\
lu.a /projects/OSCon/sarich/xsdkinstall/lib/libstokhos_ifpack2.a /projects/OSCon/sarich/xsdkinstall/lib/libstokhos_amesos2.a /projects/OSCo\
n/sarich/xsdkinstall/lib/libstokhos_tpetra.a /projects/OSCon/sarich/xsdkinstall/lib/libstokhos_sacado.a /projects/OSCon/sarich/xsdkinstall/\
lib/libstokhos.a /projects/OSCon/sarich/xsdkinstall/lib/libmuelu-adapters.a /projects/OSCon/sarich/xsdkinstall/lib/libmuelu-interface.a /pr\
ojects/OSCon/sarich/xsdkinstall/lib/libmuelu.a /projects/OSCon/sarich/xsdkinstall/lib/liblocathyra.a /projects/OSCon/sarich/xsdkinstall/lib\
/liblocaepetra.a /projects/OSCon/sarich/xsdkinstall/lib/liblocalapack.a /projects/OSCon/sarich/xsdkinstall/lib/libloca.a /projects/OSCon/sa\
rich/xsdkinstall/lib/libnoxepetra.a /projects/OSCon/sarich/xsdkinstall/lib/libnoxlapack.a /projects/OSCon/sarich/xsdkinstall/lib/libnox.a /\
projects/OSCon/sarich/xsdkinstall/lib/libteko.a /projects/OSCon/sarich/xsdkinstall/lib/libanasazitpetra.a /projects/OSCon/sarich/xsdkinstal\
l/lib/libModeLaplace.a /projects/OSCon/sarich/xsdkinstall/lib/libanasaziepetra.a /projects/OSCon/sarich/xsdkinstall/lib/libanasazi.a /proje\
cts/OSCon/sarich/xsdkinstall/lib/libstratimikos.a /projects/OSCon/sarich/xsdkinstall/lib/libstratimikosbelos.a /projects/OSCon/sarich/xsdki\
nstall/lib/libstratimikosaztecoo.a /projects/OSCon/sarich/xsdkinstall/lib/libstratimikosamesos.a /projects/OSCon/sarich/xsdkinstall/lib/lib\
stratimikosml.a /projects/OSCon/sarich/xsdkinstall/lib/libstratimikosifpack.a /projects/OSCon/sarich/xsdkinstall/lib/libml.a /projects/OSCo\
n/sarich/xsdkinstall/lib/libgaleri-xpetra.a /projects/OSCon/sarich/xsdkinstall/lib/libgaleri-epetra.a /projects/OSCon/sarich/xsdkinstall/li\
b/libifpack2-adapters.a /projects/OSCon/sarich/xsdkinstall/lib/libifpack2.a /projects/OSCon/sarich/xsdkinstall/lib/librol.a /projects/OSCon\
/sarich/xsdkinstall/lib/libamesos2.a /projects/OSCon/sarich/xsdkinstall/lib/libintrepid.a /projects/OSCon/sarich/xsdkinstall/lib/libsacado.\
a /projects/OSCon/sarich/xsdkinstall/lib/libshards.a /projects/OSCon/sarich/xsdkinstall/lib/librythmos.a /projects/OSCon/sarich/xsdkinstall\
/lib/liboptipack.a /projects/OSCon/sarich/xsdkinstall/lib/libglobipack.a /projects/OSCon/sarich/xsdkinstall/lib/libshylu.a /projects/OSCon/\
sarich/xsdkinstall/lib/libbelostpetra.a /projects/OSCon/sarich/xsdkinstall/lib/libbelosepetra.a /projects/OSCon/sarich/xsdkinstall/lib/libb\
elos.a /projects/OSCon/sarich/xsdkinstall/lib/libifpack.a /projects/OSCon/sarich/xsdkinstall/lib/libzoltan2.a /projects/OSCon/sarich/xsdkin\
stall/lib/libxpetra-sup.a /projects/OSCon/sarich/xsdkinstall/lib/libxpetra.a /projects/OSCon/sarich/xsdkinstall/lib/libthyratpetra.a /proje\
cts/OSCon/sarich/xsdkinstall/lib/libthyraepetraext.a /projects/OSCon/sarich/xsdkinstall/lib/libthyraepetra.a /projects/OSCon/sarich/xsdkins\
tall/lib/libthyracore.a /projects/OSCon/sarich/xsdkinstall/lib/librtop.a /projects/OSCon/sarich/xsdkinstall/lib/libamesos.a /projects/OSCon\
/sarich/xsdkinstall/lib/libaztecoo.a /projects/OSCon/sarich/xsdkinstall/lib/libisorropia.a /projects/OSCon/sarich/xsdkinstall/lib/libepetra\
ext.a /projects/OSCon/sarich/xsdkinstall/lib/libtriutils.a /projects/OSCon/sarich/xsdkinstall/lib/libtpetraext.a /projects/OSCon/sarich/xsd\
kinstall/lib/libtpetrainout.a /projects/OSCon/sarich/xsdkinstall/lib/libtpetra.a /projects/OSCon/sarich/xsdkinstall/lib/libkokkostsqr.a /pr\
ojects/OSCon/sarich/xsdkinstall/lib/libtpetrakernels.a /projects/OSCon/sarich/xsdkinstall/lib/libkokkosalgorithms.a /projects/OSCon/sarich/\
xsdkinstall/lib/libkokkoscontainers.a /projects/OSCon/sarich/xsdkinstall/lib/libtpetraclassiclinalg.a /projects/OSCon/sarich/xsdkinstall/li\
b/libtpetraclassicnodeapi.a /projects/OSCon/sarich/xsdkinstall/lib/libtpetraclassic.a /projects/OSCon/sarich/xsdkinstall/lib/libepetra.a /p\
rojects/OSCon/sarich/xsdkinstall/lib/libteuchoskokkoscomm.a /projects/OSCon/sarich/xsdkinstall/lib/libteuchoskokkoscompat.a /projects/OSCon\
/sarich/xsdkinstall/lib/libteuchosremainder.a /projects/OSCon/sarich/xsdkinstall/lib/libteuchosnumerics.a /projects/OSCon/sarich/xsdkinstal\
l/lib/libteuchoscomm.a /projects/OSCon/sarich/xsdkinstall/lib/libteuchosparameterlist.a /projects/OSCon/sarich/xsdkinstall/lib/libteuchosco\
re.a /projects/OSCon/sarich/xsdkinstall/lib/libkokkoscore.a /projects/OSCon/sarich/xsdkinstall/lib/libzoltan.a -lm /projects/OSCon/sarich/x\
sdkinstall/lib/libpamgen_extras.a /projects/OSCon/sarich/xsdkinstall/lib/libpamgen.a -Wl,-rpath,/projects/OSCon/sarich/xsdkinstall/lib -L/p\
rojects/OSCon/sarich/xsdkinstall/lib -lHYPRE -L/bgsys/drivers/V1R2M2/ppc64/comm/lib -L/bgsys/drivers/V1R2M2/ppc64/comm/lib64 -L/bgsys/drive\
rs/V1R2M2/ppc64/spi/lib -L/bgsys/drivers/V1R2M2/ppc64/comm/sys/lib -L/soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4 -L/soft/co\
mpilers/gcc/4.8.4/lib/gcc -L/soft/compilers/gcc/4.8.4/powerpc64-bgq-linux/lib -lmpichcxx-gcc -L/soft/libraries/hdf5/1.8.14/cnk-gcc/V1R2M2-2\
0150515/lib -L/soft/libraries/alcf/current/xl/ZLIB/lib -lhdf5_hl -lhdf5 -lz -Wl,-rpath,/projects/OSCon/sarich/xsdkinstall/lib -L/projects/O\
SCon/sarich/xsdkinstall/lib -lflapack -Wl,-rpath,/projects/OSCon/sarich/xsdkinstall/lib -L/projects/OSCon/sarich/xsdkinstall/lib -lfblas -L\
/bgsys/drivers/V1R2M2/ppc64/comm/lib -L/bgsys/drivers/V1R2M2/ppc64/comm/lib64 -L/bgsys/drivers/V1R2M2/ppc64/spi/lib -L/bgsys/drivers/V1R2M2\
/ppc64/comm/sys/lib -L/soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4 -L/soft/compilers/gcc/4.8.4/lib/gcc -L/soft/compilers/gcc\
/4.8.4/powerpc64-bgq-linux/lib -lmpichf90-gcc -lgfortran -lm -lgfortran -lm -lm -Wl,-rpath,/projects/OSCon/sarich/xsdkinstall/lib -L/projec\
ts/OSCon/sarich/xsdkinstall/lib -lsuperlu_dist -Wl,-rpath,/projects/OSCon/sarich/xsdkinstall/lib -L/projects/OSCon/sarich/xsdkinstall/lib -\
lparmetis -Wl,-rpath,/projects/OSCon/sarich/xsdkinstall/lib -L/projects/OSCon/sarich/xsdkinstall/lib -lmetis -Wl,-rpath,/projects/OSCon/sar\
ich/xsdkinstall/lib -L/projects/OSCon/sarich/xsdkinstall/lib -lexoIIv2for -lexodus /projects/OSCon/sarich/xsdkinstall/lib/libpetsc.a -lmpic\
hf90-gcc -lgfortran -Wl,-rpath,/projects/OSCon/sarich/xsdkinstall/lib

failure on Apple with latest xcode.

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 preinstall
make[1]: Nothing to be done for `preinstall'.
Install the project...
/usr/local/Cellar/cmake/3.6.2/bin/cmake -P cmake_install.cmake
-- Install configuration: "DEBUG"
-- Installing: /Users/barrysmith/Src/petsc/arch-xsdk/include/xSDKTrilinos_version.h
-- Installing: /Users/barrysmith/Src/petsc/arch-xsdk/include/Makefile.export.xSDKTrilinos
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/include/Makefile.export.xSDKTrilinos
-- Installing: /Users/barrysmith/Src/petsc/arch-xsdk/lib/cmake/xSDKTrilinos/xSDKTrilinosConfigVersion.cmake
-- Installing: /Users/barrysmith/Src/petsc/arch-xsdk/lib/libxsdkpetsc.12.6.2.dylib
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/lib/libxsdkpetsc.12.dylib
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/lib/libxsdkpetsc.dylib
-- Installing: /Users/barrysmith/Src/petsc/arch-xsdk/include/xSDKTrilinos_config.hpp
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/include/BelosPETScSolMgr.hpp
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/include/Tpetra_PETScAIJGraph.hpp
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/include/Tpetra_PETScAIJMatrix.hpp
-- Installing: /Users/barrysmith/Src/petsc/arch-xsdk/lib/libxsdkhypre.12.6.2.dylib
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/lib/libxsdkhypre.12.dylib
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/lib/libxsdkhypre.dylib
-- Up-to-date: /Users/barrysmith/Src/petsc/arch-xsdk/include/Ifpack2_Hypre.hpp/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblast_lib.a(last_lib_dummy.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblast_lib.a(last_lib_dummy.c.o) has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: liblast_lib.a the table of contents is empty (no object file members in the library define global symbols)
In file included from /Users/barrysmith/Src/petsc/arch-xsdk/externalpackages/git.xsdktrilinos/petsc/example/PETSc_Amesos2Ex.cpp:60:
In file included from /Users/barrysmith/Src/petsc/arch-xsdk/include/Amesos2.hpp:45:
In file included from /Users/barrysmith/Src/petsc/arch-xsdk/include/Amesos2_Factory.hpp:102:
In file included from /Users/barrysmith/Src/petsc/arch-xsdk/include/Amesos2_Superludist.hpp:47:
In file included from /Users/barrysmith/Src/petsc/arch-xsdk/include/Amesos2_Superludist_decl.hpp:58:
/Users/barrysmith/Src/petsc/arch-xsdk/include/Amesos2_Superludist_FunctionMap.hpp:285:17: warning: comparison of constant 67 with expression of type 'SLUD::DiagScale_t' is always false [-Wtautological-constant-out-of-range-compare]
      char eq = AMESOS2_SLUD_GET_EQUED(*equed);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/barrysmith/Src/petsc/arch-xsdk/include/Amesos2_Superludist_FunctionMap.hpp:71:98: note: expanded from macro 'AMESOS2_SLUD_GET_EQUED'
#define AMESOS2_SLUD_GET_EQUED(ds) (((ds)==SLUD::NOEQUIL) ? 'N' : ((ds)==SLUD::ROW) ? 'R' : ((ds)=='C') ? SLUD::COL : SLUD::BOTH)
                                                                                             ~~~~^ ~~~
/Users/barrysmith/Src/petsc/arch-xsdk/include/Amesos2_Superludist_FunctionMap.hpp:306:17: warning: comparison of constant 67 with expression of type 'SLUD::DiagScale_t' is always false [-Wtautological-constant-out-of-range-compare]
      char eq = AMESOS2_SLUD_GET_EQUED(*equed);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/barrysmith/Src/petsc/arch-xsdk/include/Amesos2_Superludist_FunctionMap.hpp:71:98: note: expanded from macro 'AMESOS2_SLUD_GET_EQUED'
#define AMESOS2_SLUD_GET_EQUED(ds) (((ds)==SLUD::NOEQUIL) ? 'N' : ((ds)==SLUD::ROW) ? 'R' : ((ds)=='C') ? SLUD::COL : SLUD::BOTH)
                                                                                             ~~~~^ ~~~
2 warnings generated.
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /Users/barrysmith/Src/petsc/arch-xsdk/lib/libxsdkpetsc.12.6.2.dylib (for architecture x86_64) option "-add_rpath /Users/barrysmith/Src/petsc/arch-xsdk/lib" would duplicate path, file already has LC_RPATH for: /Users/barrysmith/Src/petsc/arch-xsdk/lib
********End of Output of running make on XSDKTRILINOS *******
                ===============================================================================
                    Testing xSDKTrilinos; this may take several minutes
                ===============================================================================

Executing: cd /Users/barrysmith/Src/petsc/arch-xsdk/externalpackages/git.xsdktrilinos/build && /usr/local/bin/ctest
stdout:
Test project /Users/barrysmith/Src/petsc/arch-xsdk/externalpackages/git.xsdktrilinos/build
      Start  1: xSDKTrilinos_PETScAIJMatrix
 1/10 Test  #1: xSDKTrilinos_PETScAIJMatrix ..........***Exception: Other  0.00 sec
      Start  2: xSDKTrilinos_PETSc_Amesos2_example
 2/10 Test  #2: xSDKTrilinos_PETSc_Amesos2_example ...***Exception: Other  0.00 sec
      Start  3: xSDKTrilinos_PETSc_Anasazi_example
 3/10 Test  #3: xSDKTrilinos_PETSc_Anasazi_example ...***Exception: Other  0.00 sec
      Start  4: xSDKTrilinos_PETSc_Ifpack2_example
 4/10 Test  #4: xSDKTrilinos_PETSc_Ifpack2_example ...***Exception: Other  0.00 sec
      Start  5: xSDKTrilinos_PETSc_MueLu_example
 5/10 Test  #5: xSDKTrilinos_PETSc_MueLu_example .....***Exception: Other  0.00 sec
      Start  6: xSDKTrilinos_example_TpetraKSP
 6/10 Test  #6: xSDKTrilinos_example_TpetraKSP .......***Exception: Other  0.00 sec
      Start  7: xSDKTrilinos_example_EpetraKSP
 7/10 Test  #7: xSDKTrilinos_example_EpetraKSP .......***Exception: Other  0.00 sec
      Start  8: xSDKTrilinos_HypreTest
 8/10 Test  #8: xSDKTrilinos_HypreTest ...............***Exception: Other  0.00 sec
      Start  9: xSDKTrilinos_Hypre_Belos_example
 9/10 Test  #9: xSDKTrilinos_Hypre_Belos_example .....***Exception: Other  0.00 sec
      Start 10: xSDKTrilinos_Hypre_Solve_example
10/10 Test #10: xSDKTrilinos_Hypre_Solve_example .....***Exception: Other  0.00 sec
0% tests passed, 10 tests failed out of 10
Label Time Summary:
xSDKTrilinos    =   0.02 sec (10 tests)
Total Test time (real) =   0.03 sec
The following tests FAILED:
      1 - xSDKTrilinos_PETScAIJMatrix (OTHER_FAULT)
      2 - xSDKTrilinos_PETSc_Amesos2_example (OTHER_FAULT)
      3 - xSDKTrilinos_PETSc_Anasazi_example (OTHER_FAULT)
      4 - xSDKTrilinos_PETSc_Ifpack2_example (OTHER_FAULT)
      5 - xSDKTrilinos_PETSc_MueLu_example (OTHER_FAULT)
      6 - xSDKTrilinos_example_TpetraKSP (OTHER_FAULT)
      7 - xSDKTrilinos_example_EpetraKSP (OTHER_FAULT)
      8 - xSDKTrilinos_HypreTest (OTHER_FAULT)
      9 - xSDKTrilinos_Hypre_Belos_example (OTHER_FAULT)
     10 - xSDKTrilinos_Hypre_Solve_example (OTHER_FAULT)
**** Configure header /var/folders/c1/ldz_dt8n2r3dtwv_chp5pfr40000gn/T/petsc-vz4kpx/confdefs.h ****

Looks like some Cmaky type thing might need to be updated in the install process

xsdkhypre nightly build failure

Here is what I am seeing:

[ 33%] Built target xsdkhypre
gmake[1]: Leaving directory `/jenkins/slave/workspace/Trilinos_xSDK_devel/installxSDK/xsdk/arch-linux2-c-debug/git.xsdktrilinos/build'In file included from /jenkins/slave/workspace/Trilinos_xSDK_devel/installxSDK/xsdk/arch-linux2-c-debug/git.xsdktrilinos/petsc/src/Tpetra_PETScAIJGraph.cpp:44:0:
/jenkins/slave/workspace/Trilinos_xSDK_devel/installxSDK/xsdk/arch-linux2-c-debug/git.xsdktrilinos/petsc/src/Tpetra_PETScAIJGraph.hpp:106:3: error: ‘RCP’ does not name a type
RCP getComm() const {return comm_;};
^
/jenkins/slave/workspace/Trilinos_xSDK_devel/installxSDK/xsdk/arch-linux2-c-debug/git.xsdktrilinos/petsc/src/Tpetra_PETScAIJGraph.hpp:109:3: error: ‘RCP’ does not name a type
RCP getNode() const { return rowMap_->getNode(); };
^
/jenkins/slave/workspace/Trilinos_xSDK_devel/installxSDK/xsdk/arch-linux2-c-debug/git.xsdktrilinos/petsc/src/Tpetra_PETScAIJGraph.hpp:112:3: error: ‘RCP’ does not name a type
RCP<const Map<LO,GO,Node> > getRowMap() const { return rowMap_; };
^
/jenkins/slave/workspace/Trilinos_xSDK_devel/installxSDK/xsdk/arch-linux2-c-debug/git.xsdktrilinos/petsc/src/Tpetra_PETScAIJGraph.hpp:115:3: error: ‘RCP’ does not name a type
RCP<const Map<LO,GO,Node> > getColMap() const { return colMap_; };

Here are the build arguments:

sh ./installxSDK.sh --prefix=${WORKSPACE}/INSTALL_xSDK --download-trilinos-commit=origin/master --download-superlu_dist-commit=origin/master --download-hypre-commit=origin/master --download-petsc-commit=origin/master --download-alquimia-commit=origin/master

test failure with clang on linux with static build.

I see a test failure with static build when using clang on fedora 23

$ uname -a
Linux asterix 4.4.8-300.fc23.x86_64 #1 SMP Wed Apr 20 16:59:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ clang --version
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix
Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions CC=clang CXX=clang++ --with-debugging=1 --download-hypre=1 --download-metis=1 --download-parmetis=1 --download-superlu_dist=1 --download-trilinos=1 --download-mpich=1 --with-clanguage=C++ --with-cxx-dialect=C++11 --download-sowing=1 --download-hdf5=1 --download-netcdf=1 --download-xsdktrilinos=1 --with-shared-libraries=0 PETSC_ARCH=arch-linux-xsdk-dbg

Error running ctest on xSDKTrilinos: Could not execute "cd /home/balay/petsc/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/build &&
/usr/bin/ctest":
Test project /home/balay/petsc/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/build
      Start  1: xSDKTrilinos_PETScAIJMatrix
 1/10 Test  #1: xSDKTrilinos_PETScAIJMatrix ..........   Passed    0.08 sec
      Start  2: xSDKTrilinos_PETSc_Amesos2_example
 2/10 Test  #2: xSDKTrilinos_PETSc_Amesos2_example ...   Passed    0.10 sec
      Start  3: xSDKTrilinos_PETSc_Anasazi_example
 3/10 Test  #3: xSDKTrilinos_PETSc_Anasazi_example ...   Passed    1.97 sec
      Start  4: xSDKTrilinos_PETSc_Ifpack2_example
 4/10 Test  #4: xSDKTrilinos_PETSc_Ifpack2_example ...   Passed    0.03 sec
      Start  5: xSDKTrilinos_PETSc_MueLu_example
 5/10 Test  #5: xSDKTrilinos_PETSc_MueLu_example .....***Exception: SegFault  0.29 sec
      Start  6: xSDKTrilinos_example_TpetraKSP
 6/10 Test  #6: xSDKTrilinos_example_TpetraKSP .......***Exception: SegFault  0.10 sec
      Start  7: xSDKTrilinos_example_EpetraKSP
 7/10 Test  #7: xSDKTrilinos_example_EpetraKSP .......***Exception: SegFault  0.06 sec
      Start  8: xSDKTrilinos_HypreTest
 8/10 Test  #8: xSDKTrilinos_HypreTest ...............   Passed    0.03 sec
      Start  9: xSDKTrilinos_Hypre_Belos_example
 9/10 Test  #9: xSDKTrilinos_Hypre_Belos_example .....***Exception: SegFault  0.07 sec
      Start 10: xSDKTrilinos_Hypre_Solve_example
10/10 Test #10: xSDKTrilinos_Hypre_Solve_example .....   Passed    0.02 sec
60% tests passed, 4 tests failed out of 10
Label Time Summary:
xSDKTrilinos    =   2.77 sec (10 tests)
Total Test time (real) =   2.78 sec
The following tests FAILED:
      5 - xSDKTrilinos_PETSc_MueLu_example (SEGFAULT)
        6 - xSDKTrilinos_example_TpetraKSP (SEGFAULT)
          7 - xSDKTrilinos_example_EpetraKSP (SEGFAULT)
            9 - xSDKTrilinos_Hypre_Belos_example (SEGFAULT)Errors while running CTest

ok - run one of the tests manually, with valgrind, debugger

balay@asterix /home/balay/petsc/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/build/petsc/example ((trilinos-release-12-6-2))
$ valgrind --tool=memcheck -q ./xSDKTrilinos_PETSc_MueLu_example.exe
==8071== Invalid read of size 8
==8071==    at 0x1DEEB11: Teuchos::GetBaseObjVoidPtrImpl<true, std::ostream>::getBaseObjVoidPtr(std::ostream*) (Teuchos_getBaseObjVoidPtr.hpp:73)
==8071==    by 0x1DEEAE8: void const* Teuchos::getBaseObjVoidPtr<std::ostream>(std::ostream*) (Teuchos_getBaseObjVoidPtr.hpp:113)
==8071==    by 0x1DEEAC4: void const* Teuchos::RCPNodeTracer::getRCPNodeBaseObjMapKeyVoidPtr<std::ostream>(std::ostream*) (Teuchos_RCPNode.hpp:435)
==8071==    by 0x1DEE2C4: Teuchos::RCPNode* Teuchos::RCPNodeTracer::getExistingRCPNode<std::ostream>(std::ostream*) (Teuchos_RCPNode.hpp:464)
==8071==    by 0x1DEE068: Teuchos::RCP<std::ostream>::RCP(std::ostream*, bool) (Teuchos_RCP.hpp:202)
==8071==    by 0x1D154BA: Teuchos::RCP<std::ostream> Teuchos::rcp<std::ostream>(std::ostream*, bool) (Teuchos_RCP.hpp:574)
==8071==    by 0x1CEE100: __cxx_global_var_init.21 (BelosPseudoBlockCGSolMgr.hpp:392)
==8071==    by 0x67623CC: __libc_csu_init (in /home/balay/petsc/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/build/petsc/example/xSDKTrilinos_PETSc_MueLu_example.exe)
==8071==    by 0xB4E550E: (below main) (in /usr/lib64/libc-2.22.so)
==8071==  Address 0xfffffffffffffff0 is not stack'd, malloc'd or (recently) free'd
==8071== 
==8071== 
==8071== Process terminating with default action of signal 11 (SIGSEGV)
==8071==  Access not within mapped region at address 0xFFFFFFFFFFFFFFF0
==8071==    at 0x1DEEB11: Teuchos::GetBaseObjVoidPtrImpl<true, std::ostream>::getBaseObjVoidPtr(std::ostream*) (Teuchos_getBaseObjVoidPtr.hpp:73)
==8071==    by 0x1DEEAE8: void const* Teuchos::getBaseObjVoidPtr<std::ostream>(std::ostream*) (Teuchos_getBaseObjVoidPtr.hpp:113)
==8071==    by 0x1DEEAC4: void const* Teuchos::RCPNodeTracer::getRCPNodeBaseObjMapKeyVoidPtr<std::ostream>(std::ostream*) (Teuchos_RCPNode.hpp:435)
==8071==    by 0x1DEE2C4: Teuchos::RCPNode* Teuchos::RCPNodeTracer::getExistingRCPNode<std::ostream>(std::ostream*) (Teuchos_RCPNode.hpp:464)
==8071==    by 0x1DEE068: Teuchos::RCP<std::ostream>::RCP(std::ostream*, bool) (Teuchos_RCP.hpp:202)
==8071==    by 0x1D154BA: Teuchos::RCP<std::ostream> Teuchos::rcp<std::ostream>(std::ostream*, bool) (Teuchos_RCP.hpp:574)
==8071==    by 0x1CEE100: __cxx_global_var_init.21 (BelosPseudoBlockCGSolMgr.hpp:392)
==8071==    by 0x67623CC: __libc_csu_init (in /home/balay/petsc/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/build/petsc/example/xSDKTrilinos_PETSc_MueLu_example.exe)
==8071==    by 0xB4E550E: (below main) (in /usr/lib64/libc-2.22.so)
==8071==  If you believe this happened as a result of a stack
==8071==  overflow in your program's main thread (unlikely but
==8071==  possible), you can try to increase the size of the
==8071==  main thread stack using the --main-stacksize= flag.
==8071==  The main thread stack size used in this run was 8388608.
Segmentation fault (core dumped)
balay@asterix /home/balay/petsc/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/build/petsc/example ((trilinos-release-12-6-2))
$ gdb xSDKTrilinos_PETSc_MueLu_example.exe
GNU gdb (GDB) Fedora 7.10.1-31.fc23
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from xSDKTrilinos_PETSc_MueLu_example.exe...done.
(gdb) r
Starting program: /home/balay/petsc/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/build/petsc/example/xSDKTrilinos_PETSc_MueLu_example.exe 
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.22-11.fc23.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000000001deeb11 in Teuchos::GetBaseObjVoidPtrImpl<true, std::ostream>::getBaseObjVoidPtr (p=0x8118640 <std::cout@@GLIBCXX_3.4>)
    at /home/balay/petsc/arch-linux-xsdk-dbg/include/Teuchos_getBaseObjVoidPtr.hpp:73
73        return dynamic_cast<const void*>(p);
Missing separate debuginfos, use: dnf debuginfo-install blas-3.5.0-12.fc23.x86_64 lapack-3.5.0-12.fc23.x86_64 libgcc-5.3.1-6.fc23.x86_64 libgfortran-5.3.1-6.fc23.x86_64 libquadmath-5.3.1-6.fc23.x86_64
libstdc++-5.3.1-6.fc23.x86_64 libX11-1.6.3-2.fc23.x86_64 libXau-1.0.8-5.fc23.x86_64 libxcb-1.11.1-1.fc23.x86_64 zlib-1.2.8-9.fc23.x86_64
(gdb) where
#0  0x0000000001deeb11 in Teuchos::GetBaseObjVoidPtrImpl<true, std::ostream>::getBaseObjVoidPtr (p=0x8118640 <std::cout@@GLIBCXX_3.4>)
    at /home/balay/petsc/arch-linux-xsdk-dbg/include/Teuchos_getBaseObjVoidPtr.hpp:73
#1  0x0000000001deeae9 in Teuchos::getBaseObjVoidPtr<std::ostream> (p=0x8118640 <std::cout@@GLIBCXX_3.4>)
    at /home/balay/petsc/arch-linux-xsdk-dbg/include/Teuchos_getBaseObjVoidPtr.hpp:113
#2  0x0000000001deeac5 in Teuchos::RCPNodeTracer::getRCPNodeBaseObjMapKeyVoidPtr<std::ostream> (p=0x8118640 <std::cout@@GLIBCXX_3.4>)
    at /home/balay/petsc/arch-linux-xsdk-dbg/include/Teuchos_RCPNode.hpp:435
#3  0x0000000001dee2c5 in Teuchos::RCPNodeTracer::getExistingRCPNode<std::ostream> (p=0x8118640 <std::cout@@GLIBCXX_3.4>)
    at /home/balay/petsc/arch-linux-xsdk-dbg/include/Teuchos_RCPNode.hpp:464
#4  0x0000000001dee069 in Teuchos::RCP<std::ostream>::RCP (
    this=0x8118e88 <Belos::PseudoBlockCGSolMgr<double, Tpetra::MultiVector<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, Tpetra::Operator<double, int,
int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, true>::outputStream_default_>, 
    p=0x8118640 <std::cout@@GLIBCXX_3.4>, has_ownership_in=false) at /home/balay/petsc/arch-linux-xsdk-dbg/include/Teuchos_RCP.hpp:202
#5  0x0000000001d154bb in Teuchos::rcp<std::ostream> (p=0x8118640 <std::cout@@GLIBCXX_3.4>, owns_mem=false)
    at /home/balay/petsc/arch-linux-xsdk-dbg/include/Teuchos_RCP.hpp:574
#6  0x0000000001cee101 in __cxx_global_var_init.21(void) () at /home/balay/petsc/arch-linux-xsdk-dbg/include/BelosPseudoBlockCGSolMgr.hpp:392
#7  0x00000000067623cd in __libc_csu_init ()
#8  0x00007ffff56c650f in __libc_start_main () from /lib64/libc.so.6
#9  0x0000000001d079d9 in _start () at /home/balay/petsc/arch-linux-xsdk-dbg/include/BelosPseudoBlockCGSolMgr.hpp:389
(gdb) 

However sharedlibrary build is valgrind clean

balay@asterix /home/balay/petsc/arch-linux-xsdk-dbg-so/externalpackages/git.xsdktrilinos/build/petsc/example ((9fc43b7...))
$ valgrind --tool=memcheck -q ./xSDKTrilinos_PETSc_MueLu_example.exe

Belos::StatusTestGeneralOutput: Passed
  (Num calls,Mod test,State test): (7, 1, Passed)
   Passed.......OR Combination -> 
     OK...........Number of Iterations = 6 < 200
     Converged....(2-Norm Imp Res Vec) / (2-Norm Res0)
                  residual [ 0 ] = 2.17253e-09 < 1e-08

Passed.......OR Combination -> 
  OK...........Number of Iterations = 6 < 200
  Converged....(2-Norm Imp Res Vec) / (2-Norm Res0)
               residual [ 0 ] = 2.17253e-09 < 1e-08

Belos relative residual: 2.17253e-09
Belos error: 3.00004e-07
  0 KSP Residual norm 2.617720319013e+01 
  1 KSP Residual norm 1.773962771700e+00 
  2 KSP Residual norm 8.104695442687e-02 
  3 KSP Residual norm 3.786203232774e-03 
  4 KSP Residual norm 1.660215537286e-04 
  5 KSP Residual norm 6.105067883957e-06 
  6 KSP Residual norm 2.559382328753e-07 
KSP relative residual: 2.17253e-09
balay@asterix /home/balay/petsc/arch-linux-xsdk-dbg-so/externalpackages/git.xsdktrilinos/build/petsc/example ((9fc43b7...))
$

@BarrySmith @sarich @amklinv

Failed building of examples on Apple with clang compilers

ftp://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2016/04/18/configure_next_arch-osx-xsdk-opt_ipro.log

--with-debugging=0 --download-hypre=1 --download-metis=1 --download-parmetis=1 --download-superlu_dist=1 --download-trilinos=1 --download-xsdktrilinos=1 --download-mpich=1 --with-clanguage=C++ --with-cxx-dialect=C++11 --download-sowing=1 --with-boost-dir=/usr/local --download-cmake=1 --with-no-output -PETSC_ARCH=arch-osx-xsdk-opt -PETSC_DIR=/Users/petsc/petsc.clone-4 --download-hdf5 --download-netcdf --download-exodusii

In file included from /Users/petsc/petsc.clone-4/arch-osx-xsdk-opt/externalpackages/git.xsdktrilinos/petsc/src/BelosPETScSolMgr.cpp:44:
/Users/petsc/petsc.clone-4/arch-osx-xsdk-opt/externalpackages/git.xsdktrilinos/petsc/src/BelosPETScSolMgr.hpp:176:34: error: allocation of incomplete type 'Epetra_Vector'
{ trilinosX = Teuchos::rcp(new Epetra_Vector(View,helper.Map(),x)); }
^~~~~~~~~~~~~
/Users/petsc/petsc.clone-4/arch-osx-xsdk-opt/include/Epetra_MultiVector.h:53:7: note: forward declaration of 'Epetra_Vector'
class Epetra_Vector;
^
1 error generated.
make[2]: *** [petsc/src/CMakeFiles/xsdkpetsc.dir/BelosPETScSolMgr.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [petsc/src/CMakeFiles/xsdkpetsc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

I think there is a bug in your code but that the Gnu compilers work anyways while clang is more picky and thus generates the error. Usually "allocation of incomplete type" means that you have not included the right include file needed by C++ that defines the classes "guts" so the compiler does not have enough information to actually create the object.

Compile issues with latest Trilinos

Attempting to build petsc with latest trilinos and latest xsdktrilinos - i get errors:

In file included from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/src/BelosPETScSolMgr.cpp:44:0:
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/src/BelosPETScSolMgr.hpp:119:149: error: wrong number of template arguments (5, should be 4)
   typedef Tpetra::Vector<ScalarType,typename OP::local_ordinal_type,typename OP::global_ordinal_type, typename OP::node_type, OP::node_type::classic> Vector;
                                                                                                                                                     ^
In file included from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Tpetra_MultiVector.hpp:1:0,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/src/BelosPETScSolMgr.hpp:65,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/src/BelosPETScSolMgr.cpp:44:
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Tpetra_MultiVector_decl.hpp:72:56: error: provided for ‘template<class S, class LO, class GO, class N> class Tpetra::Vector’
   template<class S, class LO, class GO, class N> class Vector;
                                                        ^
make[2]: *** [petsc/src/CMakeFiles/xsdkpetsc.dir/BelosPETScSolMgr.cpp.o] Error 1

Perhaps the following fix?

diff --git a/petsc/src/BelosPETScSolMgr.hpp b/petsc/src/BelosPETScSolMgr.hpp
index 88df545..757dabe 100644
--- a/petsc/src/BelosPETScSolMgr.hpp
+++ b/petsc/src/BelosPETScSolMgr.hpp
@@ -116,7 +116,7 @@ template<class ScalarType, class OP>
 class PETScSolMgrHelper<ScalarType,Tpetra::MultiVector<ScalarType,typename OP::local_ordinal_type,typename OP::global_ordinal_type>,OP> {
 private:
   typedef Tpetra::MultiVector<ScalarType,typename OP::local_ordinal_type,typename OP::global_ordinal_type> MV;
-  typedef Tpetra::Vector<ScalarType,typename OP::local_ordinal_type,typename OP::global_ordinal_type, typename OP::node_type, OP::node_type::classic> Vector;
+  typedef Tpetra::Vector<ScalarType,typename OP::local_ordinal_type,typename OP::global_ordinal_type, typename OP::node_type> Vector;
 
 public:
   static void getData(const MV& x, const int i, const ScalarType* &rawData)

But then I get:

/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp:87:18: error: ‘Teuchos::TypeTraits’ has not been declared
   using Teuchos::TypeTraits::is_same;
                  ^
In file included from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_LocalTestingHelpers.hpp:56:0,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_UnitTestHarness.hpp:54,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp:45:
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp: In member function ‘void {anonymous}::PETScAIJMatrix_Typedefs_UnitTest<GO, Node>::runUnitTestImpl(Teuchos::FancyOStream&, bool&) const’:
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp:800:27: error: ‘is_same’ was not declared in this scope
     TEST_EQUALITY_CONST( (is_same< scalar_type         , Scalar >::value) == true, true );
                           ^
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_TestingHelpers.hpp:252:42: note: in definition of macro ‘TEUCHOS_TEST_EQUALITY_CONST’
     (out) << #v1" = "<<Teuchos::toString(v1)<<" == "<<Teuchos::toString(v2)<<" : "; \
                                          ^
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp:800:5: note: in expansion of macro ‘TEST_EQUALITY_CONST’
     TEST_EQUALITY_CONST( (is_same< scalar_type         , Scalar >::value) == true, true );
     ^
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp:800:27: note: suggested alternatives:
     TEST_EQUALITY_CONST( (is_same< scalar_type         , Scalar >::value) == true, true );
                           ^
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_TestingHelpers.hpp:252:42: note: in definition of macro ‘TEUCHOS_TEST_EQUALITY_CONST’
     (out) << #v1" = "<<Teuchos::toString(v1)<<" == "<<Teuchos::toString(v2)<<" : "; \
                                          ^
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp:800:5: note: in expansion of macro ‘TEST_EQUALITY_CONST’
     TEST_EQUALITY_CONST( (is_same< scalar_type         , Scalar >::value) == true, true );
     ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/string:40,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_ConfigDefs.hpp:85,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_ConstTypeTraits.hpp:46,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_TypeNameTraits.hpp:50,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_TestForException.hpp:49,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_Assert.hpp:46,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_VerbosityLevel.hpp:51,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_Describable.hpp:45,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_ReductionOp.hpp:45,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_Comm.hpp:45,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Teuchos_CommHelpers.hpp:45,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp:44:
/usr/include/c++/4.8/type_traits:823:12: note:   ‘std::is_same’
     struct is_same;
            ^
In file included from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Kokkos_MemoryTraits.hpp:47:0,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Kokkos_HostSpace.hpp:54,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Kokkos_View.hpp:53,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Kokkos_Parallel.hpp:52,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Kokkos_Serial.hpp:55,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Kokkos_Core.hpp:53,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/KokkosCompat_ClassicNodeAPI_Wrapper.hpp:5,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/Tpetra_ConfigDefs.hpp:48,
                 from /sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/externalpackages/git.xsdktrilinos/petsc/test/PETScAIJMatrix_UnitTests.cpp:47:
/sandbox/petsc/petsc.next-tmp/arch-linux-xsdk-dbg/include/impl/Kokkos_Traits.hpp:166:38: note:   ‘Kokkos::Impl::is_same’
 template< class X , class Y > struct is_same : public false_type {};
                                      ^

etc..

Is it possible to make xsdktrilinos (master) compatible with trilinos (master/develop)?

cc: @BarrySmith

One test fails on Mac with static libraries

This same error occurs on the Mac with clang and gcc 5 compilers (using static libraries because we cannot yet build with shared libraries on mac, see previous issue.) Jason may also have reported this directly to Alicia

Error running ctest on xSDKTrilinos: Could not execute "cd /Users/petsc/petsc.test/arch-osx-xsdk-opt-gcc5/externalpackages/git.xsdktrilinos/build && /Users/petsc/petsc.test/arch-osx-xsdk-opt-gcc5/bin/ctest":
Test project /Users/petsc/petsc.test/arch-osx-xsdk-opt-gcc5/externalpackages/git.xsdktrilinos/build
Start 1: xSDKTrilinos_PETScAIJMatrix
1/10 Test #1: xSDKTrilinos_PETScAIJMatrix .......... Passed 0.02 sec
Start 2: xSDKTrilinos_PETSc_Amesos2_example
2/10 Test #2: xSDKTrilinos_PETSc_Amesos2_example ... Passed 0.02 sec
Start 3: xSDKTrilinos_PETSc_Anasazi_example
3/10 Test #3: xSDKTrilinos_PETSc_Anasazi_example ... Passed 0.16 sec
Start 4: xSDKTrilinos_PETSc_Ifpack2_example
4/10 Test #4: xSDKTrilinos_PETSc_Ifpack2_example ...***Failed 0.02 sec
Start 5: xSDKTrilinos_PETSc_MueLu_example
5/10 Test #5: xSDKTrilinos_PETSc_MueLu_example ..... Passed 0.05 sec
Start 6: xSDKTrilinos_example_TpetraKSP
6/10 Test #6: xSDKTrilinos_example_TpetraKSP ....... Passed 0.02 sec
Start 7: xSDKTrilinos_example_EpetraKSP
7/10 Test #7: xSDKTrilinos_example_EpetraKSP ....... Passed 0.01 sec
Start 8: xSDKTrilinos_HypreTest
8/10 Test #8: xSDKTrilinos_HypreTest ............... Passed 0.02 sec
Start 9: xSDKTrilinos_Hypre_Belos_example
9/10 Test #9: xSDKTrilinos_Hypre_Belos_example ..... Passed 0.02 sec
Start 10: xSDKTrilinos_Hypre_Solve_example
10/10 Test #10: xSDKTrilinos_Hypre_Solve_example ..... Passed 0.02 sec
90% tests passed, 1 tests failed out of 10
Label Time Summary:
xSDKTrilinos = 0.37 sec
Total Test time (real) = 0.39 sec
The following tests FAILED:
4 - xSDKTrilinos_PETSc_Ifpack2_example (Failed)Errors while running CTest
<<<<<<<<<<<<
@balay @sarich @satishbalay @jasonsarich

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.