Questions tagged [repast4py]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Can we run Repast4py in Databricks?

I am experimenting with repast4py library to build a supply chain simulation model and it involves large amount of data. My guess is to run this at scale I will require at least 20 cores and 200 GB ...
Vinay's user avatar
  • 1,189
1 vote
0 answers
63 views

Synchronization problem when moving agents in a context with UndirectedSharedNetwork and SharedCSpace projections

I am building on the rumor model (from the repast4py tutorial) to create a model in which agents can move in a 2-dimensional continuous space, and whose actions will depend on the states of nearby ...
smr's user avatar
  • 11
0 votes
0 answers
13 views

Adding new edges between agents from different ranks

I have two agent ids from two different ranks (lets say (1,0,1) and (1,0,2)) and I want to add an edge between these two agents. I tried to use DirectedSharedNetwork.add_edge() and SharedNetwork.graph....
Ak2495's user avatar
  • 1
0 votes
1 answer
24 views

How to get the attribute of an agent from different ranks?

In one part of my agent-based model, I collect all agents with the same type from different ranks by using MPI.COMM_WORLD.gather. Then I'm trying to send the gathered agents to a function that needs ...
Ak2495's user avatar
  • 1
1 vote
1 answer
128 views

How to create ghost agents based on agents from another rank in repast4py?

I am trying to create an OrderBook agent that can be shared across all ranks. I can share the agent using mpi4py send and receive operations. But based on the documentation here I am assuming self....
Vinay's user avatar
  • 1,189
0 votes
1 answer
62 views

How to simulate an order queue in repast across multiple ranks(processor cores )?

I am just beginning with repast python. I want to simulate a small order handling process with multiple steps. Let's say there are 1000 orders with different order placement timestamps. There are 3 ...
Vinay's user avatar
  • 1,189
0 votes
1 answer
39 views

Is there a way to access the weight of an edge using Repast4Py's network module?

The Repast4py API documentation states there are ways to add edges with weights in a network. Similarly, it states ways to access the number of edges a given vertex has. However, it doesn't seem there ...
Zuddas98's user avatar
0 votes
0 answers
55 views

Repast4py random walk example wit RDMAV_FORK_SAFE error

I run the randomwalk example, but it showed the RDMAV_FORK_SAFE error, "A process has executed an operation involving a call to the fork() system call to create a child process." someone ...
Juzet's user avatar
  • 1
0 votes
0 answers
550 views

use of designated initializers requires at least '/std:c++20' and cannot mix designated-initializers with non-designated-initializers

I want to install repast4py in windows 10, and I enter 'pip install repast4py' in cmd, but It displays errors 'src/repast4py/coremodule.cpp(342): error C7556: cannot mix designated-initializers with ...
Hamed's user avatar
  • 1
0 votes
0 answers
272 views

Could not build wheels for repast4py, which is required to install pyproject.toml-based projects

I want to install repast4py in windows with pip. I enter the 'pip install repast4py' in cmd, but this error displays:Could not build wheels for repast4py, which is required to install pyproject.toml-...
Hamed's user avatar
  • 1
0 votes
0 answers
96 views

I want to install repast4py, how to install repast4py in windows 10?

I want to install repast4py in windows10, But when I enter 'pip install repast4py' in cmd, It displays the error "MPI compiler is not specified. Please specify the MPI compiler using the 'cc' ...
Hamed's user avatar
  • 1
1 vote
1 answer
243 views

How do we start using Repast4Py

I am pretty new to using Ubuntu, so I am not really sure how to start using Repast4py after downloading it. I've ran it before in repast simphony already and that worked fine, but how do I do it in ...
Melonchollie's user avatar