Skip to content

Instantly share code, notes, and snippets.

@jenshnielsen
Created August 28, 2014 15:26
Show Gist options
  • Save jenshnielsen/c01189f2357611f99a26 to your computer and use it in GitHub Desktop.
Save jenshnielsen/c01189f2357611f99a26 to your computer and use it in GitHub Desktop.
message(STATUS "downloading...
src='http://trilinos.sandia.gov/download/files/trilinos-11.6.2-Source.tar.bz2'
dst='/Users/jhn/ucl/bempp/bempp/build/external/src/trilinos-11.6.2-Source.tar.bz2'
timeout='none'")
file(DOWNLOAD
"http://trilinos.sandia.gov/download/files/trilinos-11.6.2-Source.tar.bz2"
"/Users/jhn/ucl/bempp/bempp/build/external/src/trilinos-11.6.2-Source.tar.bz2"
SHOW_PROGRESS
EXPECTED_HASH;SHA256=c1f8c15f263161a8a2c1211b177122721cf268dd24d192925beb91cdf21ae6ba
# no TIMEOUT
STATUS status
LOG log)
list(GET status 0 status_code)
list(GET status 1 status_string)
if(NOT status_code EQUAL 0)
message(FATAL_ERROR "error: downloading 'http://trilinos.sandia.gov/download/files/trilinos-11.6.2-Source.tar.bz2' failed
status_code: ${status_code}
status_string: ${status_string}
log: ${log}
")
endif()
message(STATUS "downloading... done")
# Make file names absolute:
#
get_filename_component(filename "/Users/jhn/ucl/bempp/bempp/build/external/src/trilinos-11.6.2-Source.tar.bz2" ABSOLUTE)
get_filename_component(directory "/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos" ABSOLUTE)
message(STATUS "extracting...
src='${filename}'
dst='${directory}'")
if(NOT EXISTS "${filename}")
message(FATAL_ERROR "error: file to extract does not exist: '${filename}'")
endif()
# Prepare a space for extracting:
#
set(i 1234)
while(EXISTS "${directory}/../ex-Trilinos${i}")
math(EXPR i "${i} + 1")
endwhile()
set(ut_dir "${directory}/../ex-Trilinos${i}")
file(MAKE_DIRECTORY "${ut_dir}")
# Extract it:
#
message(STATUS "extracting... [tar xfz]")
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xfz ${filename}
WORKING_DIRECTORY ${ut_dir}
RESULT_VARIABLE rv)
if(NOT rv EQUAL 0)
message(STATUS "extracting... [error clean up]")
file(REMOVE_RECURSE "${ut_dir}")
message(FATAL_ERROR "error: extract of '${filename}' failed")
endif()
# Analyze what came out of the tar file:
#
message(STATUS "extracting... [analysis]")
file(GLOB contents "${ut_dir}/*")
list(LENGTH contents n)
if(NOT n EQUAL 1 OR NOT IS_DIRECTORY "${contents}")
set(contents "${ut_dir}")
endif()
# Move "the one" directory to the final directory:
#
message(STATUS "extracting... [rename]")
file(REMOVE_RECURSE ${directory})
get_filename_component(contents ${contents} ABSOLUTE)
file(RENAME ${contents} ${directory})
# Clean up:
#
message(STATUS "extracting... [clean up]")
file(REMOVE_RECURSE "${ut_dir}")
message(STATUS "extracting... done")
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_Util.cpp:497:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_Util.cpp:543:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_Util.cpp:587:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
3 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadMatrixMarket2Epetra.cpp:103:42: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %lg", &i, &j, &val ) ;
~~~~ ^~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadMatrixMarket2Epetra.cpp:182:10: note: in instantiation of function template specialization 'Trilinos_Util_ReadMatrixMarket2Epetra_internal<int>' requested here
return Trilinos_Util_ReadMatrixMarket2Epetra_internal<int>(data_file, comm, map, A, x, b, xexact);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadMatrixMarket2Epetra.cpp:103:46: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %lg", &i, &j, &val ) ;
~~~~ ^~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadMatrixMarket2Epetra.cpp:101:38: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %lg", &i, &j, &val ) ;
~~ ^~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadMatrixMarket2Epetra.cpp:196:10: note: in instantiation of function template specialization 'Trilinos_Util_ReadMatrixMarket2Epetra_internal<long long>' requested here
return Trilinos_Util_ReadMatrixMarket2Epetra_internal<long long>(data_file, comm, map, A, x, b, xexact);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadMatrixMarket2Epetra.cpp:101:42: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %lg", &i, &j, &val ) ;
~~ ^~
%lld
4 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountMatrixMarket.cpp:95:41: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %f", &i, &j, &val ) ;
~~~~ ^~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountMatrixMarket.cpp:136:3: note: in instantiation of function template specialization 'TTrilinos_Util_CountMatrixMarket<int>' requested here
TTrilinos_Util_CountMatrixMarket<int>(data_file, non_zeros, N_rows, nnz, comm);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountMatrixMarket.cpp:95:45: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %f", &i, &j, &val ) ;
~~~~ ^~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadTriples2Epetra.cpp:131:42: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %lg", &i, &j, &val ) ;
~~~~ ^~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadTriples2Epetra.cpp:211:10: note: in instantiation of function template specialization 'Trilinos_Util_ReadTriples2Epetra_internal<int>' requested here
return Trilinos_Util_ReadTriples2Epetra_internal<int>(data_file, symmetric, comm, map, A, x, b,
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadTriples2Epetra.cpp:131:46: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %lg", &i, &j, &val ) ;
~~~~ ^~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountMatrixMarket.cpp:93:37: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %f", &i, &j, &val ) ;
~~ ^~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountMatrixMarket.cpp:147:3: note: in instantiation of function template specialization 'TTrilinos_Util_CountMatrixMarket<long long>' requested here
TTrilinos_Util_CountMatrixMarket<long long>(data_file, non_zeros, N_rows, nnz, comm);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountMatrixMarket.cpp:93:41: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %f", &i, &j, &val ) ;
~~ ^~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadTriples2Epetra.cpp:129:38: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %lg", &i, &j, &val ) ;
~~ ^~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadTriples2Epetra.cpp:230:10: note: in instantiation of function template specialization 'Trilinos_Util_ReadTriples2Epetra_internal<long long>' requested here
return Trilinos_Util_ReadTriples2Epetra_internal<long long>(data_file, symmetric, comm, map, A, x, b,
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadTriples2Epetra.cpp:129:42: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %lg", &i, &j, &val ) ;
~~ ^~
%lld
4 warnings generated.
4 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:99:46: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %lld %d", &num_rows, &num_cols, &num_nz, &hdr_type ) ;
~~~~ ^~~~~~~~~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:188:3: note: in instantiation of function template specialization 'Trilinos_Util_CountTriples_internal<int>' requested here
Trilinos_Util_CountTriples_internal<int>(data_file, symmetric, non_zeros,
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:99:57: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %lld %d", &num_rows, &num_cols, &num_nz, &hdr_type ) ;
~~~~ ^~~~~~~~~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:99:68: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %lld %d", &num_rows, &num_cols, &num_nz, &hdr_type ) ;
~~~~ ^~~~~~~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:122:41: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %f", &i, &j, &val ) ;
~~~~ ^~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:122:45: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
sscanf( buffer, "%lld %lld %f", &i, &j, &val ) ;
~~~~ ^~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:164:8: warning: format specifies type 'long long' but the argument has type 'int' [-Wformat]
num_rows, N_rows );
^~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:164:18: warning: format specifies type 'long long' but the argument has type 'int' [-Wformat]
num_rows, N_rows );
^~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:97:40: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %d %d", &num_rows, &num_cols, &num_nz, &hdr_type ) ;
~~ ^~~~~~~~~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:203:3: note: in instantiation of function template specialization 'Trilinos_Util_CountTriples_internal<long long>' requested here
Trilinos_Util_CountTriples_internal<long long>(data_file, symmetric, non_zeros,
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:97:51: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %d %d", &num_rows, &num_cols, &num_nz, &hdr_type ) ;
~~ ^~~~~~~~~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:97:62: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %d %d", &num_rows, &num_cols, &num_nz, &hdr_type ) ;
~~ ^~~~~~~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:111:3: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat]
num_rows, num_cols ) ;
^~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:111:13: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat]
num_rows, num_cols ) ;
^~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:120:37: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %f", &i, &j, &val ) ;
~~ ^~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:120:41: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
sscanf( buffer, "%d %d %f", &i, &j, &val ) ;
~~ ^~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:161:8: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat]
num_rows, N_rows );
^~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:161:18: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat]
num_rows, N_rows );
^~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:170:8: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat]
num_nz, nnz );
^~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_CountTriples.cpp:170:16: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat]
num_nz, nnz );
^~~
18 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadHpc2Epetra.cpp:91:33: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
cnt = fscanf(in_file,"%lld",&numGlobalEquations);
~~~~ ^~~~~~~~~~~~~~~~~~~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadHpc2Epetra.cpp:215:3: note: in instantiation of function template specialization 'Trilinos_Util_ReadHpc2Epetra_internal<int>' requested here
Trilinos_Util_ReadHpc2Epetra_internal<int>(data_file, comm, map, A, x, b, xexact);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadHpc2Epetra.cpp:93:33: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
cnt = fscanf(in_file,"%lld",&total_nnz);
~~~~ ^~~~~~~~~~
%d
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadHpc2Epetra.cpp:85:31: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
cnt = fscanf(in_file,"%d",&numGlobalEquations);
~~ ^~~~~~~~~~~~~~~~~~~
%lld
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadHpc2Epetra.cpp:229:3: note: in instantiation of function template specialization 'Trilinos_Util_ReadHpc2Epetra_internal<long long>' requested here
Trilinos_Util_ReadHpc2Epetra_internal<long long>(data_file, comm, map, A, x, b, xexact);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/Trilinos_Util_ReadHpc2Epetra.cpp:87:31: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat]
cnt = fscanf(in_file,"%d",&total_nnz);
~~ ^~~~~~~~~~
%lld
4 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/iohb.cpp:822:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
if ( Ptrfmt == NULL ) Ptrfmt = "(8I10)";
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/iohb.cpp:835:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
if ( Valfmt == NULL ) Valfmt = "(4E20.13)";
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/iohb.cpp:1430:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
if ( Ptrfmt == NULL ) Ptrfmt = "(8I10)";
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/triutils/src/iohb.cpp:1439:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
if ( Valfmt == NULL ) Valfmt = "(4E20.13)";
^
4 warnings generated.
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/numerics/src/Teuchos_LAPACK.cpp:45:
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/numerics/src/Teuchos_LAPACK_wrappers.hpp:630:28: warning: 'clarnd_' has C-linkage specified, but returns user-defined type 'std::complex<float>' which is incompatible with C [-Wreturn-type-c-linkage]
std::complex<float> PREFIX CLARND_F77(const int* idist, int* seed);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/numerics/src/Teuchos_LAPACK_wrappers.hpp:325:21: note: expanded from macro 'CLARND_F77'
#define CLARND_F77 F77_BLAS_MANGLE(clarnd,CLARND)
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/teuchos/core/src/Teuchos_config.h:7:36: note: expanded from macro 'F77_BLAS_MANGLE'
#define F77_BLAS_MANGLE(name,NAME) name ## _
^
<scratch space>:10:1: note: expanded from here
clarnd_
^
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/numerics/src/Teuchos_LAPACK.cpp:45:
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/numerics/src/Teuchos_LAPACK_wrappers.hpp:631:29: warning: 'zlarnd_' has C-linkage specified, but returns user-defined type 'std::complex<double>' which is incompatible with C [-Wreturn-type-c-linkage]
std::complex<double> PREFIX ZLARND_F77(const int* idist, int* seed);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/numerics/src/Teuchos_LAPACK_wrappers.hpp:193:21: note: expanded from macro 'ZLARND_F77'
#define ZLARND_F77 F77_BLAS_MANGLE(zlarnd,ZLARND)
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/teuchos/core/src/Teuchos_config.h:7:36: note: expanded from macro 'F77_BLAS_MANGLE'
#define F77_BLAS_MANGLE(name,NAME) name ## _
^
<scratch space>:10:1: note: expanded from here
zlarnd_
^
2 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/EpetraExt_ProductOperator.cpp:266:5: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& range_vecs_.size()==0
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/EpetraExt_ProductOperator.cpp:266:5: note: place parentheses around the '&&' expression to silence this warning
&& range_vecs_.size()==0
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/EpetraExt_ProductOperator.cpp:292:8: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& domain_vecs_.size()==0
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/EpetraExt_ProductOperator.cpp:292:8: note: place parentheses around the '&&' expression to silence this warning
&& domain_vecs_.size()==0
^
2 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_domain_decomp.c:513:7: warning: implicit declaration of function 'az_fnroot_c' is invalid in C99 [-Wimplicit-function-declaration]
AZ_FNROOT_F77(&root,bindx2,&(bindx2[N+1]),mask, &nlvl,
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_aztec.h:609:42: note: expanded from macro 'AZ_FNROOT_F77'
# define AZ_FNROOT_F77 az_fnroot_c
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_domain_decomp.c:515:7: warning: implicit declaration of function 'az_rcm_c' is invalid in C99 [-Wimplicit-function-declaration]
AZ_RCM_F77(&root,bindx2,&(bindx2[N+1]),mask,&((*ordering)[total]),
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_aztec.h:611:42: note: expanded from macro 'AZ_RCM_F77'
# define AZ_RCM_F77 az_rcm_c
^
2 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_gmres.c:426:9: warning: implicit declaration of function 'az_dlaic1_c' is invalid in C99 [-Wimplicit-function-declaration]
AZ_DLAIC1_F77(&ijob, &i, svbig, &big, vectmp, &vectmp[i], &sestpr, &ss, &cc);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_aztec.h:629:24: note: expanded from macro 'AZ_DLAIC1_F77'
#define AZ_DLAIC1_F77 az_dlaic1_c
^
1 warning generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_gmres_condnum.c:422:9: warning: implicit declaration of function 'az_dlaic1_c' is invalid in C99 [-Wimplicit-function-declaration]
AZ_DLAIC1_F77(&ijob, &i, svbig, &big, vectmp, &vectmp[i], &sestpr, &ss, &cc);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_aztec.h:629:24: note: expanded from macro 'AZ_DLAIC1_F77'
#define AZ_DLAIC1_F77 az_dlaic1_c
^
1 warning generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:552:11: warning: implicit declaration of function 'az_dlaswp_c' is invalid in C99 [-Wimplicit-function-declaration]
AZ_DLASWP_F77( &ione, &(b[rpntr[iblk_row]]), &m1, &ione, &m1, &(ipiv[rpntr[iblk_row]]), &iminus_one );
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_aztec.h:628:24: note: expanded from macro 'AZ_DLASWP_F77'
#define AZ_DLASWP_F77 az_dlaswp_c
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1379:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ( (action == AZ_SCALE_RHS) ) {
~~~~~~~^~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1379:16: note: remove extraneous parentheses around the comparison to silence this warning
if ( (action == AZ_SCALE_RHS) ) {
~ ^ ~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1379:16: note: use '=' to turn this equality comparison into an assignment
if ( (action == AZ_SCALE_RHS) ) {
^~
=
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1629:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ( (action == AZ_SCALE_RHS) ) {
~~~~~~~^~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1629:16: note: remove extraneous parentheses around the comparison to silence this warning
if ( (action == AZ_SCALE_RHS) ) {
~ ^ ~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1629:16: note: use '=' to turn this equality comparison into an assignment
if ( (action == AZ_SCALE_RHS) ) {
^~
=
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1937:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ( (action == AZ_SCALE_RHS) ) {
~~~~~~~^~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1937:16: note: remove extraneous parentheses around the comparison to silence this warning
if ( (action == AZ_SCALE_RHS) ) {
~ ^ ~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_scaling.c:1937:16: note: use '=' to turn this equality comparison into an assignment
if ( (action == AZ_SCALE_RHS) ) {
^~
=
4 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_c_util.c:1148:9: warning: implicit declaration of function 'sswap_' is invalid in C99 [-Wimplicit-function-declaration]
SSWAP_F77(n, &a[i__ + a_dim1], lda, &a[ip + a_dim1], lda);
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/az_c_util.c:58:19: note: expanded from macro 'SSWAP_F77'
#define SSWAP_F77 F77_BLAS_MANGLE(sswap,SSWAP)
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/aztecoo/src/AztecOO_config.h:4:36: note: expanded from macro 'F77_BLAS_MANGLE'
#define F77_BLAS_MANGLE(name,NAME) name ## _
^
<scratch space>:10:1: note: expanded from here
sswap_
^
1 warning generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:561:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[0] = MM_MTX_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:153:21: note: expanded from macro 'MM_MTX_STR'
#define MM_MTX_STR "matrix"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:567:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[1] = MM_SPARSE_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:157:23: note: expanded from macro 'MM_SPARSE_STR'
#define MM_SPARSE_STR "coordinate"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:570:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[1] = MM_DENSE_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:155:22: note: expanded from macro 'MM_DENSE_STR'
#define MM_DENSE_STR "array"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:576:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[2] = MM_REAL_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:159:22: note: expanded from macro 'MM_REAL_STR'
#define MM_REAL_STR "real"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:579:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[2] = MM_COMPLEX_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:158:24: note: expanded from macro 'MM_COMPLEX_STR'
#define MM_COMPLEX_STR "complex"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:582:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[2] = MM_PATTERN_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:165:25: note: expanded from macro 'MM_PATTERN_STR'
#define MM_PATTERN_STR "pattern"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:585:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[2] = MM_INT_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:160:21: note: expanded from macro 'MM_INT_STR'
#define MM_INT_STR "integer"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:592:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[3] = MM_GENERAL_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:161:25: note: expanded from macro 'MM_GENERAL_STR'
#define MM_GENERAL_STR "general"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:595:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[3] = MM_SYMM_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:162:22: note: expanded from macro 'MM_SYMM_STR'
#define MM_SYMM_STR "symmetric"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:598:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[3] = MM_HERM_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:163:22: note: expanded from macro 'MM_HERM_STR'
#define MM_HERM_STR "hermitian"
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.cpp:601:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
types[3] = MM_SKEW_STR;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetraext/src/inout/EpetraExt_mmio.h:164:22: note: expanded from macro 'MM_SKEW_STR'
#define MM_SKEW_STR "skew-symmetric"
^
11 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:74:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (typeStr == "exact")
^ ~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:76:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (typeStr == "approx_deriv")
^ ~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:78:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (typeStr == "very_approx_deriv")
^ ~~~~~~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:113:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (typeStr == "exact")
^ ~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:115:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (typeStr == "approx_deriv")
^ ~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:117:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (typeStr == "very_approx_deriv")
^ ~~~~~~~~~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:216:17: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (linearity == "unknown")
^ ~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:218:17: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (linearity == "const")
^ ~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:220:17: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (linearity == "nonconst")
^ ~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:224:12: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (rank == "unknown")
^ ~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:226:12: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (rank == "full")
^ ~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:228:12: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (rank == "deficient")
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:264:17: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (linearity == "unknown")
^ ~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:266:17: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (linearity == "const")
^ ~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:268:17: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (linearity == "nonconst")
^ ~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:272:12: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (rank == "unknown")
^ ~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:274:12: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (rank == "full")
^ ~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:276:12: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (rank == "deficient")
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:312:17: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (linearity == "mv_by_col")
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_EpetraExt_Util.cpp:314:17: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
if (linearity == "trans_mv_by_row")
^ ~~~~~~~~~~~~~~~~~
20 warnings generated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/AztecOO.i:77: Warning 126: The 'nestedworkaround' feature is deprecated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/AztecOO.i:88: Warning 126: The 'nestedworkaround' feature is deprecated.
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/Teuchos_ParameterList.i:73: Warning 126: The 'nestedworkaround' feature is deprecated.
/usr/local/include/Teuchos_ParameterList.hpp:167: Warning 325: Nested class not currently supported (PrintOptions ignored)
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/Teuchos_ParameterList.i:73: Warning 126: The 'nestedworkaround' feature is deprecated.
/usr/local/include/Teuchos_ParameterList.hpp:167: Warning 325: Nested class not currently supported (PrintOptions ignored)
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/Teuchos_ParameterList.i:73: Warning 126: The 'nestedworkaround' feature is deprecated.
/usr/local/include/Teuchos_ParameterList.hpp:167: Warning 325: Nested class not currently supported (PrintOptions ignored)
/usr/local/include/AztecOO.h:611: Warning 325: Nested struct not currently supported (MatrixData ignored)
/usr/local/include/AztecOO.h:621: Warning 325: Nested struct not currently supported (OperatorData ignored)
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/anasazi/src/AnasaziBasicSort.hpp:141: Warning 325: Nested struct not currently supported (compMag ignored)
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/anasazi/src/AnasaziBasicSort.hpp:150: Warning 325: Nested struct not currently supported (compMag2 ignored)
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/anasazi/src/AnasaziBasicSort.hpp:158: Warning 325: Nested struct not currently supported (compAlg ignored)
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/anasazi/src/AnasaziBasicSort.hpp:164: Warning 325: Nested struct not currently supported (sel1st ignored)
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/anasazi/src/AnasaziBasicSort.hpp:170: Warning 325: Nested struct not currently supported (sel2nd ignored)
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AmesosPYTHON_wrap.cpp:10289:69: error: unknown type name 'Epetra_MpiComm'; did you mean 'Epetra_Comm'?
return (void *) new Teuchos::RCP< Epetra_Comm >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^~~~~~~~~~~~~~
Epetra_Comm
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/amesos/src/Amesos_BaseSolver.h:55:7: note: 'Epetra_Comm' declared here
class Epetra_Comm;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AmesosPYTHON_wrap.cpp:10575:71: error: unknown type name 'Epetra_MpiDistributor'; did you mean 'Epetra_Distributor'?
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^~~~~~~~~~~~~~~~~~~~~
Epetra_Distributor
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_Import.h:49:7: note: 'Epetra_Distributor' declared here
class Epetra_Distributor;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AmesosPYTHON_wrap.cpp:10599:71: error: unknown type name 'Epetra_MpiComm'; did you mean 'Epetra_Comm'?
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^~~~~~~~~~~~~~
Epetra_Comm
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/amesos/src/Amesos_BaseSolver.h:55:7: note: 'Epetra_Comm' declared here
class Epetra_Comm;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AmesosPYTHON_wrap.cpp:10812:76: error: unknown type name 'Epetra_MpiDistributor'; did you mean 'Epetra_Distributor'?
return (void *) new Teuchos::RCP< Epetra_Distributor >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^~~~~~~~~~~~~~~~~~~~~
Epetra_Distributor
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_Import.h:49:7: note: 'Epetra_Distributor' declared here
class Epetra_Distributor;
^
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AmesosPYTHON_wrap.cpp:3601:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.h:39:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterList.hpp:51:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterEntry.hpp:52:
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/core/src/Teuchos_RCP.hpp:288:5: error: cannot initialize a member subobject of type 'Epetra_Object *' with an rvalue of type 'Epetra_Distributor *'
: ptr_(r_ptr.get()), // will not compile if T is not base class of T2
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AmesosPYTHON_wrap.cpp:10575:25: note: in instantiation of function template specialization 'Teuchos::RCP<Epetra_Object>::RCP<Epetra_Distributor>' requested here
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AmesosPYTHON_wrap.cpp:3601:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.h:39:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterList.hpp:51:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterEntry.hpp:52:
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/core/src/Teuchos_RCP.hpp:288:5: error: cannot initialize a member subobject of type 'Epetra_Object *' with an rvalue of type 'Epetra_Comm *'
: ptr_(r_ptr.get()), // will not compile if T is not base class of T2
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AmesosPYTHON_wrap.cpp:10599:25: note: in instantiation of function template specialization 'Teuchos::RCP<Epetra_Object>::RCP<Epetra_Comm>' requested here
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^
6 errors generated.
make[5]: *** [packages/PyTrilinos/src/CMakeFiles/Amesos.dir/AmesosPYTHON_wrap.cpp.o] Error 1
make[4]: *** [packages/PyTrilinos/src/CMakeFiles/Amesos.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:5621:3: error: unknown type name 'string'; did you mean 'Teuchos::string'?
string result;
^~~~~~
Teuchos::string
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:189:65: note: 'Teuchos::string' declared here
typedef basic_string<char, char_traits<char>, allocator<char> > string;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:11405:69: error: unknown type name 'Epetra_MpiComm'; did you mean 'Epetra_Comm'?
return (void *) new Teuchos::RCP< Epetra_Comm >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^~~~~~~~~~~~~~
Epetra_Comm
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/AztecOO.h:50:7: note: 'Epetra_Comm' declared here
class Epetra_Comm;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:11768:71: error: unknown type name 'Epetra_MpiDistributor'; did you mean 'Epetra_Distributor'?
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^~~~~~~~~~~~~~~~~~~~~
Epetra_Distributor
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_SerialComm.h:54:7: note: 'Epetra_Distributor' declared here
class Epetra_Distributor;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:11792:71: error: unknown type name 'Epetra_MpiComm'; did you mean 'Epetra_Comm'?
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^~~~~~~~~~~~~~
Epetra_Comm
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/aztecoo/src/AztecOO.h:50:7: note: 'Epetra_Comm' declared here
class Epetra_Comm;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:11916:76: error: unknown type name 'Epetra_MpiDistributor'; did you mean 'Epetra_Distributor'?
return (void *) new Teuchos::RCP< Epetra_Distributor >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^~~~~~~~~~~~~~~~~~~~~
Epetra_Distributor
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_SerialComm.h:54:7: note: 'Epetra_Distributor' declared here
class Epetra_Distributor;
^
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:3589:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.h:39:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterList.hpp:51:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterEntry.hpp:52:
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/core/src/Teuchos_RCP.hpp:288:5: error: cannot initialize a member subobject of type 'Epetra_Object *' with an rvalue of type 'Epetra_Distributor *'
: ptr_(r_ptr.get()), // will not compile if T is not base class of T2
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:11768:25: note: in instantiation of function template specialization 'Teuchos::RCP<Epetra_Object>::RCP<Epetra_Distributor>' requested here
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:3589:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.h:39:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterList.hpp:51:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterEntry.hpp:52:
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/core/src/Teuchos_RCP.hpp:288:5: error: cannot initialize a member subobject of type 'Epetra_Object *' with an rvalue of type 'Epetra_Comm *'
: ptr_(r_ptr.get()), // will not compile if T is not base class of T2
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AztecOOPYTHON_wrap.cpp:11792:25: note: in instantiation of function template specialization 'Teuchos::RCP<Epetra_Object>::RCP<Epetra_Comm>' requested here
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^
7 errors generated.
make[5]: *** [packages/PyTrilinos/src/CMakeFiles/AztecOO.dir/AztecOOPYTHON_wrap.cpp.o] Error 1
make[4]: *** [packages/PyTrilinos/src/CMakeFiles/AztecOO.dir/all] Error 2
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:53346:42: error: unknown type name 'Epetra_MpiComm'; did you mean 'Epetra_Comm'?
return (void *)((Epetra_Object *) ((Epetra_MpiComm *) x));
^~~~~~~~~~~~~~
Epetra_Comm
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_RowMatrix.h:47:7: note: 'Epetra_Comm' declared here
class Epetra_Comm;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:53424:42: error: unknown type name 'Epetra_MpiDistributor'; did you mean 'Epetra_Distributor'?
return (void *)((Epetra_Object *) ((Epetra_MpiDistributor *) x));
^~~~~~~~~~~~~~~~~~~~~
Epetra_Distributor
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_OffsetIndex.h:52:7: note: 'Epetra_Distributor' declared here
class Epetra_Distributor;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:53742:71: error: unknown type name 'Epetra_MpiDistributor'; did you mean 'Epetra_Distributor'?
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^~~~~~~~~~~~~~~~~~~~~
Epetra_Distributor
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_OffsetIndex.h:52:7: note: 'Epetra_Distributor' declared here
class Epetra_Distributor;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:53766:71: error: unknown type name 'Epetra_MpiComm'; did you mean 'Epetra_Comm'?
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^~~~~~~~~~~~~~
Epetra_Comm
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_RowMatrix.h:47:7: note: 'Epetra_Comm' declared here
class Epetra_Comm;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:54134:76: error: unknown type name 'Epetra_MpiDistributor'; did you mean 'Epetra_Distributor'?
return (void *) new Teuchos::RCP< Epetra_Distributor >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^~~~~~~~~~~~~~~~~~~~~
Epetra_Distributor
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_OffsetIndex.h:52:7: note: 'Epetra_Distributor' declared here
class Epetra_Distributor;
^
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:54258:69: error: unknown type name 'Epetra_MpiComm'; did you mean 'Epetra_Comm'?
return (void *) new Teuchos::RCP< Epetra_Comm >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^~~~~~~~~~~~~~
Epetra_Comm
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/epetra/src/Epetra_RowMatrix.h:47:7: note: 'Epetra_Comm' declared here
class Epetra_Comm;
^
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:3722:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.h:39:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterList.hpp:51:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterEntry.hpp:52:
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/core/src/Teuchos_RCP.hpp:288:5: error: cannot initialize a member subobject of type 'Epetra_Object *' with an rvalue of type 'Epetra_Distributor *'
: ptr_(r_ptr.get()), // will not compile if T is not base class of T2
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:53742:25: note: in instantiation of function template specialization 'Teuchos::RCP<Epetra_Object>::RCP<Epetra_Distributor>' requested here
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiDistributor > *)x);
^
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:3722:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.h:39:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterList.hpp:51:
In file included from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterEntry.hpp:52:
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/packages/teuchos/core/src/Teuchos_RCP.hpp:288:5: error: cannot initialize a member subobject of type 'Epetra_Object *' with an rvalue of type 'Epetra_Comm *'
: ptr_(r_ptr.get()), // will not compile if T is not base class of T2
^ ~~~~~~~~~~~
/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build/packages/PyTrilinos/src/AnasaziPYTHON_wrap.cpp:53766:25: note: in instantiation of function template specialization 'Teuchos::RCP<Epetra_Object>::RCP<Epetra_Comm>' requested here
return (void *) new Teuchos::RCP< Epetra_Object >(*(Teuchos::RCP< Epetra_MpiComm > *)x);
^
8 errors generated.
make[5]: *** [packages/PyTrilinos/src/CMakeFiles/Anasazi.dir/AnasaziPYTHON_wrap.cpp.o] Error 1
make[4]: *** [packages/PyTrilinos/src/CMakeFiles/Anasazi.dir/all] Error 2
make[3]: *** [all] Error 2
set(command "${make}")
execute_process(
COMMAND ${command}
RESULT_VARIABLE result
OUTPUT_FILE "/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-build-out.log"
ERROR_FILE "/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-build-err.log"
)
if(result)
set(msg "Command failed: ${result}\n")
foreach(arg IN LISTS command)
set(msg "${msg} '${arg}'")
endforeach()
set(msg "${msg}\nSee also\n /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-build-*.log\n")
message(FATAL_ERROR "${msg}")
else()
set(msg "Trilinos build command succeeded. See also /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-build-*.log\n")
message(STATUS "${msg}")
endif()
loading initial cache file /Users/jhn/ucl/bempp/bempp/build/external/src/TrilinosVariables.cmake
Configuring Trilinos build directory
-- PROJECT_SOURCE_DIR='/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos'
-- PROJECT_BINARY_DIR='/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build'
-- CMAKE_VERSION = 3.0.1
-- PYTHON_EXECUTABLE='/usr/local/bin/python'
Setting up major user options ...
***
*** Warning: Setting Trilinos_ENABLE_ForTrilinos=OFF because Trilinos_ENABLE_Fortran=OFF!
***
-- Setting Trilinos_ENABLE_TriKota=OFF because '/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/./packages/TriKota/Dakota' does not exit!
Reading the list of packages from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/./PackagesList.cmake
-- Trilinos_NUM_PACKAGES='54'
Reading the list of TPLs from /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos/./TPLsList.cmake
-- Trilinos_NUM_TPLS='81'
Processing Project, Repository, and Package dependency files and building internal dependencies graph ...
-- Trilinos_NUM_SE_PACKAGES='111'
-- Tentatively enabling TPL 'Pthread'
Explicitly enabled packages on input (by user): Teuchos RTOp Epetra Tpetra EpetraExt Thyra AztecOO Amesos Belos Anasazi Stratimikos PyTrilinos 12
Explicitly enabled SE packages on input (by user): Teuchos RTOp Epetra Tpetra EpetraExt ThyraCore ThyraEpetraAdapters ThyraEpetraExtAdapters ThyraTpetraAdapters Thyra AztecOO Amesos Belos Anasazi Stratimikos PyTrilinos 16
Explicitly disabled packages on input (by user or by default): Trios ShyLU TriKota ForTrilinos 4
Explicitly disabled SE packages on input (by user or by default): KokkosCore KokkosCompat KokkosContainers KokkosLinAlg KokkosExample Trioscommsplitter Triossupport Triosnnti Triosnssi Triosprograms Triosexamples Triostests Triosnetcdf-service Trios ShyLU TriKota ForTrilinos 17
Explicitly enabled TPLs on input (by user): TBB Pthread BLAS LAPACK Boost 5
Explicitly disabled TPLs on input (by user or by default): MPI 1
Disabling all packages that have a required dependency on disabled TPLs and optional package TPL support based on TPL_ENABLE_<TPL>=OFF ...
Enabling or disabling subpackages for hard enables/disables of parent packages Trilinos_ENABLE_<PARENT_PACKAGE>=ON/OFF ...
-- Setting subpackage enable Trilinos_ENABLE_TeuchosCore=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosParameterList=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosComm=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosNumerics=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosRemainder=ON because parent package Trilinos_ENABLE_Teuchos=ON
Disabling forward required packages and optional intra-package support that have a dependancy on disabled packages Trilinos_ENABLE_<TRIBITS_PACKAGE>=OFF ...
-- Setting Tpetra_ENABLE_KokkosCore=OFF because Tpetra has an optional library dependence on disabled package KokkosCore
-- Setting Tpetra_ENABLE_KokkosCompat=OFF because Tpetra has an optional library dependence on disabled package KokkosCompat
-- Setting Tpetra_ENABLE_KokkosContainers=OFF because Tpetra has an optional library dependence on disabled package KokkosContainers
-- Setting Tpetra_ENABLE_KokkosLinAlg=OFF because Tpetra has an optional library dependence on disabled package KokkosLinAlg
Enabling all packages that are not disabled based on <TRIBITS_PACKAGE>_ENABLE_<DEPPACKAGE>=ON ...
Enabling all remaining required packages for the current set of enabled packages ...
-- Setting Trilinos_ENABLE_Triutils=ON because Trilinos_ENABLE_AztecOO=ON
-- Setting Trilinos_ENABLE_KokkosClassic=ON because Trilinos_ENABLE_Tpetra=ON
Enabling all optional intra-package enables <TRIBITS_PACKAGE>_ENABLE_<DEPPACKAGE> that are not currently disabled if both sets of packages are enabled ...
-- Setting Tpetra_ENABLE_Epetra=ON since Trilinos_ENABLE_Tpetra=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting EpetraExt_ENABLE_Triutils=ON since Trilinos_ENABLE_EpetraExt=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting ThyraTpetraAdapters_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_ThyraTpetraAdapters=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting Thyra_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_Thyra=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting Thyra_ENABLE_ThyraEpetraExtAdapters=ON since Trilinos_ENABLE_Thyra=ON AND Trilinos_ENABLE_ThyraEpetraExtAdapters=ON
-- Setting Thyra_ENABLE_ThyraTpetraAdapters=ON since Trilinos_ENABLE_Thyra=ON AND Trilinos_ENABLE_ThyraTpetraAdapters=ON
-- Setting AztecOO_ENABLE_Teuchos=ON since Trilinos_ENABLE_AztecOO=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting Amesos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Amesos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Amesos_ENABLE_Triutils=ON since Trilinos_ENABLE_Amesos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Belos_ENABLE_Epetra=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Belos_ENABLE_Tpetra=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Belos_ENABLE_Triutils=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Belos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Anasazi_ENABLE_Tpetra=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Anasazi_ENABLE_Epetra=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Anasazi_ENABLE_ThyraCore=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_ThyraCore=ON
-- Setting Anasazi_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting Anasazi_ENABLE_Triutils=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Anasazi_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Anasazi_ENABLE_Amesos=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Anasazi_ENABLE_AztecOO=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Anasazi_ENABLE_Belos=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Belos=ON
-- Setting Stratimikos_ENABLE_Amesos=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Stratimikos_ENABLE_AztecOO=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Stratimikos_ENABLE_Belos=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Belos=ON
-- Setting Stratimikos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Stratimikos_ENABLE_Triutils=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting PyTrilinos_ENABLE_Teuchos=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting PyTrilinos_ENABLE_Epetra=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting PyTrilinos_ENABLE_Triutils=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting PyTrilinos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting PyTrilinos_ENABLE_AztecOO=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting PyTrilinos_ENABLE_Amesos=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting PyTrilinos_ENABLE_Anasazi=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Anasazi=ON
Enabling all remaining required TPLs for current set of enabled packages ...
Enabling all optional package TPL support for currently enabled TPLs ...
-- Setting TeuchosCore_ENABLE_Boost=ON since TPL_ENABLE_Boost=ON
-- Setting KokkosClassic_ENABLE_TBB=ON since TPL_ENABLE_TBB=ON
-- Setting Anasazi_ENABLE_TBB=ON since TPL_ENABLE_TBB=ON
Enabling TPLs based on <TRIBITS_PACKAGE>_ENABLE_<TPL>=ON if TPL is not explicitly disabled ...
Set cache entries for optional packages/TPLs and tests/examples for packages actually enabled ...
Enabling all packages not yet enabled that have at least one subpackage enabled ...
-- Setting Trilinos_ENABLE_Kokkos=ON because Trilinos_ENABLE_KokkosClassic=ON
Final set of enabled packages: Teuchos RTOp Kokkos Epetra Triutils Tpetra EpetraExt Thyra AztecOO Amesos Belos Anasazi Stratimikos PyTrilinos 14
Final set of enabled SE packages: TeuchosCore TeuchosParameterList TeuchosComm TeuchosNumerics TeuchosRemainder Teuchos RTOp KokkosClassic Kokkos Epetra Triutils Tpetra EpetraExt ThyraCore ThyraEpetraAdapters ThyraEpetraExtAdapters ThyraTpetraAdapters Thyra AztecOO Amesos Belos Anasazi Stratimikos PyTrilinos 24
Final set of non-enabled packages: TrilinosFramework ThreadPool Sacado Zoltan Shards GlobiPack Xpetra OptiPack Isorropia Pliris Galeri Amesos2 Pamgen SEACAS Trios Ifpack Komplex ML Zoltan2 Ifpack2 ShyLU FEI Teko TriKota Intrepid STK Phalanx NOX Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos Didasko Optika Mesquite 40
Final set of non-enabled SE packages: TrilinosFramework ThreadPool Sacado KokkosTPL KokkosCore KokkosCompat KokkosContainers KokkosLinAlg KokkosExample Zoltan Shards GlobiPack Xpetra OptiPack Isorropia Pliris Galeri Amesos2 Pamgen SEACASExodus SEACASExodus_for SEACASNemesis SEACASIoss SEACASChaco SEACASAprepro_lib SEACASSupes SEACASSuplib SEACASSVDI SEACASPLT SEACASAlgebra SEACASAprepro SEACASBlot SEACASConjoin SEACASEjoin SEACASEpu SEACASExo2mat SEACASExodiff SEACASExomatlab SEACASExotxt SEACASFastq SEACASGjoin SEACASGen3D SEACASGenshell SEACASGrepos SEACASGrope SEACASMapvarlib SEACASMapvar SEACASMapvar-kd SEACASMat2exo SEACASNemslice SEACASNemspread SEACASTxtexo SEACAS Trioscommsplitter Triossupport Triosnnti Triosnssi Triosprograms Triosexamples Triostests Triosnetcdf-service Trios Ifpack Komplex ML Zoltan2 Ifpack2 ShyLU FEI Teko TriKota Intrepid STK Phalanx NOX Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos Didasko Optika Mesquite 87
Final set of enabled TPLs: TBB Pthread BLAS LAPACK Boost 5
Final set of non-enabled TPLs: MKL yaml-cpp Peano CUDA CUSPARSE Thrust Cusp HWLOC BinUtils ARPREC QD MPI Scotch OVIS gpcd METIS ParMETIS LibTopoMap PaToH CppUnit ADOLC ADIC TVMET MF ExodusII Nemesis XDMF Netcdf y12m SuperLUDist SuperLUMT SuperLU Cholmod Zlib UMFPACK MA28 AMD CSparse HYPRE PETSC BLACS SCALAPACK MUMPS PARDISO_MKL PARDISO Oski TAUCS ForUQTK Dakota HIPS HDF5 MATLAB CASK SPARSKIT QT gtest BoostLib BoostAlbLib OpenNURBS Portals CrayPortals Gemini InfiniBand BGPDCMF BGQPAMI Pablo HPCToolkit Pnetcdf Clp GLPK qpOASES Matio PAPI MATLABLib Eigen X11 76
Probing the environment ...
-- CMAKE_BUILD_TYPE='Release'
-- CMAKE_C_COMPILER_ID='Clang'
-- CMAKE_CXX_COMPILER_ID='Clang'
-- Trilinos_HOSTNAME='nanvir.rits-isd.ucl.ac.uk'
-- CMAKE_HOST_SYSTEM_NAME='Darwin'
Getting information for all enabled TPLs ...
Setting up testing support ...
-- CTEST_DROP_METHOD='http'
-- CTEST_DROP_SITE='testing.sandia.gov'
-- CTEST_PROJECT_NAME='Trilinos'
-- CTEST_DROP_LOCATION='/cdash/submit.php?project=Trilinos'
-- CTEST_TRIGGER_SITE=''
-- CTEST_DROP_SITE_CDASH='TRUE'
Configuring individual enabled Trilinos packages ...
Processing enabled package: Teuchos (Core, ParameterList, Comm, Numerics, Remainder)
Processing enabled package: RTOp (Libs)
Processing enabled package: Kokkos (Classic)
Processing enabled package: Epetra (Libs)
Processing enabled package: Triutils (Libs)
Processing enabled package: Tpetra (Libs)
Processing enabled package: EpetraExt (Libs)
Processing enabled package: Thyra (Core, EpetraAdapters, EpetraExtAdapters, TpetraAdapters)
Processing enabled package: AztecOO (Libs)
Processing enabled package: Amesos (Libs)
Processing enabled package: Belos (Libs)
Processing enabled package: Anasazi (Libs)
Processing enabled package: Stratimikos (Libs)
Processing enabled package: PyTrilinos (Libs)
Processing explicit instantiation support for enabled packages ...
Processing ETI support: Tpetra
Set up for creating a distribution ...
Exporting library dependencies ...
CMake Warning (dev) at cmake/tribits/package_arch/TribitsGlobalMacros.cmake:2184 (EXPORT_LIBRARY_DEPENDENCIES):
Policy CMP0033 is not set: The export_library_dependencies command should
not be called. Run "cmake --help-policy CMP0033" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
cmake/tribits/package_arch/TribitsProjectImpl.cmake:257 (TRIBITS_SETUP_FOR_INSTALLATION)
cmake/tribits/package_arch/TribitsProject.cmake:75 (TRIBITS_PROJECT_IMPL)
CMakeLists.txt:92 (TRIBITS_PROJECT)
This warning is for project developers. Use -Wno-dev to suppress it.
Finished configuring Trilinos!
-- Found PythonInterp: /usr/local/bin/python (Required is at least version "2.4")
-- Python version 2.7.8
-- The C compiler identification is AppleClang 5.1.0.5030040
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include time.h
-- Looking for C++ include time.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Found Perl: /usr/bin/perl (found version "5.16.2")
-- Performing Test MATH_LIBRARY_IS_SUPPLIED
-- Performing Test MATH_LIBRARY_IS_SUPPLIED - Success
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISNAN
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISNAN - Success
-- Performing Test FINITE_VALUE_HAVE_STD_ISNAN
-- Performing Test FINITE_VALUE_HAVE_STD_ISNAN - Success
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISINF
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISINF - Success
-- Performing Test FINITE_VALUE_HAVE_STD_ISINF
-- Performing Test FINITE_VALUE_HAVE_STD_ISINF - Success
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.8")
-- Processing enabled TPL: TBB
-- TPL_TBB_LIBRARIES='/Users/jhn/ucl/bempp/bempp/build/external/lib/libtbb.dylib;/Users/jhn/ucl/bempp/bempp/build/external/lib/libtbb_debug.dylib;/Users/jhn/ucl/bempp/bempp/build/external/lib/libtbbmalloc.dylib;/Users/jhn/ucl/bempp/bempp/build/external/lib/libtbbmalloc_debug.dylib'
-- TPL_TBB_INCLUDE_DIRS='/Users/jhn/ucl/bempp/bempp/build/external/include'
-- Processing enabled TPL: Pthread
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Processing enabled TPL: BLAS
-- TPL_BLAS_LIBRARIES='/System/Library/Frameworks/Accelerate.framework'
-- TPL_BLAS_INCLUDE_DIRS=''
-- Processing enabled TPL: LAPACK
-- TPL_LAPACK_LIBRARIES='/System/Library/Frameworks/Accelerate.framework;/System/Library/Frameworks/Accelerate.framework'
-- TPL_LAPACK_INCLUDE_DIRS=''
-- Processing enabled TPL: Boost
-- Found Boost TPL header: /usr/local/include/boost/version.hpp
-- Found Boost TPL header: /usr/local/include/boost/mpl/at.hpp
-- Found Boost TPL header path: /usr/local/include
-- TPL_Boost_INCLUDE_DIRS='/usr/local/include'
-- Performing Test HAVE_GCC_ABI_DEMANGLE
-- Performing Test HAVE_GCC_ABI_DEMANGLE - Success
-- Performing Test HAS_TEUCHOS_BOOST_IS_POLYMORPHIC
-- Performing Test HAS_TEUCHOS_BOOST_IS_POLYMORPHIC - Success
-- Performing Test HAVE_TEUCHOS_BLASFLOAT
-- Performing Test HAVE_TEUCHOS_BLASFLOAT - Failed
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_APPLE_VECLIB_BUGFIX
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_APPLE_VECLIB_BUGFIX - Success
-- Performing Test LAPACK_SLAPY2_WORKS
-- Performing Test LAPACK_SLAPY2_WORKS - Failed
-- Performing Test LAPACK_SLAPY2_WITH_DOUBLE_WORKS
-- Performing Test LAPACK_SLAPY2_WITH_DOUBLE_WORKS - Success
-- Performing Test HAVE_TEUCHOS_LAPACKLARND
-- Performing Test HAVE_TEUCHOS_LAPACKLARND - Failed
-- Performing Test CXX_COMPLEX_BLAS_WORKS
-- Performing Test CXX_COMPLEX_BLAS_WORKS - Failed
-- Performing Test HAVE_VECLIB_COMPLEX_BLAS
-- Performing Test HAVE_VECLIB_COMPLEX_BLAS - Success
-- Enabling node: Serial
-- Enabling node: TBB
-- Default node: KokkosClassic::SerialNode
-- TPL_BLAS_LIBRARIES = /System/Library/Frameworks/Accelerate.framework: building inside Trilinos
-- TPL_LAPACK_LIBRARIES = /System/Library/Frameworks/Accelerate.framework;/System/Library/Frameworks/Accelerate.framework: building inside Trilinos
-- Using previously set TPL_{BLAS,LAPACK}_LIBRARIES
-- * TPL_BLAS_LIBRARIES = /System/Library/Frameworks/Accelerate.framework
-- * TPL_LAPACK_LIBRARIES = /System/Library/Frameworks/Accelerate.framework;/System/Library/Frameworks/Accelerate.framework
-- TPL_BLAS_LIBRARIES = /System/Library/Frameworks/Accelerate.framework: building inside Trilinos
-- TPL_LAPACK_LIBRARIES = /System/Library/Frameworks/Accelerate.framework;/System/Library/Frameworks/Accelerate.framework: building inside Trilinos
-- Using previously set TPL_{BLAS,LAPACK}_LIBRARIES
-- * TPL_BLAS_LIBRARIES = /System/Library/Frameworks/Accelerate.framework
-- * TPL_LAPACK_LIBRARIES = /System/Library/Frameworks/Accelerate.framework;/System/Library/Frameworks/Accelerate.framework
-- Checking LAPACK QR factorization routine names
-- Checking whether your LAPACK library includes DLARFG
-- Performing Test HAVE_LAPACK_DLARFG
-- Performing Test HAVE_LAPACK_DLARFG - Success
-- Checking whether your LAPACK library includes SLARFG
-- Performing Test HAVE_LAPACK_SLARFG
-- Performing Test HAVE_LAPACK_SLARFG - Success
-- Checking whether your LAPACK library includes ZLARFG
-- Performing Test HAVE_LAPACK_ZLARFG
-- Performing Test HAVE_LAPACK_ZLARFG - Success
-- Checking whether your LAPACK library includes CLARFG
-- Performing Test HAVE_LAPACK_CLARFG
-- Performing Test HAVE_LAPACK_CLARFG - Success
-- Checking whether your LAPACK library includes DLARFP
-- Performing Test HAVE_LAPACK_DLARFP
-- Performing Test HAVE_LAPACK_DLARFP - Success
-- Checking whether your LAPACK library includes SLARFP
-- Performing Test HAVE_LAPACK_SLARFP
-- Performing Test HAVE_LAPACK_SLARFP - Success
-- Checking whether your LAPACK library includes ZLARFP
-- Performing Test HAVE_LAPACK_ZLARFP
-- Performing Test HAVE_LAPACK_ZLARFP - Success
-- Checking whether your LAPACK library includes CLARFP
-- Performing Test HAVE_LAPACK_CLARFP
-- Performing Test HAVE_LAPACK_CLARFP - Success
-- Checking whether your LAPACK library includes DLARFGP
-- Performing Test HAVE_LAPACK_DLARFGP
-- Performing Test HAVE_LAPACK_DLARFGP - Failed
-- Checking whether your LAPACK library includes SLARFGP
-- Performing Test HAVE_LAPACK_SLARFGP
-- Performing Test HAVE_LAPACK_SLARFGP - Failed
-- Checking whether your LAPACK library includes ZLARFGP
-- Performing Test HAVE_LAPACK_ZLARFGP
-- Performing Test HAVE_LAPACK_ZLARFGP - Failed
-- Checking whether your LAPACK library includes CLARFGP
-- Performing Test HAVE_LAPACK_CLARFGP
-- Performing Test HAVE_LAPACK_CLARFGP - Failed
-- Checking whether your LAPACK library includes DGEQRFP
-- Performing Test HAVE_LAPACK_DGEQRFP
-- Performing Test HAVE_LAPACK_DGEQRFP - Failed
-- Checking whether your LAPACK library includes SGEQRFP
-- Performing Test HAVE_LAPACK_SGEQRFP
-- Performing Test HAVE_LAPACK_SGEQRFP - Failed
-- Checking whether your LAPACK library includes ZGEQRFP
-- Performing Test HAVE_LAPACK_ZGEQRFP
-- Performing Test HAVE_LAPACK_ZGEQRFP - Failed
-- Checking whether your LAPACK library includes CGEQRFP
-- Performing Test HAVE_LAPACK_CGEQRFP
-- Performing Test HAVE_LAPACK_CGEQRFP - Failed
-- Checking whether your LAPACK library includes DGEQR2P
-- Performing Test HAVE_LAPACK_DGEQR2P
-- Performing Test HAVE_LAPACK_DGEQR2P - Failed
-- Checking whether your LAPACK library includes SGEQR2P
-- Performing Test HAVE_LAPACK_SGEQR2P
-- Performing Test HAVE_LAPACK_SGEQR2P - Failed
-- Checking whether your LAPACK library includes ZGEQR2P
-- Performing Test HAVE_LAPACK_ZGEQR2P
-- Performing Test HAVE_LAPACK_ZGEQR2P - Failed
-- Checking whether your LAPACK library includes CGEQR2P
-- Performing Test HAVE_LAPACK_CGEQR2P
-- Performing Test HAVE_LAPACK_CGEQR2P - Failed
-- Not enabling Tpetra/RTI
-- Found PythonInterp: /usr/local/bin/python (Required is at least version "2.2")
-- Python version 2.7.8
-- Found PythonLibs: /usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib (found suitable version "2.7.8", minimum required is "2.2")
-- Found NumPy: 1.8.2 (Required is at least version "1.0")
-- Enabled PyTrilinos modules:
-- Teuchos;Epetra;TriUtils;EpetraExt;AztecOO;Amesos;Anasazi
-- PyTrilinos installation path: /Users/jhn/ucl/bempp/bempp/build/external/lib/python2.7/site-packages/PyTrilinos
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-build
set(command "/usr/local/Cellar/cmake/3.0.1/bin/cmake;-DBUILD_SHARED_LIBS:BOOL=ON;-DTPL_ENABLE_BLAS:BOOL=ON;-DTPL_ENABLE_LAPACK:BOOL=ON;-DTPL_ENABLE_TBB:BOOL=ON;-DTPL_ENABLE_Boost:BOOL=ON;-DTPL_ENABLE_MPI:BOOL=OFF;-DTrilinos_ENABLE_Amesos:BOOL=ON;-DTrilinos_ENABLE_Anasazi:BOOL=ON;-DTrilinos_ENABLE_Belos:BOOL=ON;-DTrilinos_ENABLE_Epetra:BOOL=ON;-DTrilinos_ENABLE_EpetraExt:BOOL=ON;-DTrilinos_ENABLE_RTOp:BOOL=ON;-DTrilinos_ENABLE_Stratimikos:BOOL=ON;-DTrilinos_ENABLE_Teuchos:BOOL=ON;-DTrilinos_ENABLE_Thyra:BOOL=ON;-DTrilinos_ENABLE_ThyraCore:BOOL=ON;-DTrilinos_ENABLE_ThyraEpetraAdapters:BOOL=ON;-DTrilinos_ENABLE_ThyraEpetraExtAdapters:BOOL=ON;-DTrilinos_ENABLE_ThyraTpetraAdapters:BOOL=ON;-DTrilinos_ENABLE_Tpetra:BOOL=ON;-DTrilinos_ENABLE_PyTrilinos:BOOL=ON;-DTrilinos_ENABLE_AztecOO:BOOL=ON;-DTrilinos_ENABLE_Fortran:BOOL=OFF;-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF;-DRTOp_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON;-DStratimikos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON;-DThyra_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON;-DTpetra_INST_COMPLEX_FLOAT:BOOL=ON;-DTpetra_INST_FLOAT:BOOL=ON;-DTPL_ENABLE_MPI:BOOL=OFF;-DCMAKE_BUILD_TYPE=Release;-C;/Users/jhn/ucl/bempp/bempp/build/external/src/TrilinosVariables.cmake;-GUnix Makefiles;/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos")
execute_process(
COMMAND ${command}
RESULT_VARIABLE result
OUTPUT_FILE "/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-configure-out.log"
ERROR_FILE "/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-configure-err.log"
)
if(result)
set(msg "Command failed: ${result}\n")
foreach(arg IN LISTS command)
set(msg "${msg} '${arg}'")
endforeach()
set(msg "${msg}\nSee also\n /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-configure-*.log\n")
message(FATAL_ERROR "${msg}")
else()
set(msg "Trilinos configure command succeeded. See also /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-configure-*.log\n")
message(STATUS "${msg}")
endif()
set(command "/usr/local/Cellar/cmake/3.0.1/bin/cmake;-P;/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/download-Trilinos.cmake")
execute_process(COMMAND ${command} RESULT_VARIABLE result)
if(result)
set(msg "Command failed (${result}):\n")
foreach(arg IN LISTS command)
set(msg "${msg} '${arg}'")
endforeach()
message(FATAL_ERROR "${msg}")
endif()
set(command "/usr/local/Cellar/cmake/3.0.1/bin/cmake;-P;/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/verify-Trilinos.cmake")
execute_process(COMMAND ${command} RESULT_VARIABLE result)
if(result)
set(msg "Command failed (${result}):\n")
foreach(arg IN LISTS command)
set(msg "${msg} '${arg}'")
endforeach()
message(FATAL_ERROR "${msg}")
endif()
set(command "/usr/local/Cellar/cmake/3.0.1/bin/cmake;-P;/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/extract-Trilinos.cmake")
execute_process(COMMAND ${command} RESULT_VARIABLE result)
if(result)
set(msg "Command failed (${result}):\n")
foreach(arg IN LISTS command)
set(msg "${msg} '${arg}'")
endforeach()
message(FATAL_ERROR "${msg}")
endif()
-- downloading...
src='http://trilinos.sandia.gov/download/files/trilinos-11.6.2-Source.tar.bz2'
dst='/Users/jhn/ucl/bempp/bempp/build/external/src/trilinos-11.6.2-Source.tar.bz2'
timeout='none'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- downloading... done
-- verifying file...
file='/Users/jhn/ucl/bempp/bempp/build/external/src/trilinos-11.6.2-Source.tar.bz2'
-- verifying file... done
-- extracting...
src='/Users/jhn/ucl/bempp/bempp/build/external/src/trilinos-11.6.2-Source.tar.bz2'
dst='/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
set(command "/usr/local/Cellar/cmake/3.0.1/bin/cmake;-Dmake=${make};-Dconfig=${config};-P;/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-download-impl.cmake")
execute_process(
COMMAND ${command}
RESULT_VARIABLE result
OUTPUT_FILE "/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-download-out.log"
ERROR_FILE "/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-download-err.log"
)
if(result)
set(msg "Command failed: ${result}\n")
foreach(arg IN LISTS command)
set(msg "${msg} '${arg}'")
endforeach()
set(msg "${msg}\nSee also\n /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-download-*.log\n")
message(FATAL_ERROR "${msg}")
else()
set(msg "Trilinos download command succeeded. See also /Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/Trilinos-download-*.log\n")
message(STATUS "${msg}")
endif()
repository='external project URL'
module='http://trilinos.sandia.gov/download/files/trilinos-11.6.2-Source.tar.bz2'
tag='SHA256=c1f8c15f263161a8a2c1211b177122721cf268dd24d192925beb91cdf21ae6ba'
set(file "/Users/jhn/ucl/bempp/bempp/build/external/src/trilinos-11.6.2-Source.tar.bz2")
message(STATUS "verifying file...
file='${file}'")
set(expect_value "c1f8c15f263161a8a2c1211b177122721cf268dd24d192925beb91cdf21ae6ba")
set(attempt 0)
set(succeeded 0)
while(${attempt} LESS 3 OR ${attempt} EQUAL 3 AND NOT ${succeeded})
file(SHA256 "${file}" actual_value)
if("${actual_value}" STREQUAL "${expect_value}")
set(succeeded 1)
elseif(${attempt} LESS 3)
message(STATUS "SHA256 hash of ${file}
does not match expected value
expected: ${expect_value}
actual: ${actual_value}
Retrying download.
")
file(REMOVE "${file}")
execute_process(COMMAND ${CMAKE_COMMAND} -P "/Users/jhn/ucl/bempp/bempp/build/external/src/Trilinos-stamp/download-Trilinos.cmake")
endif()
endwhile()
if(${succeeded})
message(STATUS "verifying file... done")
else()
message(FATAL_ERROR "error: SHA256 hash of
${file}
does not match expected value
expected: ${expect_value}
actual: ${actual_value}
")
endif()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment