aburrell / apexpy

A Python wrapper for Apex coordinates
MIT License
34 stars 24 forks source link

Unable to install Apexpy #133

Open sreelaxmij opened 2 months ago

sreelaxmij commented 2 months ago

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:

aburrell commented 2 months ago

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 commented 2 months ago

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

aburrell commented 2 months ago

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

sreelaxmij commented 2 months ago

Sounds good.

ljlamarche commented 2 months ago

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 commented 2 months ago

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