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
68894caf
Commit
68894caf
authored
2 years ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
Move CI script for NAG 6.2 to Breeze.
parent
fe20219e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!14
Draft: K202125/cdi 1.8.x pio merge followup
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/bb/breeze-mpim/test.all.nag-6.2.6223
+3
-5
3 additions, 5 deletions
.ci/bb/breeze-mpim/test.all.nag-6.2.6223
.ci/bb/breeze-mpim/utils.sh
+45
-0
45 additions, 0 deletions
.ci/bb/breeze-mpim/utils.sh
with
48 additions
and
5 deletions
.ci/bb/
mistral-dkrz
/test.all.nag-6.2.6223
→
.ci/bb/
breeze-mpim
/test.all.nag-6.2.6223
+
3
−
5
View file @
68894caf
...
...
@@ -12,7 +12,6 @@ init_nag626223
test
-f
"
${
top_srcdir
}
/configure"
||
"
${
top_srcdir
}
/autogen.sh"
# Create a distribution file with minimalistic configuration:
switch_for_module texlive
"
${
top_srcdir
}
/configure"
make
-j8
dist
...
...
@@ -27,10 +26,7 @@ tar xf cdi-*.tar.gz
mkdir
build
&&
cd
build
# Use GCC from the path when compiling/linking Fortran code:
FCFLAGS
=
"-Wc=
$(
which gcc
)
"
# MPI library is built with -kind=byte, therefore we have to specify it here:
FCFLAGS+
=
' -g -kind=byte'
FCFLAGS
=
"-O2 -g -Wc=
$(
which gcc
)
"
# Create an out-of-source configuration:
../cdi-
*
/configure
\
...
...
@@ -43,8 +39,10 @@ FCFLAGS+=' -g -kind=byte'
--with-eccodes
=
"
${
ECCODES_ROOT
}
"
\
--with-netcdf
=
"
${
NETCDF_ROOT
}
"
\
CC
=
"
${
MPICC
}
"
\
CPPFLAGS
=
"-I
${
UUID_ROOT
}
/include"
\
FC
=
"
${
MPIFC
}
"
\
FCFLAGS
=
"
${
FCFLAGS
}
"
\
LDFLAGS
=
"-I
${
UUID_ROOT
}
/lib"
\
MPI_LAUNCH
=
"
${
MPI_LAUNCH
}
"
\
PKG_CONFIG_PATH
=
"
${
YAXT_ROOT
}
/lib/pkgconfig:
${
PPM_ROOT
}
/lib/pkgconfig"
...
...
This diff is collapsed.
Click to expand it.
.ci/bb/breeze-mpim/utils.sh
+
45
−
0
View file @
68894caf
...
...
@@ -199,6 +199,35 @@ init_clang1201 ()
export
LD_LIBRARY_PATH
=
"
${
ECCODES_ROOT
}
/lib:
${
HDF5_ROOT
}
/lib:
${
LD_LIBRARY_PATH
-
}
"
}
#
# Sets variables for tests with NAG 6.2.6223.
#
init_nag626223
()
{
init_env
switch_for_module gcc/6.3.0 nag/6.2
CC
=
gcc
CXX
=
g++
FC
=
nagfor
export
PATH
=
"/data/mpi/sclab/sip/m300488/libcdi-ci-sw/nag-6.2-sandybridge/mpich-3.4.2-fzsvtw2/bin:
${
PATH
-
}
"
MPICC
=
mpicc
MPIFC
=
mpif90
MPI_LAUNCH
=
"
$(
which mpirun
)
"
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/nag-6.2-sandybridge/netcdf-c-4.8.0-ogawg3w'
PPM_ROOT
=
'/data/mpi/sclab/sip/m300488/libcdi-ci-sw/nag-6.2-sandybridge/scales-ppm-1.0.7-5kdlwzv'
YAXT_ROOT
=
'/data/mpi/sclab/sip/m300488/libcdi-ci-sw/nag-6.2-sandybridge/yaxt-0.9.2.1-rhq2ysn'
UUID_ROOT
=
'/data/mpi/sclab/sip/m300488/libcdi-ci-sw/gcc-6.3.0-sandybridge/libuuid-1.0.3-rm4kv2o'
# 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/nag-6.2-sandybridge/hdf5-1.10.7-pltg3k4'
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
...
...
@@ -215,3 +244,19 @@ check_all_tests_passed ()
}
}'
$1
>
&2
}
#
# Checks whether the current working directory or any of its subdirectories
# contain a file and fails with an error message if that is the case.
#
check_no_files_in_cwd
()
{
cnfic_files
=
`
find
.
-type
f 2>/dev/null
`
if
test
-n
"
$cnfic_files
"
;
then
{
echo
"ERROR: the current working directory contains undeleted files:"
echo
"
$cnfic_files
"
}
>
&2
exit
1
fi
}
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