File tree 2 files changed +15
-13
lines changed
2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 44
44
repository : JCSDA-internal/ufo
45
45
token : ${{ secrets.GH_PAT }}
46
46
47
- - name : checkout atlas-orca
48
- uses : actions/checkout@v3
49
- with :
50
- path : ci/atlas-orca
51
- repository : ECMWF/atlas-orca
52
-
53
47
- name : checkout atlas-data
54
48
uses : actions/checkout@v3
55
49
with :
64
58
--entrypoint=/usr/local/src/orca-jedi/ci/build-and-test.sh \
65
59
--workdir=/usr/local/src/orca-jedi/ci \
66
60
--volume $PWD:/usr/local/src/orca-jedi \
67
- 'jcsda/docker-gnu-openmpi-dev:latest '
61
+ 'ghcr.io/twsearle/orca-jedi/ci-almalinux9:develop '
Original file line number Diff line number Diff line change @@ -20,7 +20,20 @@ trap finally EXIT
20
20
21
21
cd " ${WORKD} "
22
22
23
- source /opt/spack-environment/activate.sh
23
+ if [[ -f /opt/spack-environment/activate.sh ]]; then
24
+ source /opt/spack-environment/activate.sh
25
+ fi
26
+
27
+ # -- Enable OpenMPI over subscription -----------------------------------------
28
+ if command -v ompi_info & > /dev/null; then
29
+ echo " Check support for MPI_THREAD_MULTIPLE"
30
+ ompi_info | grep -i ' thread support'
31
+ ompi_vn=$( ompi_info | awk ' /Ident string:/ {print $3}' )
32
+ case $ompi_vn in
33
+ 4.* ) export OMPI_MCA_rmaps_base_oversubscribe=1 ;;
34
+ 5.* ) export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe ;;
35
+ esac
36
+ fi
24
37
25
38
echo "
26
39
-------------------------------
@@ -41,11 +54,6 @@ ln -s '..' "${HERE}/orca-jedi"
41
54
ecbuild -S " ${HERE} "
42
55
make -j " ${NPROC} "
43
56
44
- if [[ ! -f share/plugins/atlas-orca.yml ]]; then
45
- echo " ERROR atlas-orca.yml not found!" | tee >( cat >&2 )
46
- exit 1
47
- fi
48
-
49
57
env OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 \
50
58
ATLAS_TRACE=1 ATLAS_DEBUG=1 \
51
59
LD_LIBRARY_PATH=" ${HERE} /lib:${LD_LIBRARY_PATH} " \
You can’t perform that action at this time.
0 commit comments