Deprecated "eo/contrib/boost/" folder + minor errors on several

CMakeLists.txt from test folder and on an eompi test file.
This commit is contained in:
Adèle Harrissart 2014-10-04 16:37:40 +02:00
commit 6b464f7fa6
88 changed files with 7 additions and 8619 deletions

View file

@ -53,7 +53,7 @@ foreach(current ${SOURCES})
add_executable(${current} ${current}.cpp)
add_test(${current} ${current})
target_link_libraries(${current} eo eoutils edoutils)
install(TARGETS ${current} RUNTIME DESTINATION share/edo/test COMPONENT test)
install(TARGETS ${current} RUNTIME DESTINATION share/${PROJECT_TAG}/edo/test COMPONENT test)
endforeach()
######################################################################################

View file

@ -46,7 +46,7 @@ if(ENABLE_CMAKE_TESTING)
add_executable(${test} ${T_${test}_SOURCES})
add_test(${test} ${test})
target_link_libraries(${test} eoutils eompi eoserial eo)
install(TARGETS ${test} RUNTIME DESTINATION share/eo/test COMPONENT test)
install(TARGETS ${test} RUNTIME DESTINATION share/${PROJECT_TAG}/eompi/test COMPONENT test)
endforeach (test)
endif()

View file

@ -385,7 +385,11 @@ class Experiment : public eoserial::Persistent
mpi::communicator& comm = eo::mpi::Node::comm();
// reinits every objects
eo::rng.reseed( _seed );
eo::rng.clearCache(); // trick for repeatable sequences of normal numbers, cf eo::rng
#ifndef HAVE_RANDOM
eo::rng.clearCache(); // trick for repeatable sequences of normal numbers, cf eo::rng
#endif
_distribution->clear();
_distribution->fill( _size );