- Notifications
You must be signed in to change notification settings - Fork0
License
NotificationsYou must be signed in to change notification settings
ORNL/SAGESim
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- Python 3.11+
- NVIDIA GPU with CUDA drivers or AMD GPU with ROCm 5.7.1+
Your system might require specific steps to installingmpi4py
and/orcupy
depending on your hardware.In that case use your systems recommended instructions to installmpi4py
andcupy
and execute:
pip install sagesim
git clone https://code.ornl.gov/sagesim/sagesim
cd /path/to/clone_repo/examples/sir
mpirun -n 4 python run.py --num_agents 10000 --percent_init_connections 0.1 --num_nodes 1
- nan checked by inequality to self. Unfortunate limitation of cupyx.
- Dicts and objects are unsupported.
- *args and **kwargs are unsupported.
- nested functions are unsupported.
- Be sure to use
cupy
data types and array routines in favor ofnumpy
: [https://docs.cupy.dev/en/stable/reference/routines.html] for
loops must use range iterator only. No 'for each' style loops.return
does not seem to work well eitherbreak
andcontinue
are unsupported!- Cannot reassign variables within
if
orfor
statements. Must be assigned at top level of function or new variable declared under subscope. -1
indexing does not necessarily work as expected, as it will access the last element of the memory block of the array instead of the logical array. Uselen(my_array) - 1
instead
About
No description, website, or topics provided.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.