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
774214bd
Commit
774214bd
authored
2 years ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
Move CI script for ICON parallel integration to Levante.
parent
a6cbc789
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!11
Consolidation with CDI-PIO (1.8.x)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/bb/levante-dkrz/test.icon-pio.intel-classic-2021.5.0
+21
-14
21 additions, 14 deletions
.ci/bb/levante-dkrz/test.icon-pio.intel-classic-2021.5.0
with
21 additions
and
14 deletions
.ci/bb/
mistral
-dkrz/test.icon-pio.
nag-6.2.6223
→
.ci/bb/
levante
-dkrz/test.icon-pio.
intel-classic-2021.5.0
+
21
−
14
View file @
774214bd
...
...
@@ -7,7 +7,7 @@ script_dir=$(cd "$(dirname "$0")"; pwd)
top_srcdir
=
$(
cd
"
${
script_dir
}
/../../.."
;
pwd
)
.
"
${
script_dir
}
/utils.sh"
init_
nag626223
init_
intelclassic202150
test
-f
"
${
top_srcdir
}
/configure"
||
"
${
top_srcdir
}
/autogen.sh"
...
...
@@ -15,7 +15,7 @@ test -f "${top_srcdir}/configure" || "${top_srcdir}/autogen.sh"
# of YAXT and PPM become available only at the build time. The following
# imitates that.
WRONG_YAXT_ROOT
=
$(
init_
pgi199
0
>
/dev/null
&&
echo
"
${
YAXT_ROOT
}
"
)
WRONG_YAXT_ROOT
=
$(
init_
gcc112
0
>
/dev/null
&&
echo
"
${
YAXT_ROOT
}
"
)
export
PKG_CONFIG_PATH
=
"
${
WRONG_YAXT_ROOT
}
/lib/pkgconfig"
export
LD_LIBRARY_PATH
=
"
${
WRONG_YAXT_ROOT
}
/lib:
${
LD_LIBRARY_PATH
-
}
"
...
...
@@ -28,12 +28,9 @@ rm -rf "${LOCAL_YAXT_ROOT}" "${LOCAL_PPM_ROOT}"
# script of CDI with the path to the installation of NetCDF in use. Here we
# imitate a situation when 'nc-config' from another (wrong) installation of
# NetCDF is in the PATH.
WRONG_NETCDF_ROOT
=
$(
init_gcc
64
0
>
/dev/null
&&
echo
"
${
NETCDF_ROOT
}
"
)
WRONG_NETCDF_ROOT
=
$(
init_gcc
112
0
>
/dev/null
&&
echo
"
${
NETCDF_ROOT
}
"
)
export
PATH
=
"
${
WRONG_NETCDF_ROOT
}
/bin:
${
PATH
-
}
"
# The configure wrappers of ICON export LD_LIBRARY_PATH:
export
LD_LIBRARY_PATH
=
"
${
MPICH_ROOT
}
/lib:
${
NETCDF_ROOT
}
/lib:
${
ECCODES_ROOT
}
/lib:
${
LD_LIBRARY_PATH
}
"
"
${
top_srcdir
}
/configure"
\
--disable-cdi-app
\
--disable-maintainer-mode
\
...
...
@@ -50,18 +47,28 @@ export LD_LIBRARY_PATH="${MPICH_ROOT}/lib:${NETCDF_ROOT}/lib:${ECCODES_ROOT}/lib
--with-netcdf
\
--with-on-demand-check-programs
\
--without-example-programs
\
--without-grib
-
api
\
--without-grib
_
api
\
--without-szlib
\
--without-threads
\
CC
=
"
${
CC
}
"
\
CFLAGS
=
'-g -march=native -O2'
\
CPPFLAGS
=
"-I
${
MPICH_ROOT
}
/include -I
${
NETCDF_ROOT
}
/include -I
${
ECCODES_ROOT
}
/include"
\
BUILD_CC
=
\
BUILD_CFLAGS
=
\
BUILD_CXX
=
\
BUILD_F77
=
\
BUILD_FC
=
\
BUILD_FCFLAGS
=
\
BUILD_LDFLAGS
=
\
BUILD_LIBS
=
\
BUILD_MPI_C_LIB
=
\
BUILD_MPI_FC_LIB
=
\
CC
=
"
${
MPICC
}
"
\
CFLAGS
=
'-no-prec-sqrt -no-prec-div -fast-transcendentals -m64 -march=core-avx2 -mtune=core-avx2 -no-fma -g -gdwarf-4 -ip -pc64 -std=gnu99 -qno-opt-dynamic-align -O2 -ftz'
\
CPPFLAGS
=
"-I
${
NETCDF_ROOT
}
/include -I
${
ECCODES_ROOT
}
/include"
\
CXX
=
no
\
F77
=
no
\
FC
=
"
${
FC
}
"
\
FCFLAGS
=
"-
I
${
MPICH_ROOT
}
/include -kind=byte -colour -f2008 -Wc=
$(
which gcc
)
-w=uep -O0 -Wc,-g -float-store -nan -gline -g
"
\
LDFLAGS
=
"
-L
${
MPICH_ROOT
}
/lib
-L
${
NETCDF_ROOT
}
/lib -L
${
ECCODES_ROOT
}
/lib"
\
LIBS
=
'-
lecco
de
s
-lnetcdf -l
mpifort -lmpi -lubsan
'
\
FC
=
"
${
MPI
FC
}
"
\
FCFLAGS
=
"-
gdwarf-4 -g -pc64 -fp-model source
"
\
LDFLAGS
=
"-L
${
NETCDF_ROOT
}
/lib -L
${
ECCODES_ROOT
}
/lib
64
"
\
LIBS
=
'-
Wl,--as-nee
de
d
-lnetcdf -l
eccodes
'
\
MPIROOT
=
\
MPI_C_INCLUDE
=
\
MPI_C_LIB
=
\
...
...
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