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

Questions and Issues While Using TRES Code #10

Open
lee0517-hub opened this issue Dec 20, 2024 · 2 comments
Open

Questions and Issues While Using TRES Code #10

lee0517-hub opened this issue Dec 20, 2024 · 2 comments

Comments

@lee0517-hub
Copy link

Dear TRES Developers,

First of all, I would like to express my sincere gratitude for your outstanding work on TRES, which is an incredibly powerful tool for triple star evolution.

I have been following the AMUSE documentation to set up the environment for TRES. Specifically, I installed AMUSE in development mode using pip install -e ., compiled the SEBA code with make seba.code, and then compiled TRES. Afterward, I tried running the simple example provided in your documentation, but encountered an error, as shown in below
2024-12-20 21-02-40屏幕截图
I attempted to resolve the issue by setting the environment variable export RDMAV_FORK_SAFE=1, as suggested in the error message. However, the problem persisted, and I received another error,
2024-12-20 21-04-15屏幕截图
To further investigate, I exited the AMUSE virtual environment and ran TRES.py without MPI. Surprisingly, the code executed successfully in this setup and just warning MPI not available. This leads me to suspect that there might be an issue with one of the compilation steps or with how MPI interacts with TRES within the AMUSE environment.

Additionally, I have a couple of questions regarding the output of TRES:

-- How can I determine if CHE has occurred in the inner binary from the output files?

-- Is there a more detailed tutorial or documentation available to help new users like me get started with TRES more quickly?

I would greatly appreciate any guidance or suggestions you can provide to resolve these issues and improve my understanding of TRES.

Thank you very much for your time and support.

Best regards,
Li Lei

@lee0517-hub
Copy link
Author

Additionally, I attempted to enable the include_CHE option by editing the constants.C file in SeBa to ensure the case include_CHE returns true, then recompiled the code. Despite these changes, I still receive a terminal prompt indicating that include_CHE=True is required. Could there be another configuration or setting that needs adjustment to properly enable this feature?

@rieder
Copy link
Member

rieder commented Dec 23, 2024

I'm on holiday for the next two weeks, I will get back to you afterwards.

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