Skip to content

Commit 5838312

Browse files
committed
Preparing release 2.6
1 parent 9e48b44 commit 5838312

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ set(CMAKE_CXX_STANDARD 17)
7979
set(WRENCH_VERSION_MAJOR "2")
8080
set(WRENCH_VERSION_MINOR "6")
8181
set(WRENCH_VERSION_PATCH "0")
82-
set(WRENCH_VERSION_EXTRA "dev")
82+
set(WRENCH_VERSION_EXTRA "")
8383

8484
if (${WRENCH_VERSION_PATCH} EQUAL "0")
8585
set(WRENCH_RELEASE_VERSION "${WRENCH_VERSION_MAJOR}.${WRENCH_VERSION_MINOR}")

RELEASENOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
WRENCH Release Notes
22
------
33

4-
### wrench 2.6-dev
4+
### wrench 2.6
55

66
- Implementation of a "backfilling depth" feature for EASY and convervative_bf batch scheduling algorithms
77
- Upgrade to SimGrid v4.0 and FSMod v0.3

doc/source/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ And, one of the following: - **g++** - version 7.5 or higher - **clang**
2222
Required Dependencies
2323
---------------------
2424

25-
- `SimGrid <https://simgrid.org/>`__ ??? version 3.36
26-
- `SimGrid File System Module <https://github.com/simgrid/file-system-module>`__ ??? version 0.2 or higher
25+
- `SimGrid <https://simgrid.org/>`__ ??? version 4.0
26+
- `SimGrid File System Module <https://github.com/simgrid/file-system-module>`__ ??? version 0.3 or higher
2727
- `JSON for Modern C++ <https://github.com/nlohmann/json>`__ ??? version
28-
3.9.0 or higher
28+
3.11.0 or higher
2929

3030
(See the :ref:`install-troubleshooting` section below if encountering difficulties
3131
installing dependencies)

include/wrench/services/compute/ComputeService.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ namespace wrench {
120120

121121
std::map<std::string, double> getCoreFlopRate(bool simulate_it = false);
122122

123-
double getTotalScratchSpaceSize() const;
123+
sg_size_t getTotalScratchSpaceSize() const;
124124

125-
double getFreeScratchSpaceSize() const;
125+
sg_size_t getFreeScratchSpaceSize() const;
126126

127127

128128
/***********************/

include/wrench/services/storage/xrootd/Deployment.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ namespace wrench {
5656
// virtual void createFile(const std::shared_ptr<DataFile> &file, const std::shared_ptr<Node> &location);
5757
void deleteFile(const std::shared_ptr<DataFile> &file);
5858
void removeFileLocation(const std::shared_ptr<DataFile> &file, const std::shared_ptr<Node> &location);
59-
unsigned int size();
59+
unsigned int size() const;
6060
/***********************/
6161
/** \endcond */
6262
/***********************/
@@ -73,7 +73,7 @@ namespace wrench {
7373
/***********************/
7474

7575
std::shared_ptr<Node> root_supervisor = nullptr;
76-
std::shared_ptr<Node> createStorageServer(const std::string &hostname, const std::string &mount_point, WRENCH_PROPERTY_COLLECTION_TYPE storage_property_list, WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE storage_messagepayload_list, WRENCH_PROPERTY_COLLECTION_TYPE node_property_list = {}, WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE node_messagepayload_list = {});
76+
std::shared_ptr<Node> createStorageServer(const std::string &hostname, const std::string &mount_point, WRENCH_PROPERTY_COLLECTION_TYPE storage_property_list, WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE storage_messagepayload_list, const WRENCH_PROPERTY_COLLECTION_TYPE& node_property_list = {}, const WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE& node_messagepayload_list = {});
7777
std::shared_ptr<Node> createSupervisor(const std::string &hostname, WRENCH_PROPERTY_COLLECTION_TYPE node_property_list = {}, WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE node_messagepayload_list = {});
7878

7979
friend Node;

include/wrench/simulation/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
*/
1010

1111
namespace wrench {
12-
#define WRENCH_VERSION_STRING "2.6-dev"
12+
#define WRENCH_VERSION_STRING "2.6"
1313
}// namespace wrench

src/wrench/services/compute/ComputeService.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,16 +416,16 @@ namespace wrench {
416416
* @brief Get the total capacity of the compute service's scratch storage space
417417
* @return a size (in bytes)
418418
*/
419-
double ComputeService::getTotalScratchSpaceSize() const {
419+
sg_size_t ComputeService::getTotalScratchSpaceSize() const {
420420
// A scratch space SS is always created with a single mount point
421-
return this->scratch_space_storage_service ? this->scratch_space_storage_service->getTotalSpace() : 0.0;
421+
return this->scratch_space_storage_service ? this->scratch_space_storage_service->getTotalSpace() : 0;
422422
}
423423

424424
/**
425425
* @brief Get the free space on the compute service's scratch storage space
426426
* @return a size (in bytes)
427427
*/
428-
double ComputeService::getFreeScratchSpaceSize() const {
428+
sg_size_t ComputeService::getFreeScratchSpaceSize() const {
429429
return this->scratch_space_storage_service->getTotalFreeSpace();
430430
}
431431

src/wrench/services/helper_services/host_state_change_detector/HostStateChangeDetectorMessage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace wrench {
2727
* @param hostname: the name of the host that has turned on
2828
*/
2929
HostHasTurnedOnMessage::HostHasTurnedOnMessage(const std::string& hostname) : HostStateChangeDetectorMessage() {
30-
this->hostname = std::move(hostname);
30+
this->hostname = hostname;
3131
}
3232

3333
/**
@@ -36,7 +36,7 @@ namespace wrench {
3636
* @param hostname: the name of the host that has turned off
3737
*/
3838
HostHasTurnedOffMessage::HostHasTurnedOffMessage(const std::string& hostname) : HostStateChangeDetectorMessage() {
39-
this->hostname = std::move(hostname);
39+
this->hostname = hostname;
4040
}
4141

4242
/**

src/wrench/services/storage/xrootd/Deployment.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ namespace wrench {
7878
const std::string &mount_point,
7979
WRENCH_PROPERTY_COLLECTION_TYPE storage_property_list,
8080
WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE storage_messagepayload_list,
81-
WRENCH_PROPERTY_COLLECTION_TYPE node_property_list,
82-
WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE node_messagepayload_list) {
83-
std::shared_ptr<Node> ret = createNode(hostname, std::move(node_property_list), std::move(node_messagepayload_list));
81+
const WRENCH_PROPERTY_COLLECTION_TYPE& node_property_list,
82+
const WRENCH_MESSAGE_PAYLOAD_COLLECTION_TYPE& node_messagepayload_list) {
83+
std::shared_ptr<Node> ret = createNode(hostname, node_property_list, node_messagepayload_list);
8484
ret->makeFileServer({mount_point}, std::move(storage_property_list), std::move(storage_messagepayload_list));
8585
simulation->add(ret->internalStorage);
8686
dataservers.push_back(ret);
@@ -122,7 +122,7 @@ namespace wrench {
122122
*
123123
* @return the number of nodes in the federation
124124
*/
125-
unsigned int Deployment::size() {
125+
unsigned int Deployment::size() const {
126126
return nodes.size();
127127
}
128128

0 commit comments

Comments
 (0)