Skip to content

Commit

Permalink
Remove BoostRandom
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Jan 7, 2022
1 parent 1ca0abf commit f4d4fc3
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 412 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ cmake_dependent_option(USE_NVTX_API "Enable/disable NVTX regions in CUDA code."
set(HAVE_EINSPLINE 1) # to be removed
option(QMC_EXP_THREADING "Experimental non openmp threading models" OFF)
mark_as_advanced(QMC_EXP_THREADING)
option(QMC_RNG_BOOST "Use random number generator from boost C++ libraries instead of C++ standard library" OFF)

#--------------------------------------------------------------------
# Sanitizer options
Expand Down
1 change: 1 addition & 0 deletions external_codes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

add_library(qmc_external_mpi_wrapper INTERFACE)
target_include_directories(qmc_external_mpi_wrapper INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/mpi_wrapper)
target_link_libraries(qmc_external_mpi_wrapper INTERFACE MPI::MPI_CXX Boost::boost)

add_library(qmc_external_multi INTERFACE)
target_include_directories(qmc_external_multi INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/boost_multi/multi/include)
Expand Down
3 changes: 0 additions & 3 deletions src/Containers/OhmmsSoA/TensorSoaContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ struct TensorSoaContainer<T, 3>
}
};

//Incorrect: provide wrapper class
//BOOST_CLASS_TRACKING(Pos3DSoA<double,3>, boost::serialization::track_never)
//BOOST_CLASS_TRACKING(Pos3DSoA<float,3>, boost::serialization::track_never)
} // namespace qmcplusplus

#endif
2 changes: 1 addition & 1 deletion src/Message/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ add_library(message ${COMM_SRCS})
target_link_libraries(message PUBLIC platform_host_runtime)

if(HAVE_MPI)
target_link_libraries(message PUBLIC MPI::MPI_CXX Boost::boost qmc_external_mpi_wrapper)
target_link_libraries(message PUBLIC qmc_external_mpi_wrapper)
endif()

add_library(catch_main catch_main.cpp)
Expand Down
2 changes: 0 additions & 2 deletions src/QMCDrivers/WalkerControlBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ void WalkerControlBase::measureProperties(int iter)
// If it is it shouldn't be in QMDrivers but QMCDrivers/DMC
if (dmcStream)
{
//boost::archive::text_oarchive oa(*dmcStream);
//(*oa) & iter & eavg_cur & wgt_cur & Etrial & pop_old;
(*dmcStream) << std::setw(10) << iter << std::setw(20) << ensemble_property_.Energy << std::setw(20)
<< ensemble_property_.Variance << std::setw(20) << ensemble_property_.Weight << std::setw(20)
<< ensemble_property_.NumSamples << std::setw(20)
Expand Down
2 changes: 0 additions & 2 deletions src/QMCDrivers/WalkerControlBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include "Message/CommOperators.h"
// #include "QMCDrivers/ForwardWalking/ForwardWalkingStructure.h"

//#include <boost/archive/binary_oarchive.hpp>

namespace qmcplusplus
{
namespace testing
Expand Down
214 changes: 0 additions & 214 deletions src/Sandbox/exchange_walker.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions src/Utilities/BoostRandom.cpp

This file was deleted.

102 changes: 0 additions & 102 deletions src/Utilities/BoostRandom.h

This file was deleted.

Loading

0 comments on commit f4d4fc3

Please sign in to comment.