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

Installation issue: G2 using GNU on Hera #475

Closed
4 tasks done
RatkoVasic-NOAA opened this issue Sep 3, 2024 · 2 comments
Closed
4 tasks done

Installation issue: G2 using GNU on Hera #475

RatkoVasic-NOAA opened this issue Sep 3, 2024 · 2 comments
Assignees

Comments

@RatkoVasic-NOAA
Copy link
Collaborator

Steps to reproduce the issue

Using GNU compiler on Hera, G2 lib failed.

Error message

/contrib/spack-stack/spack-stack-1.8.0/cache/build_stage/role.epic/spack-stage-g2-3.5.1-up4jxdlwolgfgjlza4lxn4c57zr6azpw/spack-src/src/g2create.F90:263:16:

  263 |   allones = int(Z'FFFFFFFF')
      |                1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check'

Information on your system

spack-stack-1.8.0, GNU, Hera

Additional information

Fixed issue by adding compile argument: -fno-range-check in spack/var/spack/repos/builtin/packages/g2/package.py file.
Pull request is coming.

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate
@RatkoVasic-NOAA RatkoVasic-NOAA self-assigned this Sep 3, 2024
@RatkoVasic-NOAA
Copy link
Collaborator Author

@AlexanderRichert-NOAA , @Hang-Lei-NOAA, @edwardhartnett
I'm creating PR right now.

@climbfuji
Copy link
Collaborator

Closed via JCSDA/spack-stack#1287

@github-project-automation github-project-automation bot moved this from In Progress to Done in spack-stack-1.8.0 (2024 Q3) Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants