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

Add support for the Intel ifx compiler #101

Merged
merged 4 commits into from
May 6, 2024
Merged

Add support for the Intel ifx compiler #101

merged 4 commits into from
May 6, 2024

Conversation

harshula
Copy link
Collaborator

@harshula harshula commented May 1, 2024

[Updated 06/05/2024]

This PR is the first step to addressing Issue #52
Fixes: ==> Error: KeyError: 'oneapi'

@harshula harshula requested a review from penguian May 1, 2024 15:59
@harshula harshula self-assigned this May 1, 2024
Copy link
Contributor

@penguian penguian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please either fix the failing syntax checks, or add an Issue so that they will be addressed. As far as I can tell, this change should not break anything that already works, such as the intel builds. Please fix any oneapi compiler problems in the next iteration of development, or in a feature branch, after describing the problems in an Issue. Approved.

packages/oasis3-mct/package.py Show resolved Hide resolved
packages/cice4/package.py Show resolved Hide resolved
@penguian
Copy link
Contributor

penguian commented May 6, 2024

Build of cice4%oneapi ([email protected]) failed with an Internal Compiler Error.

==> Installing oasis3-mct-access-esm1.5-yujzgp5gkiyr37ps73gfcwvsb4gwjy7v [17/18]
==> No binary for oasis3-mct-access-esm1.5-yujzgp5gkiyr37ps73gfcwvsb4gwjy7v found: installing from source
==> No patches needed for oasis3-mct
==> oasis3-mct: Executing phase: 'edit'
==> oasis3-mct: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-f' 'TopMakefileOasis3'

3 errors found in build log:
     364             #23 0x00000000020ab129
     365    
     366    /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-oasis3-mct-access-esm1.5-yujzgp5gkiyr37ps73gfcwvsb4gwjy7v/spack-src/lib/psmile/src/mod_oasis_method.F90(652): error #5623: **Internal compiler error: internal abort** Please 
            report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
     367       tag=ICHAR(TRIM(compnm))+ICHAR(TRIM(cdnam))
     368    -------^
     369    compilation aborted for /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-oasis3-mct-access-esm1.5-yujzgp5gkiyr37ps73gfcwvsb4gwjy7v/spack-src/lib/psmile/src/mod_oasis_method.F90 (code 3)
  >> 370    make[2]: *** [Makefile:30: mod_oasis_method.o] Error 3
     371    make[2]: Leaving directory '/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-oasis3-mct-access-esm1.5-yujzgp5gkiyr37ps73gfcwvsb4gwjy7v/spack-src/compile_oa3-mct/build/lib/psmile.MPI1'
  >> 372    make[1]: *** [TopMakefileOasis3:72: makepsmile] Error 2
     373    make[1]: Leaving directory '/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-oasis3-mct-access-esm1.5-yujzgp5gkiyr37ps73gfcwvsb4gwjy7v/spack-src/util/make_dir'
  >> 374    make: *** [TopMakefileOasis3:30: default] Error 2

See build log for details:
  /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-oasis3-mct-access-esm1.5-yujzgp5gkiyr37ps73gfcwvsb4gwjy7v/spack-build-out.txt

==> Warning: Skipping build of cice4-access-esm1.5-tdcc5b3ufuzyhvdkezfye434bkdgbymv since oasis3-mct-access-esm1.5-yujzgp5gkiyr37ps73gfcwvsb4gwjy7v failed
==> Error: cice4-access-esm1.5-tdcc5b3ufuzyhvdkezfye434bkdgbymv: Package was not installed
==> Error: Installation request failed.  Refer to reported errors for failing package(s).

@harshula harshula merged commit 49b0865 into main May 6, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants