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

make test error #183

Open
ask-more-questions opened this issue Aug 11, 2022 · 8 comments
Open

make test error #183

ask-more-questions opened this issue Aug 11, 2022 · 8 comments

Comments

@ask-more-questions
Copy link

Hi, i have a problem on the make test step in the Installation. And i have tried some methods mentioned online and failed , and i wonder why this package was not install correctly. i appreciate it that you made a guidebook for your package but i may need some extra help.

image

Best wishes

@mattjones315
Copy link
Collaborator

Hello,

Thanks for the posted issue here and apologies for the delay. It appears that you did not install Cassiopeia correctly. If you have cloned the repository, can you please ensure that everything installs correctly if you run make install?

Thanks,
Matt

@ask-more-questions
Copy link
Author

Hi Matt,
Thanks for your response .
Yes,I have installed from the respsitory, and run make install. And all the errors seems to be related to the module cassiopeia.preprocess.collapse_cython. This snip below is the returned result. I wonder what could be the problem
image

@ask-more-questions
Copy link
Author

Hi Matt, i have solved the problem here. So close this question here

@pavelToman
Copy link

Hello, I am facing the same error after installation. Could you tell me how you solved this problem with cassiopeia.preprocess.collapse_cython please?

@mattjones315
Copy link
Collaborator

Hi @pavelToman,

Can you let me know how you are attempting to install Cassiopeia? Are you sure you have Cython installed and a gcc compiler?

Thanks,
Matt

@mattjones315 mattjones315 reopened this Mar 25, 2024
@pavelToman
Copy link

pavelToman commented Mar 25, 2024

Hello @mattjones315,
I am working for UGent HPC and we are using Easybuild for installing the scientific software.
I have GCC 12.3.0 and Cython 0.29.35.
For an installation I am not using your "make install" but our "PythonBundle" easyconfig - it can handle dependencies better for HPC, but still using pip install and setup.py build.
python -c "import cassiopeia" check passed OK.

@mattjones315
Copy link
Collaborator

Hi @pavelToman,

I'm not familiar with UGent or Easybuild, but I suspect that the cython files are not getting compiled correctly. Are you able to use make install as opposed to Easybuild for the purposes of testing if this is the issue?

I would suggest installing into a clean conda environment with 3.9<=python<=3.7.

Thanks,
Matt

@pavelToman
Copy link

Thank you for your response Matt,
I am able to use your "make install" but I have to use python 3.11.3 and I can not use conda. Best way is to install from source.
I have a log from the installing process, if it helps.
cassiopeia_log.txt

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

3 participants