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

Athena interface does not build / can not find get_comm_world #1100

Open
christianboily opened this issue Jan 15, 2025 · 2 comments
Open

Athena interface does not build / can not find get_comm_world #1100

christianboily opened this issue Jan 15, 2025 · 2 comments
Labels

Comments

@christianboily
Copy link

Describe the bug
The community code Athena is a grid hydro solver working in 2D/3D : the amuse interface (4.0.1) does not compile

To Reproduce
$(AMUSEDIR)/make athena.code DOWNLOAD_CODES=0

Expected behavior
Should recover at least a one-processor worker in the community/athena directory/

Logs
mpicc -g -O2 -fno-common -g -O2 -fno-common -DAMUSE -g -Ibuild/src -I/opt/work/cmb/Amuse/Amuse_15.2/amuse-source//lib/stopcond -c -o build/interface_4.1.o interface_4.1.c
interface_4.1.c: In function 'initialize_code':
interface_4.1.c:403:5: error: implicit declaration of function 'get_comm_world' [-Wimplicit-function-declaration]

Environment (please complete the following information):
Compiler : mpicc = gcc-mp-14 (MacPorts gcc14 14.2.0_3+stdlib_flag) 14.2.0

OS : @ OSX 15.2 (Sequoia)

Additional context
Every other sub-code compiles and in fact the whole package compiled just fine last summer (OSX Somosa 14.7) and
that seems to do with newer mpi scripts at McPorts ? Most (5/6) libraries compile on my installation (not Saporo, no GPU)
and about 46 of 52 codes. Not Athena sadly.

Add any other context about the problem here.

@LourensVeen
Copy link
Collaborator

Hi Christian,

You're absolutely right that things aren't working as well as we'd like for them to. I've been working on fixing the AMUSE build system (#1024) and the various codes and I'm approaching a new release with many fixes, including a bunch for Athena.

You could try to backport some of those (they're on this branch: https://github.com/LourensVeen/amuse/tree/convert-athena), but there are also some major changes to the whole setup, so that may take a bit of effort.

Alternatively, that new release should be in the near future, assuming that things that were previously fixed don't suddenly break again, like MESA did the other day. A couple weeks, hopefully.

@christianboily
Copy link
Author

christianboily commented Jan 15, 2025 via email

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

No branches or pull requests

2 participants