- if (_sg_mc_comms_determinism && not this->recv_deterministic && this->send_deterministic) {
- XBT_INFO("******************************************************");
- XBT_INFO("**** Only-send-deterministic communication pattern ****");
- XBT_INFO("******************************************************");
- XBT_INFO("%s", this->recv_diff);
- } else if (_sg_mc_comms_determinism && not this->send_deterministic && this->recv_deterministic) {
- XBT_INFO("******************************************************");
- XBT_INFO("**** Only-recv-deterministic communication pattern ****");
- XBT_INFO("******************************************************");
- XBT_INFO("%s", this->send_diff);
+ if (_sg_mc_comms_determinism) {
+ if (this->send_deterministic && not this->recv_deterministic) {
+ XBT_INFO("*******************************************************");
+ XBT_INFO("**** Only-send-deterministic communication pattern ****");
+ XBT_INFO("*******************************************************");
+ XBT_INFO("%s", this->recv_diff);
+ }
+ if (not this->send_deterministic && this->recv_deterministic) {
+ XBT_INFO("*******************************************************");
+ XBT_INFO("**** Only-recv-deterministic communication pattern ****");
+ XBT_INFO("*******************************************************");
+ XBT_INFO("%s", this->send_diff);
+ }