Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
cdb40abe
Commit
cdb40abe
authored
3 years ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
Add CI script for MPI-enabled configurations on Breeze with Clang 12.0.1.
parent
ea1cd5fe
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/bb/breeze-mpim/test.all.clang-12.0.1
+32
-0
32 additions, 0 deletions
.ci/bb/breeze-mpim/test.all.clang-12.0.1
.ci/bb/breeze-mpim/utils.sh
+32
-0
32 additions, 0 deletions
.ci/bb/breeze-mpim/utils.sh
with
64 additions
and
0 deletions
.ci/bb/breeze-mpim/test.all.clang-12.0.1
0 → 100755
+
32
−
0
View file @
cdb40abe
#!/bin/bash
set
-eu
set
-o
pipefail
script_dir
=
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
)
top_srcdir
=
$(
cd
"
${
script_dir
}
/../../.."
;
pwd
)
.
"
${
script_dir
}
/utils.sh"
init_clang1201
test
-f
"
${
top_srcdir
}
/configure"
||
"
${
top_srcdir
}
/autogen.sh"
"
${
top_srcdir
}
/configure"
\
--disable-maintainer-mode
\
--enable-cf-interface
\
--enable-iso-c-interface
\
--enable-mpi
\
--enable-option-checking
=
fatal
\
--enable-ppm-dist-array
\
--with-eccodes
=
"
${
ECCODES_ROOT
}
"
\
--with-netcdf
=
"
${
NETCDF_ROOT
}
"
\
CC
=
"
${
MPICC
}
"
\
FC
=
"
${
MPIFC
}
"
\
MPI_LAUNCH
=
"
${
MPI_LAUNCH
}
"
\
PKG_CONFIG_PATH
=
"
${
YAXT_ROOT
}
/lib/pkgconfig:
${
PPM_ROOT
}
/lib/pkgconfig"
make
-j8
make
-j8
check
||
{
cat
tests/test-suite.log
;
exit
1
;
}
check_all_tests_passed tests/test-suite.log
This diff is collapsed.
Click to expand it.
.ci/bb/breeze-mpim/utils.sh
+
32
−
0
View file @
cdb40abe
...
...
@@ -137,6 +137,38 @@ init_nv2130 ()
export
LD_LIBRARY_PATH
=
"
${
ECCODES_ROOT
}
/lib:
${
HDF5_ROOT
}
/lib:
${
LD_LIBRARY_PATH
-
}
"
}
#
# Sets variables for tests with Clang 12.0.1.
#
init_clang1201
()
{
init_env
switch_for_module gcc/6.3.0
export
PATH
=
"/data/mpi/sclab/sip/m300488/clang/12.0.1/bin:
${
PATH
-
}
"
# Clang does not inject RPATHs to the standard library in use:
export
LD_LIBRARY_PATH
=
"/sw/stretch-x64/gcc/gcc-6.3.0/lib64:
${
LD_LIBRARY_PATH
-
}
"
CC
=
clang
CXX
=
clang++
FC
=
gfortran
export
PATH
=
"/data/mpi/sclab/sip/m300488/libcdi-ci-sw/clang-12.0.1-sandybridge/openmpi-4.1.1-6ydagyy/bin:
${
PATH
-
}
"
MPICC
=
mpicc
MPIFC
=
mpif90
MPI_LAUNCH
=
"
$(
which mpirun
)
--oversubscribe"
ECCODES_ROOT
=
'/data/mpi/sclab/sip/m300488/libcdi-ci-sw/gcc-6.3.0-sandybridge/eccodes-2.21.0-3sdngaq'
NETCDF_ROOT
=
'/data/mpi/sclab/sip/m300488/libcdi-ci-sw/clang-12.0.1-sandybridge/netcdf-c-4.8.0-z6r5guk'
PPM_ROOT
=
'/data/mpi/sclab/sip/m300488/libcdi-ci-sw/clang-12.0.1-sandybridge/scales-ppm-1.0.7-5mhatgx'
YAXT_ROOT
=
'/data/mpi/sclab/sip/m300488/libcdi-ci-sw/clang-12.0.1-sandybridge/yaxt-0.9.2.1-cj2nf5j'
# Here we fix a never-ending story with Libtool overlinkning, absence of
# '*.la' files when they could help, and '-Wl,--disable/enable-new-dtags':
HDF5_ROOT
=
'/data/mpi/sclab/sip/m300488/libcdi-ci-sw/clang-12.0.1-sandybridge/hdf5-1.10.7-4y54xnh'
export
LD_LIBRARY_PATH
=
"
${
ECCODES_ROOT
}
/lib:
${
HDF5_ROOT
}
/lib:
${
LD_LIBRARY_PATH
-
}
"
}
#
# Accepts a path to a file containing the testsuite summary (either the
# 'test-suite.log' or the standard output of the 'make check' command) and
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment