Loading CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -175,6 +175,7 @@ if( OPENMP_FOUND ) message( "Compiler supports OpenMP." ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_OPENMP -fopenmp" ) endif() #set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_OPENMP -fopenmp=libgomp" ) #### # Check for MPI Loading build +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ do case $option in --prefix=* ) PREFIX="${option#*=}" ;; --build=* ) BUILD="${option#*=}" ;; --with-clang= ) WITH_CLANG="${option#*=}" ;; --with-clang=* ) WITH_CLANG="${option#*=}" ;; --with-tests=* ) WITH_TESTS="${option#*=}" ;; --with-cuda=* ) WITH_CUDA="${option#*=}" ;; --with-cuda-arch=* ) WITH_CUDA_ARCH="${option#*=}";; Loading src/TNL/Containers/Array_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -557,8 +557,8 @@ boundLoad( File& file ) { if( this->getSize() != _size ) { std::cerr << "Error: The current array size is not zero and it is different from the size of" << std::endl << "the array being loaded. This is not possible. Call method reset() before." << std::endl; std::cerr << "Error: The current array size is not zero ( " << this->getSize() << ") and it is different from the size of" << std::endl << "the array being loaded (" << _size << "). This is not possible. Call method reset() before." << std::endl; return false; } } Loading src/TNL/Devices/Host.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ namespace TNL { namespace Devices { bool Host::ompEnabled( true ); int Host::maxThreadsCount( -1 ); Loading src/TNL/Logger.h +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ class Logger void writeSeparator(); // TODO: move this to Devices::Host bool writeSystemInformation( const Config::ParameterContainer& parameters ); Loading Loading
CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -175,6 +175,7 @@ if( OPENMP_FOUND ) message( "Compiler supports OpenMP." ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_OPENMP -fopenmp" ) endif() #set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_OPENMP -fopenmp=libgomp" ) #### # Check for MPI Loading
build +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ do case $option in --prefix=* ) PREFIX="${option#*=}" ;; --build=* ) BUILD="${option#*=}" ;; --with-clang= ) WITH_CLANG="${option#*=}" ;; --with-clang=* ) WITH_CLANG="${option#*=}" ;; --with-tests=* ) WITH_TESTS="${option#*=}" ;; --with-cuda=* ) WITH_CUDA="${option#*=}" ;; --with-cuda-arch=* ) WITH_CUDA_ARCH="${option#*=}";; Loading
src/TNL/Containers/Array_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -557,8 +557,8 @@ boundLoad( File& file ) { if( this->getSize() != _size ) { std::cerr << "Error: The current array size is not zero and it is different from the size of" << std::endl << "the array being loaded. This is not possible. Call method reset() before." << std::endl; std::cerr << "Error: The current array size is not zero ( " << this->getSize() << ") and it is different from the size of" << std::endl << "the array being loaded (" << _size << "). This is not possible. Call method reset() before." << std::endl; return false; } } Loading
src/TNL/Devices/Host.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ namespace TNL { namespace Devices { bool Host::ompEnabled( true ); int Host::maxThreadsCount( -1 ); Loading
src/TNL/Logger.h +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ class Logger void writeSeparator(); // TODO: move this to Devices::Host bool writeSystemInformation( const Config::ParameterContainer& parameters ); Loading