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

Issues building any of the stable models #189

Open
ahmedalalousi opened this issue Mar 14, 2024 · 3 comments
Open

Issues building any of the stable models #189

ahmedalalousi opened this issue Mar 14, 2024 · 3 comments

Comments

@ahmedalalousi
Copy link

Hi,

Having issues building any of the published stable models. Tried the airport and torus models: same error (output of make attached). Seems that g_tw_npe has either been moved, redefined ...etc., since this error is consistent across all models.

Any help gratefully received.

Ahmed.
outfile.txt

@helq
Copy link
Member

helq commented Mar 15, 2024

Hi Ahmed, yes, g_tw_npe was removed a while ago. Once upon a time, ROSS supported multithreaded execution and MPI. Nowadays, it only supports parallelization via MPI. That variable indicated how many PEs were spawn in a specific MPI rank. That value is now 1. So, you can replace it for 1 anywhere you find it.

As for g_tw_pe, it was a pointer to an array of PEs. It is now just a pointer. So, the brackets in tw_kp_onpe(kpid, g_tw_pe[0]) should be removed: tw_kp_onpe(kpid, g_tw_pe).

There might be a couple more issues with ROSS-Models, it was archived after all right at the time when the changes above were being implemented.

There are a couple of models that work out of the box with the current version of ROSS, if you wanna try them. They are meant to be very simple models too: https://github.com/helq/highlife-ross/ and https://github.com/sanjaychari/ROSS-coffeeshop.

I hope that helps, don't forget to check out the FAQ

@ahmedalalousi
Copy link
Author

ahmedalalousi commented Mar 15, 2024 via email

@helq
Copy link
Member

helq commented Mar 16, 2024

tw_getpe was also removed. Try replacing that line with "pe = g_tw_pe".

If you wanna try a more complete, although unmaintained, torus network model, check out CODES. I suggest you run the script CODES-compile-script.sh to get a working CODES binary. Check our most recent wiki entry, which focuses on the dragonfly model but gives you a nice tar.gz with a couple of examples of how to run a dragonfly model. Once you have the binary and can run an experiment with the dragonfly model, you can try running a torus network by unpacking the example attached to this comment :).

I hope that helps

torus-64.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants