Skip to content

Commit

Permalink
[guix] Fix ci job 'test guix container eve'.
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke committed Nov 3, 2023
1 parent e8c714b commit 8b0e75f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .guix/modules/ogs-package.scm
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
zlib
vtk
xmlpatch))
(native-inputs (list git ninja nss-certs)) ; TODO: cpm
(native-inputs (list git ninja nss-certs))
(synopsis "OpenGeoSys")
(description
"Simulation of thermo-hydro-mechanical-chemical (THMC) processes in porous and fractured media")
Expand Down
5 changes: 3 additions & 2 deletions scripts/ci/jobs/build-guix.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
variables:
GUIX_PETSC_CONTAINER: /data/ogs/apptainer/guix/ogs-petsc_head.squashfs
XDMF_CONTAINER: /data/ogs/apptainer/ogscm/gcc-default-system-cmake-3491dc36-2457864993c8.sif
GUIX_COMMIT: 8d70ff3a49f7cdf0eab93b3a1c54ec2f016afc4a

build guix:
Expand Down Expand Up @@ -55,6 +56,6 @@ test guix container eve:
- while true; do grep "$jid" < <(squeue -hj "$jid") || break; sleep 10; done &> /dev/null & tail -F /work/$USER/test-guix-container_$jid.out --pid="$!" || true
- exit_code=$(sacct -j $jid.0 --format=ExitCode --noheader | cut -d':' -f1)
- cd $work_dir
- apptainer exec ${GUIX_PETSC_CONTAINER} xdmfdiff -a pressure -b pressure --rel 1e-3 --abs 1e-3 EllipticPETSc/cube_1e3_np3.xdmf cube_1e3_np3_cube_1x1x1_hex_1e3.xdmf
- apptainer exec ${GUIX_PETSC_CONTAINER} xdmfdiff -a v -b v --rel 1e-3 --abs 1e-3 EllipticPETSc/cube_1e3_np3.xdmf cube_1e3_np3_cube_1x1x1_hex_1e3.xdmf
- apptainer exec ${XDMF_CONTAINER} xdmfdiff -a pressure -b pressure --rel 1e-3 --abs 1e-3 EllipticPETSc/cube_1e3_np3.xdmf cube_1e3_np3_cube_1x1x1_hex_1e3.xdmf
- apptainer exec ${XDMF_CONTAINER} xdmfdiff -a v -b v --rel 1e-3 --abs 1e-3 EllipticPETSc/cube_1e3_np3.xdmf cube_1e3_np3_cube_1x1x1_hex_1e3.xdmf
- exit ${exit_code}

0 comments on commit 8b0e75f

Please sign in to comment.