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

Unable to install Apexpy #133

Open
sreelaxmij opened this issue Jun 12, 2024 · 6 comments
Open

Unable to install Apexpy #133

sreelaxmij opened this issue Jun 12, 2024 · 6 comments
Labels

Comments

@sreelaxmij
Copy link

Describe the bug
FC=/glade/u/apps/casper/23.10/spack/opt/spack/ncarcompilers/1.0.0/oneapi/2023.2.1/mai6/bin/gfortran CC=/glade/u/apps/casper/23.10/spack/opt/spack/ncarcompilers/1.0.0/oneapi/2023.2.1/mai6/bin/gcc python -m build .

FC=/glade/u/apps/casper/23.10/spack/opt/spack/ncarcompilers/1.0.0/oneapi/2023.2.1/mai6/bin/gfortran: Command not found.

Expected behavior

Install apexpy.

Computer

Please provide the following information:

  • OS: Linux
  • Python version: Python 3.10.13
  • Compiler with version: GNU Fortran (SUSE Linux) 7.5.0 , gcc (SUSE Linux) 7.5.0
@sreelaxmij sreelaxmij added the bug label Jun 12, 2024
@aburrell
Copy link
Owner

Hi @sreelaxmij! Thanks for submitting the issue. I know this is happening in a Jupyter Hub environment. Is there any way @ljlamarche can get access to it and try to debug?

@sreelaxmij
Copy link
Author

Hi @aburrell, can we sit together and figure it today sometime, when you and @ljlamarche has time?

@aburrell
Copy link
Owner

I can get together with you after lunch today @sreelaxmij. Meet me in the lobby at 13:30?

@sreelaxmij
Copy link
Author

Sounds good.

@ljlamarche
Copy link
Collaborator

Unfortunately I'm not actually at CEDAR. @aburrell has told me that this seems to be related to a jupyter hub instance, so a few things you might want to try (you probably have tried some of these already):

  1. Can you compile and run a simple "hello world" fortran code from a terminal interface OUTSIDE of juypyter?
  2. Can you compile and run a simple "hello world" fortran code with the terminal interface WITHIN jupyter?
  3. Do the above tests work fine with gcc even if one or both of them fails with gfortran?
  4. Does the kernal juptyer is using have gfortran available? Just because the environment jupyter is launched out of has it doesn't mean the kernel it's using does.
  5. Is the an option to change what kernel you're using?

If it helps, here are some hello world test programs you can pull from that I've compiled pretty much exactly for trying to troubleshoot this kind of thing...

@sreelaxmij
Copy link
Author

Sure @ljlamarche, I will try these and get back to you. Thanks!

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

3 participants