-
Notifications
You must be signed in to change notification settings - Fork 47
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
[OCCA] Update array methods and remove OCCA internal methods #688
Conversation
c995c4a
to
898d813
Compare
I'm getting clean runs from my account on that same machine. I'll investigate in the morning. I can give you access to the machine if you send me your ssh public key. |
It's clean now on Noether. The
|
- > | ||
cd .. | ||
&& export OCCA_VERSION=occa-1.1.1 OCCA_OPENCL_ENABLED=0 | ||
&& { [[ -d $OCCA_VERSION ]] || { git clone --depth 1 --branch main https://github.com/libocca/occa.git $OCCA_VERSION && make -C $OCCA_VERSION -j$(nproc); }; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than hacking --branch main
here, I'd rather set OCCA_VERSION
to a commit hash if this comes up in the future. (I fixed the issue manually this time.) I suppose in this instance you plan to tag v1.1.1 on the current 'main'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved once the OCCA_VERSION
stuff in .gitlab-ci.yml
is amended (and pipelines pass again).
Oh awesome, I'll go ahead and tag 1.1.1 later this weekend and update |
77c9dc9
to
38827cf
Compare
b7be2d1
to
0621775
Compare
Hmm, it would appear that hipcc doesn't like what it's getting. I tried clearing the cache and rebuilding occa and libceed, but I still get failures in some tests.
|
Weird, I'm able to compile that file with the same command except different input/output files 🤔
|
Where did you see that error trace? |
I tried |
Do those pass for you somewhere? It seems like they should be fixed before trying to debug in libCEED. |
The above tests did not fail with c596688eba56dc2c6c45aae04128be260fedc7c0, though some other OpenCL tests did fail. Perhaps you can bisect on Noether? |
🤦♂️ I think it's because OCCA can't find
|
Actually, it's still crashing for some reason 🤔
|
Ah, found the issue. Will fix soon, although I want to wait for 1 more big PR before tagging + releasing the next version. |
Per libocca/occa#449 (comment)
I cleaned and rebuilt with cc9bd4fb1d66d6a377f7f9683eb7b38ffd3cae00 (current 'main') and got lots of errors due to the race conditions, ran the tests again and got lots of numeric diffs. This will show you the problematic ones quickly.
|
Seems like it fails for This error might help:
|
@dmed256 Have you had time to get back to this? I see OCCA 1.1.1 has not been released yet. We'd like to be able to include your updates in the upcoming libCEED-0.8 release (part of CEED 4.0, which should probably include new OCCA). |
@dmed256 Is there any chance you can get to this, at least to the extent that known bugs generate errors and thus we can merge? Will there be a new OCCA release in this year's CEED distribution? |
Disabling OCCA because backend updates did not make this release and there are some known bugs so most users won't have reason to use OCCA. CEED/libCEED#688
Disabling OCCA because backend updates did not make this release and there are some known bugs so most users won't have reason to use OCCA. CEED/libCEED#688
Disabling OCCA because backend updates did not make this release and there are some known bugs so most users won't have reason to use OCCA. CEED/libCEED#688
* petsc: add hip variant * libceed: add 0.8, disable occa by default, and let autodetect AVX Disabling OCCA because backend updates did not make this release and there are some known bugs so most users won't have reason to use OCCA. CEED/libCEED#688 * WIP: ceed: 4.0 release * MFEM package updates (#19748) * MFEM package updates * mfem: flake8 * [mfem] Various fixes and tweaks. [arpack-ng] Add a patch to fix building with IBM XL Fortran. [libceed] Fix building with IBM XL C/C++. [pumi] Add C++11 flag for version 2.2.3. * [mfem] Fix the shared CUDA build. Reported by: @MPhysXDev * [mfem] Fix a TODO item * [mfem] Tweak the AmgX dependencies * [suite-sparse] Fix the version of the mpfr dependency * MFEM: add initial HIP support using the ROCmPackage. * MFEM: add 'slepc' variant. * MFEM: update the patch for v4.2 for SLEPc. * mfem: apply 'mfem-4.2-slepc.patch' just to v4.2. * ceed: apply 'spack style' * [mfem] Add a patch for mfem v4.2 to work with petsc v3.15.0. [laghos] Add laghos version 3.1 based on the latest commit in the repository; this version works with mfem v4.2. [ceed] For ceed v4.0 use laghos v3.1. * [libceed] Explicitly set 'CC_VENDOR=icc' when using 'intel' compiler. * [mfem] Allow pumi >= 2.2.3 with mfem >= 4.2.0. [ceed] Use pumi v2.2.5 with ceed v4.0.0. * [ceed] Explicitly use occa v1.1.0 with ceed v4.0.0. Use [email protected]+rocm with [email protected]+mfem+hip. * [ceed] Add NekRS v21 as a dependency for ceed v4.0.0. * [ceed] Fix NekRS version: 21 --> 21.0 * [ceed] Propagate +cuda variant to petsc for ceed v4.0. * [mfem] Propagate '+rocm' variant to some other packages. * [ceed] Use +rocm variant of nekrs instead of +hip. * [ceed] Do not enable magma with [email protected]+hip. * [libceed] Fix hip build with [email protected]. * [laghos] For v3.1, use the release .tar.gz file instead of commit. * Remove cuda & hip variants as they are inherited * [ceed] Remove comments and FIXMEs about 'magma+hip'. * [ceed] [libceed] Remove TODOs about occa + hip. * libceed: use ROCmPackage and +rocm * petsc: use ROCmPackage for HIP * libceed, petsc: use CudaPackage * ceed: forward cuda_arch and amdgpu_target * [mfem] Use Spack's CudaPackage as a base class; as a result, 'cuda_arch' values should not include the 'sm_' prefix. Also, propagate 'cuda_arch' and 'amdgpu_target' variants to enabled dependencies. * petsc: variant is +rocm, package name is hip Co-authored-by: Jed Brown <[email protected]> Co-authored-by: Thilina Rathnayake <[email protected]>
* petsc: add hip variant * libceed: add 0.8, disable occa by default, and let autodetect AVX Disabling OCCA because backend updates did not make this release and there are some known bugs so most users won't have reason to use OCCA. CEED/libCEED#688 * WIP: ceed: 4.0 release * MFEM package updates (spack#19748) * MFEM package updates * mfem: flake8 * [mfem] Various fixes and tweaks. [arpack-ng] Add a patch to fix building with IBM XL Fortran. [libceed] Fix building with IBM XL C/C++. [pumi] Add C++11 flag for version 2.2.3. * [mfem] Fix the shared CUDA build. Reported by: @MPhysXDev * [mfem] Fix a TODO item * [mfem] Tweak the AmgX dependencies * [suite-sparse] Fix the version of the mpfr dependency * MFEM: add initial HIP support using the ROCmPackage. * MFEM: add 'slepc' variant. * MFEM: update the patch for v4.2 for SLEPc. * mfem: apply 'mfem-4.2-slepc.patch' just to v4.2. * ceed: apply 'spack style' * [mfem] Add a patch for mfem v4.2 to work with petsc v3.15.0. [laghos] Add laghos version 3.1 based on the latest commit in the repository; this version works with mfem v4.2. [ceed] For ceed v4.0 use laghos v3.1. * [libceed] Explicitly set 'CC_VENDOR=icc' when using 'intel' compiler. * [mfem] Allow pumi >= 2.2.3 with mfem >= 4.2.0. [ceed] Use pumi v2.2.5 with ceed v4.0.0. * [ceed] Explicitly use occa v1.1.0 with ceed v4.0.0. Use [email protected]+rocm with [email protected]+mfem+hip. * [ceed] Add NekRS v21 as a dependency for ceed v4.0.0. * [ceed] Fix NekRS version: 21 --> 21.0 * [ceed] Propagate +cuda variant to petsc for ceed v4.0. * [mfem] Propagate '+rocm' variant to some other packages. * [ceed] Use +rocm variant of nekrs instead of +hip. * [ceed] Do not enable magma with [email protected]+hip. * [libceed] Fix hip build with [email protected]. * [laghos] For v3.1, use the release .tar.gz file instead of commit. * Remove cuda & hip variants as they are inherited * [ceed] Remove comments and FIXMEs about 'magma+hip'. * [ceed] [libceed] Remove TODOs about occa + hip. * libceed: use ROCmPackage and +rocm * petsc: use ROCmPackage for HIP * libceed, petsc: use CudaPackage * ceed: forward cuda_arch and amdgpu_target * [mfem] Use Spack's CudaPackage as a base class; as a result, 'cuda_arch' values should not include the 'sm_' prefix. Also, propagate 'cuda_arch' and 'amdgpu_target' variants to enabled dependencies. * petsc: variant is +rocm, package name is hip Co-authored-by: Jed Brown <[email protected]> Co-authored-by: Thilina Rathnayake <[email protected]>
* petsc: add hip variant * libceed: add 0.8, disable occa by default, and let autodetect AVX Disabling OCCA because backend updates did not make this release and there are some known bugs so most users won't have reason to use OCCA. CEED/libCEED#688 * WIP: ceed: 4.0 release * MFEM package updates (spack#19748) * MFEM package updates * mfem: flake8 * [mfem] Various fixes and tweaks. [arpack-ng] Add a patch to fix building with IBM XL Fortran. [libceed] Fix building with IBM XL C/C++. [pumi] Add C++11 flag for version 2.2.3. * [mfem] Fix the shared CUDA build. Reported by: @MPhysXDev * [mfem] Fix a TODO item * [mfem] Tweak the AmgX dependencies * [suite-sparse] Fix the version of the mpfr dependency * MFEM: add initial HIP support using the ROCmPackage. * MFEM: add 'slepc' variant. * MFEM: update the patch for v4.2 for SLEPc. * mfem: apply 'mfem-4.2-slepc.patch' just to v4.2. * ceed: apply 'spack style' * [mfem] Add a patch for mfem v4.2 to work with petsc v3.15.0. [laghos] Add laghos version 3.1 based on the latest commit in the repository; this version works with mfem v4.2. [ceed] For ceed v4.0 use laghos v3.1. * [libceed] Explicitly set 'CC_VENDOR=icc' when using 'intel' compiler. * [mfem] Allow pumi >= 2.2.3 with mfem >= 4.2.0. [ceed] Use pumi v2.2.5 with ceed v4.0.0. * [ceed] Explicitly use occa v1.1.0 with ceed v4.0.0. Use [email protected]+rocm with [email protected]+mfem+hip. * [ceed] Add NekRS v21 as a dependency for ceed v4.0.0. * [ceed] Fix NekRS version: 21 --> 21.0 * [ceed] Propagate +cuda variant to petsc for ceed v4.0. * [mfem] Propagate '+rocm' variant to some other packages. * [ceed] Use +rocm variant of nekrs instead of +hip. * [ceed] Do not enable magma with [email protected]+hip. * [libceed] Fix hip build with [email protected]. * [laghos] For v3.1, use the release .tar.gz file instead of commit. * Remove cuda & hip variants as they are inherited * [ceed] Remove comments and FIXMEs about 'magma+hip'. * [ceed] [libceed] Remove TODOs about occa + hip. * libceed: use ROCmPackage and +rocm * petsc: use ROCmPackage for HIP * libceed, petsc: use CudaPackage * ceed: forward cuda_arch and amdgpu_target * [mfem] Use Spack's CudaPackage as a base class; as a result, 'cuda_arch' values should not include the 'sm_' prefix. Also, propagate 'cuda_arch' and 'amdgpu_target' variants to enabled dependencies. * petsc: variant is +rocm, package name is hip Co-authored-by: Jed Brown <[email protected]> Co-authored-by: Thilina Rathnayake <[email protected]>
Closed as stale for 533 days |
Description
occa::memory::ptr()
andocca::device::wrapMemory
methodsmain
->v1.1.1
&& (cd $OCCA_VERSION && git reset --hard origin/main)