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

ICE Runner #44

Merged
merged 28 commits into from
Jul 8, 2024
Merged

ICE Runner #44

merged 28 commits into from
Jul 8, 2024

Conversation

suzanmanasreh
Copy link
Contributor

@suzanmanasreh suzanmanasreh commented Jul 6, 2024

Changes in this PR:

  • Fix ICE runner
  • Fix Phoenix runner

I module loaded netcdf-c and hdf5 on ICE and used that to build netcdf-fortran. Building netcdf-fortran myself was pretty tough, but I believe my instructions work for a shared library.

I also noticed that my tests really aren't comprehensive. The compile steps might be passing but it can still throw link errors at run-time. I handled this in the CMakeLists.txt (lines 105-108), and it runs without errors on my ICE account, but I'm not sure about other accounts. Tests should probably run code too. Seems like a separate issue that someone should open though.

This commit says 100+ lines added, but it's mostly duplicated code. Obviously, there needs to be a top-level install script that can call shell code or cmake to install whatever's necessary for each computer, but that's a lot of restructuring that I will leave for the future.

@suzanmanasreh suzanmanasreh changed the title Mock PR to test runner ICE Runner Jul 6, 2024
@suzanmanasreh suzanmanasreh marked this pull request as ready for review July 6, 2024 02:23
@suzanmanasreh suzanmanasreh removed the request for review from sbryngelson July 6, 2024 12:34
@suzanmanasreh suzanmanasreh marked this pull request as draft July 6, 2024 12:34
@suzanmanasreh
Copy link
Contributor Author

suzanmanasreh commented Jul 6, 2024

@sbryngelson is it okay to leave this PR as an ICE runner fix only? Manually installing netcdf-fortran on mac is giving me too much trouble.

@sbryngelson
Copy link
Member

Yes and it's useful to have Mac but you could do Ubuntu also, which might be helpful to get started. you can use a virtual machine on your Mac if needed.

@suzanmanasreh
Copy link
Contributor Author

suzanmanasreh commented Jul 6, 2024

Thanks! I would use docker, but my computer doesn't have enough memory to run it without crashing. I'll see if another VM can take up less resources though.

@suzanmanasreh suzanmanasreh marked this pull request as ready for review July 7, 2024 12:54
@suzanmanasreh suzanmanasreh linked an issue Jul 7, 2024 that may be closed by this pull request
@sbryngelson sbryngelson merged commit 6ca0575 into comp-physics:master Jul 8, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

Replace ml withmodule load (etc.)
2 participants