Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various fixes; compilation errors related to astra-sim; remove /etc and replace with logs directory. #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/BaseStream.hh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LICENSE file in the root directory of this source tree.
#include "DataSet.hh"
#include "StreamStat.hh"
#include "Sys.hh"
#include "astra-sim/system/topology/LogicalTopology.hh"
#include "./topology/LogicalTopology.hh"

namespace AstraSim {
class RecvPacketEventHadndlerData;
Expand Down
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/CollectivePhase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LICENSE file in the root directory of this source tree.
*******************************************************************************/

#include "CollectivePhase.hh"
#include "astra-sim/system/collective/Algorithm.hh"
#include "./collective/Algorithm.hh"
namespace AstraSim {
CollectivePhase::CollectivePhase(
Sys* generator,
Expand Down
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/MemBus.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LICENSE file in the root directory of this source tree.
#include "MemBus.hh"
#include "LogGP.hh"
#include "Sys.hh"
#include "astra-sim/system/MockNcclLog.h"
#include "MockNcclLog.h"
namespace AstraSim {
MemBus::~MemBus() {
delete NPU_side;
Expand Down
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/MockNcclChannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <vector>
#include <map>
#include <memory>
#include "astra-sim/system/Common.hh"
#include "Common.hh"
#include "MockNcclGroup.h"

namespace MockNccl {
Expand Down
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/MockNcclGroup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include<set>
#include <queue>
#include<cmath>
#include "astra-sim/system/MockNcclLog.h"
#include "MockNcclLog.h"
using namespace std;
namespace MockNccl {
MockNcclGroup::MockNcclGroup(std::vector<int>ngpus,int TP_size,int gpus_per_nodes,std::vector<int> _NVSwitch,GPUType _gpu_type):g_flow_id(0),gpu_type(_gpu_type){
Expand Down
4 changes: 2 additions & 2 deletions astra-sim-alibabacloud/astra-sim/system/MockNcclGroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include <memory>
#include <map>
#include <unordered_map>
#include "astra-sim/system/Common.hh"
#include"astra-sim/system/MockNccl.h"
#include "Common.hh"
#include"MockNccl.h"
using namespace std;

namespace MockNccl {
Expand Down
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/PacketBundle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LICENSE file in the root directory of this source tree.
*******************************************************************************/

#include "PacketBundle.hh"
#include "astra-sim/system/MockNcclLog.h"
#include "MockNcclLog.h"
#include "PhyMultiThread.hh"
namespace AstraSim {
PacketBundle::PacketBundle(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LICENSE file in the root directory of this source tree.
#include <tuple>
#include <vector>
#include "AstraNetworkAPI.hh"
#include "astra-sim/system/topology/RingTopology.hh"
#include "./topology/RingTopology.hh"

namespace AstraSim {
class QueueLevelHandler {
Expand Down
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/QueueLevels.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LICENSE file in the root directory of this source tree.
#include <vector>
#include "AstraNetworkAPI.hh"
#include "QueueLevelHandler.hh"
#include "astra-sim/system/topology/RingTopology.hh"
#include "./topology/RingTopology.hh"

namespace AstraSim {
class QueueLevels {
Expand Down
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/StreamBaseline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LICENSE file in the root directory of this source tree.

#include "StreamBaseline.hh"
#include "MockNcclLog.h"
#include "astra-sim/system/collective/Algorithm.hh"
#include "./collective/Algorithm.hh"
namespace AstraSim {
StreamBaseline::StreamBaseline(
Sys* owner,
Expand Down
26 changes: 13 additions & 13 deletions astra-sim-alibabacloud/astra-sim/system/Sys.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ LICENSE file in the root directory of this source tree.
#include "Common.hh"
#include "RendezvousRecvData.hh"
#include "RendezvousSendData.hh"
#include "astra-sim/system/collective/AllToAll.hh"
#include "astra-sim/system/collective/DoubleBinaryTreeAllReduce.hh"
#include "astra-sim/system/collective/HalvingDoubling.hh"
#include "astra-sim/system/collective/Ring.hh"
#include "astra-sim/system/collective/NcclTreeFlowModel.hh"
#include "astra-sim/system/scheduling/OfflineGreedy.hh"
#include "astra-sim/system/topology/BasicLogicalTopology.hh"
#include "astra-sim/system/topology/DoubleBinaryTreeTopology.hh"
#include "astra-sim/system/topology/GeneralComplexTopology.hh"
#include "astra-sim/system/topology/LocalRingGlobalBinaryTree.hh"
#include "astra-sim/system/topology/LocalRingNodeA2AGlobalDBT.hh"
#include "astra-sim/system/topology/Torus3D.hh"
#include "astra-sim/system/MockNcclLog.h"
#include "./collective/AllToAll.hh"
#include "./collective/DoubleBinaryTreeAllReduce.hh"
#include "./collective/HalvingDoubling.hh"
#include "./collective/Ring.hh"
#include "./collective/NcclTreeFlowModel.hh"
#include "./scheduling/OfflineGreedy.hh"
#include "./topology/BasicLogicalTopology.hh"
#include "./topology/DoubleBinaryTreeTopology.hh"
#include "./topology/GeneralComplexTopology.hh"
#include "./topology/LocalRingGlobalBinaryTree.hh"
#include "./topology/LocalRingNodeA2AGlobalDBT.hh"
#include "./topology/Torus3D.hh"
#include "./MockNcclLog.h"

#include <algorithm>
#include <cmath>
Expand Down
8 changes: 4 additions & 4 deletions astra-sim-alibabacloud/astra-sim/system/Sys.hh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ LICENSE file in the root directory of this source tree.
#include "Common.hh"
#include "SendPacketEventHandlerData.hh"
#include "UsageTracker.hh"
#include "astra-sim/system/MockNcclChannel.h"
#include "astra-sim/system/topology/RingTopology.hh"
#include "astra-sim/workload/Workload.hh"
#include "MockNcclChannel.h"
#include "./topology/RingTopology.hh"
#include "../workload/Workload.hh"
#ifdef NS3_MTP
#include "ns3/mtp-interface.h"
#endif
#include <atomic>
#include "astra-sim/system/MockNcclGroup.h"
#include "MockNcclGroup.h"

namespace AstraSim {
class MemBus;
Expand Down
2 changes: 1 addition & 1 deletion astra-sim-alibabacloud/astra-sim/system/UsageTracker.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LICENSE file in the root directory of this source tree.
#include "Callable.hh"
#include "Common.hh"
#include "Usage.hh"
#include "astra-sim/workload/CSVWriter.hh"
#include "../workload/CSVWriter.hh"

namespace AstraSim {
class UsageTracker {
Expand Down
10 changes: 5 additions & 5 deletions astra-sim-alibabacloud/astra-sim/system/collective/Algorithm.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ LICENSE file in the root directory of this source tree.
#include <sstream>
#include <tuple>
#include <vector>
#include "astra-sim/system/BaseStream.hh"
#include "astra-sim/system/CallData.hh"
#include "astra-sim/system/Callable.hh"
#include "astra-sim/system/Common.hh"
#include "astra-sim/system/topology/LogicalTopology.hh"
#include "../BaseStream.hh"
#include "../CallData.hh"
#include "../Callable.hh"
#include "../Common.hh"
#include "../topology/LogicalTopology.hh"

namespace AstraSim {
class Algorithm : public Callable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ LICENSE file in the root directory of this source tree.
#include <tuple>
#include <vector>
#include "Ring.hh"
#include "astra-sim/system/CallData.hh"
#include "astra-sim/system/Common.hh"
#include "astra-sim/system/topology/RingTopology.hh"
#include "../CallData.hh"
#include "../Common.hh"
#include "../topology/RingTopology.hh"

namespace AstraSim {
class AllToAll : public Ring {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ LICENSE file in the root directory of this source tree.
*******************************************************************************/

#include "DoubleBinaryTreeAllReduce.hh"
#include "astra-sim/system/PacketBundle.hh"
#include "astra-sim/system/RecvPacketEventHadndlerData.hh"
#include "../PacketBundle.hh"
#include "../RecvPacketEventHadndlerData.hh"
namespace AstraSim {
DoubleBinaryTreeAllReduce::DoubleBinaryTreeAllReduce(
int id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ LICENSE file in the root directory of this source tree.
#include <tuple>
#include <vector>
#include "Algorithm.hh"
#include "astra-sim/system/CallData.hh"
#include "astra-sim/system/Common.hh"
#include "astra-sim/system/topology/BinaryTree.hh"
#include "../CallData.hh"
#include "../Common.hh"
#include "../topology/BinaryTree.hh"

namespace AstraSim {
class DoubleBinaryTreeAllReduce : public Algorithm {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ LICENSE file in the root directory of this source tree.
#include <math.h>
#include <stdlib.h>
#include "Ring.hh"
#include "astra-sim/system/PacketBundle.hh"
#include "astra-sim/system/RecvPacketEventHadndlerData.hh"
#include "../PacketBundle.hh"
#include "../RecvPacketEventHadndlerData.hh"

namespace AstraSim {
HalvingDoubling::HalvingDoubling(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ LICENSE file in the root directory of this source tree.
#include <tuple>
#include <vector>
#include "Algorithm.hh"
#include "astra-sim/system/Common.hh"
#include "astra-sim/system/MemBus.hh"
#include "astra-sim/system/MyPacket.hh"
#include "astra-sim/system/topology/RingTopology.hh"
#include "../Common.hh"
#include "../MemBus.hh"
#include "../MyPacket.hh"
#include "../topology/RingTopology.hh"

namespace AstraSim {
class HalvingDoubling : public Algorithm {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@

#ifdef PHY_MTP
#include<mpi.h>
#include "astra-sim/system/PhyMultiThread.hh"
#include "../PhyMultiThread.hh"
#endif
#include<chrono>

#include "NcclTreeFlowModel.hh"
#include "astra-sim/system/PacketBundle.hh"
#include "astra-sim/system/RecvPacketEventHadndlerData.hh"
#include "astra-sim/system/MockNcclLog.h"
#include "../PacketBundle.hh"
#include "../RecvPacketEventHadndlerData.hh"
#include "../MockNcclLog.h"
#ifdef PHY_RDMA
#include "astra-sim/system/SimAiFlowModelRdma.hh"
#include "../SimAiFlowModelRdma.hh"
extern FlowPhyRdma flow_rdma;
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
#include <vector>
#include<condition_variable>
#include "Algorithm.hh"
#include "astra-sim/system/Common.hh"
#include "astra-sim/system/MemBus.hh"
#include "astra-sim/system/MyPacket.hh"
#include "astra-sim/system/topology/RingTopology.hh"
#include "astra-sim/system/MockNcclQps.h"
#include "../Common.hh"
#include "../MemBus.hh"
#include "../MyPacket.hh"
#include "../topology/RingTopology.hh"
#include "../MockNcclQps.h"

namespace AstraSim {
class NcclTreeFlowModel : public Algorithm {
Expand Down
4 changes: 2 additions & 2 deletions astra-sim-alibabacloud/astra-sim/system/collective/Ring.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ LICENSE file in the root directory of this source tree.
*******************************************************************************/

#include "Ring.hh"
#include "astra-sim/system/PacketBundle.hh"
#include "astra-sim/system/RecvPacketEventHadndlerData.hh"
#include "../PacketBundle.hh"
#include "../RecvPacketEventHadndlerData.hh"
namespace AstraSim {
Ring::Ring(
ComType type,
Expand Down
8 changes: 4 additions & 4 deletions astra-sim-alibabacloud/astra-sim/system/collective/Ring.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ LICENSE file in the root directory of this source tree.
#include <tuple>
#include <vector>
#include "Algorithm.hh"
#include "astra-sim/system/Common.hh"
#include "astra-sim/system/MemBus.hh"
#include "astra-sim/system/MyPacket.hh"
#include "astra-sim/system/topology/RingTopology.hh"
#include "../Common.hh"
#include "../MemBus.hh"
#include "../MyPacket.hh"
#include "../topology/RingTopology.hh"

namespace AstraSim {
class Ring : public Algorithm {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <map>
#include <tuple>

#include "astra-sim/system/AstraNetworkAPI.hh"
#include "../AstraNetworkAPI.hh"
namespace AstraSim {
class FastBackEnd;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LICENSE file in the root directory of this source tree.

#ifndef __SIMPLEMEMORY_HH__
#define __SIMPLEMEMORY_HH__
#include "astra-sim/system/AstraMemoryAPI.hh"
#include "astra-sim/system/AstraNetworkAPI.hh"
#include "../AstraMemoryAPI.hh"
#include "../AstraNetworkAPI.hh"
namespace AstraSim {
class SimpleMemory : public AstraMemoryAPI {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LICENSE file in the root directory of this source tree.

#ifndef __OFFLINEGREEDY_HH__
#define __OFFLINEGREEDY_HH__
#include "astra-sim/system/Common.hh"
#include "astra-sim/system/Sys.hh"
#include "../Common.hh"
#include "../Sys.hh"
#include "vector"
namespace AstraSim {
class DimElapsedTime {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LICENSE file in the root directory of this source tree.
#include <tuple>
#include <vector>
#include "LogicalTopology.hh"
#include "astra-sim/system/Common.hh"
#include "../Common.hh"

namespace AstraSim {
class BasicLogicalTopology : public LogicalTopology {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LICENSE file in the root directory of this source tree.
#include <vector>
#include "BasicLogicalTopology.hh"
#include "Node.hh"
#include "astra-sim/system/Common.hh"
#include "../Common.hh"

namespace AstraSim {
class BinaryTree : public BasicLogicalTopology {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LICENSE file in the root directory of this source tree.
#include <tuple>
#include <vector>
#include "LogicalTopology.hh"
#include "astra-sim/system/Common.hh"
#include "../Common.hh"

namespace AstraSim {
class ComplexLogicalTopology : public LogicalTopology {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LICENSE file in the root directory of this source tree.
#include <vector>
#include "ComplexLogicalTopology.hh"
#include "LocalRingGlobalBinaryTree.hh"
#include "astra-sim/system/Common.hh"
#include "../Common.hh"
namespace AstraSim {
class DoubleBinaryTreeTopology : public ComplexLogicalTopology {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LICENSE file in the root directory of this source tree.
#include <tuple>
#include <vector>
#include "ComplexLogicalTopology.hh"
#include "astra-sim/system/Common.hh"
#include "../Common.hh"

namespace AstraSim {
class GeneralComplexTopology : public ComplexLogicalTopology {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LICENSE file in the root directory of this source tree.
#include "BinaryTree.hh"
#include "ComplexLogicalTopology.hh"
#include "RingTopology.hh"
#include "astra-sim/system/Common.hh"
#include "../Common.hh"

namespace AstraSim {
class LocalRingGlobalBinaryTree : public ComplexLogicalTopology {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LICENSE file in the root directory of this source tree.
#include "ComplexLogicalTopology.hh"
#include "DoubleBinaryTreeTopology.hh"
#include "RingTopology.hh"
#include "astra-sim/system/Common.hh"
#include "../Common.hh"

namespace AstraSim {
class LocalRingNodeA2AGlobalDBT : public ComplexLogicalTopology {
Expand Down
Loading