Skip to content

Instantly share code, notes, and snippets.

@qilicun
Created September 11, 2013 01:49
Show Gist options
  • Select an option

  • Save qilicun/6518421 to your computer and use it in GitHub Desktop.

Select an option

Save qilicun/6518421 to your computer and use it in GitHub Desktop.
[Opm-core]issue#362:CMakeError.log
Determining if the CXX compiler accepts the flag -std=c++11 failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/DummyCXXFile.cxx.o
/usr/bin/g++44 -pipe -Wall -Wno-unknown-pragmas -std=c++11 -o CMakeFiles/cmTryCompileExec.dir/DummyCXXFile.cxx.o -c /project/res/x86_64_RH_5/share/cmake-2.8/Modules/DummyCXXFile.cxx
cc1plus: error: unrecognized command line option "-std=c++11"
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/DummyCXXFile.cxx.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Performing C++ SOURCE FILE Test HAVE_NULLPTR failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/src.cxx.o
/usr/bin/g++44 -pipe -Wall -Wno-unknown-pragmas -std=c++0x -DHAVE_NULLPTR -o CMakeFiles/cmTryCompileExec.dir/src.cxx.o -c /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()':
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:4: error: 'nullptr' was not declared in this scope
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:4: warning: unused variable 'ch'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Source file was:
int main(void)
{
char* ch = nullptr;
return 0;
}
Performing C++ SOURCE FILE Test HAVE_CONSTEXPR failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/src.cxx.o
/usr/bin/g++44 -pipe -Wall -Wno-unknown-pragmas -std=c++0x -DHAVE_CONSTEXPR -o CMakeFiles/cmTryCompileExec.dir/src.cxx.o -c /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:3: error: expected initializer before 'int'
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()':
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:6: error: 'constexpr' was not declared in this scope
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:6: error: expected ';' before 'int'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Source file was:
template <class T>
inline constexpr int foo(T bar) { return bar*2; }
int main(void)
{
constexpr int foobar = foo(100);
return 0;
}
Performing C++ SOURCE FILE Test HAVE_INTEGRAL_CONSTANT failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/src.cxx.o
/usr/bin/g++44 -pipe -Wall -Wno-unknown-pragmas -std=c++0x -DHAVE_INTEGRAL_CONSTANT -o CMakeFiles/cmTryCompileExec.dir/src.cxx.o -c /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()':
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:6: error: cannot convert 'std::integral_constant<int, 42>' to 'int' for argument '1' to 'void f(int)'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Source file was:
#include <type_traits>
void f( int ){}
int main(void){
f( std::integral_constant< int, 42 >() );
}
Performing C++ SOURCE FILE Test HAS_ATTRIBUTE_DEPRECATED_MSG failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/src.cxx.o
/usr/bin/g++44 -pipe -Wall -Wno-unknown-pragmas -std=c++0x -DHAS_ATTRIBUTE_DEPRECATED_MSG -o CMakeFiles/cmTryCompileExec.dir/src.cxx.o -c /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:4: error: wrong number of arguments specified for 'deprecated' attribute
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:7: error: wrong number of arguments specified for 'deprecated' attribute
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:12: error: wrong number of arguments specified for 'deprecated' attribute
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:21: error: wrong number of arguments specified for 'deprecated' attribute
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Source file was:
#define DEP __attribute__((deprecated("message")))
class bar {
bar() DEP;
};
class peng { } DEP;
template <class T>
class t_bar
{
t_bar() DEP;
};
template <class T>
class t_peng
{
t_peng() {};
} DEP;
void foo() DEP;
void foo() {};
int main(void)
{
return 0;
};
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o
/usr/bin/gcc44 -pipe -Wall -Wno-unknown-pragmas -std=c99 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -c /project/res/x86_64_RH_5/share/cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec
/project/res/x86_64_RH_5/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc44 -pipe -Wall -Wno-unknown-pragmas -std=c99 -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
gmake[1]: *** [cmTryCompileExec] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Performing C SOURCE FILE Test HAVE_UMFPACK_WITHOUT_CHOLMOD failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/src.c.o
/usr/bin/gcc44 -pipe -Wall -Wno-unknown-pragmas -std=c99 -DHAVE_UMFPACK_WITHOUT_CHOLMOD -I/project/res/x86_64_RH_5/include -o CMakeFiles/cmTryCompileExec.dir/src.c.o -c /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c
In file included from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack.h:31:22: error: UFconfig.h: No such file or directory
In file included from /project/res/x86_64_RH_5/include/umfpack.h:48,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_symbolic.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_symbolic'
/project/res/x86_64_RH_5/include/umfpack_symbolic.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_symbolic'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:49,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_numeric.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_numeric'
/project/res/x86_64_RH_5/include/umfpack_numeric.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_numeric'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:50,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_solve.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_solve'
/project/res/x86_64_RH_5/include/umfpack_solve.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_solve'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:56,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_qsymbolic.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_qsymbolic'
/project/res/x86_64_RH_5/include/umfpack_qsymbolic.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_qsymbolic'
/project/res/x86_64_RH_5/include/umfpack_qsymbolic.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_fsymbolic'
/project/res/x86_64_RH_5/include/umfpack_qsymbolic.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_fsymbolic'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:57,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_wsolve.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_wsolve'
/project/res/x86_64_RH_5/include/umfpack_wsolve.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_wsolve'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:60,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_triplet_to_col.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_triplet_to_col'
/project/res/x86_64_RH_5/include/umfpack_triplet_to_col.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_triplet_to_col'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:61,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_col_to_triplet.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_col_to_triplet'
/project/res/x86_64_RH_5/include/umfpack_col_to_triplet.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_col_to_triplet'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:62,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_transpose.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_transpose'
/project/res/x86_64_RH_5/include/umfpack_transpose.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_transpose'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:63,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_scale.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_scale'
/project/res/x86_64_RH_5/include/umfpack_scale.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_scale'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:66,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_get_lunz.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_get_lunz'
/project/res/x86_64_RH_5/include/umfpack_get_lunz.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_get_lunz'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:67,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_get_numeric.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_get_numeric'
/project/res/x86_64_RH_5/include/umfpack_get_numeric.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_get_numeric'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:68,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_get_symbolic.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_get_symbolic'
/project/res/x86_64_RH_5/include/umfpack_get_symbolic.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_get_symbolic'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:69,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_save_numeric.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_save_numeric'
/project/res/x86_64_RH_5/include/umfpack_save_numeric.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_save_numeric'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:70,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_load_numeric.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_load_numeric'
/project/res/x86_64_RH_5/include/umfpack_load_numeric.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_load_numeric'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:71,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_save_symbolic.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_save_symbolic'
/project/res/x86_64_RH_5/include/umfpack_save_symbolic.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_save_symbolic'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:72,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_load_symbolic.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_load_symbolic'
/project/res/x86_64_RH_5/include/umfpack_load_symbolic.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_load_symbolic'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:73,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_get_determinant.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_get_determinant'
/project/res/x86_64_RH_5/include/umfpack_get_determinant.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_get_determinant'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:76,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_report_status.h:20: error: expected declaration specifiers or '...' before 'UF_long'
/project/res/x86_64_RH_5/include/umfpack_report_status.h:32: error: expected declaration specifiers or '...' before 'UF_long'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:79,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_report_matrix.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_report_matrix'
/project/res/x86_64_RH_5/include/umfpack_report_matrix.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_report_matrix'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:80,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_report_triplet.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_report_triplet'
/project/res/x86_64_RH_5/include/umfpack_report_triplet.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_report_triplet'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:81,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_report_vector.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_report_vector'
/project/res/x86_64_RH_5/include/umfpack_report_vector.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_report_vector'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:82,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_report_symbolic.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_report_symbolic'
/project/res/x86_64_RH_5/include/umfpack_report_symbolic.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_report_symbolic'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:83,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_report_numeric.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_report_numeric'
/project/res/x86_64_RH_5/include/umfpack_report_numeric.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_report_numeric'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:84,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/umfpack_report_perm.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_dl_report_perm'
/project/res/x86_64_RH_5/include/umfpack_report_perm.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'umfpack_zl_report_perm'
In file included from /project/res/x86_64_RH_5/include/umfpack.h:91,
from /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:1:
/project/res/x86_64_RH_5/include/amd.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'amd_l_order'
/project/res/x86_64_RH_5/include/amd.h:260: error: expected ')' before 'n'
/project/res/x86_64_RH_5/include/amd.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'amd_l_valid'
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c: In function 'main':
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:6: warning: implicit declaration of function 'umfpack_dl_symbolic'
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:8: warning: implicit declaration of function 'umfpack_dl_numeric'
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:11: warning: implicit declaration of function 'umfpack_dl_solve'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.c.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Source file was:
#include <umfpack.h>
int main (void) {
void *Symbolic, *Numeric;
double Info[UMFPACK_INFO], Control[UMFPACK_CONTROL];
umfpack_dl_defaults(Control);
umfpack_dl_symbolic(0, 0, 0, 0, 0,
&Symbolic, Control, Info);
umfpack_dl_numeric (0, 0, 0,
Symbolic, &Numeric, Control, Info);
umfpack_dl_free_symbolic(&Symbolic);
umfpack_dl_solve(UMFPACK_A, 0, 0, 0, 0, 0,
Numeric, Control, Info);
umfpack_dl_free_numeric(&Numeric);
umfpack_timer ();
return 0;
}
Performing C SOURCE FILE Test HAVE_MEM_USAGE_T_EXPANSIONS failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/src.c.o
/usr/bin/gcc44 -pipe -Wall -Wno-unknown-pragmas -std=c99 -DHAVE_MEM_USAGE_T_EXPANSIONS -I/project/res/x86_64_RH_5/share/opm/SuperLU_4.0/SRC -o CMakeFiles/cmTryCompileExec.dir/src.c.o -c /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c: In function 'main':
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:6: error: 'mem_usage_t' has no member named 'expansions'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.c.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Source file was:
#include <slu_ddefs.h>
int main(void)
{
mem_usage_t mem;
return mem.expansions;
}
Performing C SOURCE FILE Test SUPERLU_MIN_VERSION_4_3 failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/src.c.o
/usr/bin/gcc44 -pipe -Wall -Wno-unknown-pragmas -std=c99 -DSUPERLU_MIN_VERSION_4_3 -I/project/res/x86_64_RH_5/share/opm/SuperLU_4.0/SRC -o CMakeFiles/cmTryCompileExec.dir/src.c.o -c /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c: In function 'main':
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:5: error: 'SLU_DOUBLE' undeclared (first use in this function)
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:5: error: (Each undeclared identifier is reported only once
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.c:5: error: for each function it appears in.)
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.c.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Source file was:
#include <slu_ddefs.h>
int main(void)
{
return SLU_DOUBLE;
}
Performing C++ SOURCE FILE Test HAVE_TINYXML failed with the following output:
Change Dir: /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
/project/res/x86_64_RH_5/bin/cmake -E cmake_progress_report /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/src.cxx.o
/usr/bin/g++44 -pipe -Wall -Wno-unknown-pragmas -std=c++0x -DHAVE_TINYXML -o CMakeFiles/cmTryCompileExec.dir/src.cxx.o -c /project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:1:21: error: tinyxml.h: No such file or directory
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()':
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:3: error: 'TiXmlDocument' was not declared in this scope
/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:3: error: expected ';' before 'doc'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory `/project/eor/user/liuming/opm/opm-core/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2
Source file was:
#include <tinyxml.h>
int main (void) {
TiXmlDocument doc;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment