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
1476aa32
Commit
1476aa32
authored
6 years ago
by
Ralf Mueller
Browse files
Options
Downloads
Patches
Plain Diff
take over CDO's build setup for mistral
parent
f80f55ef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/default
+31
-3
31 additions, 3 deletions
config/default
with
31 additions
and
3 deletions
config/default
+
31
−
3
View file @
1476aa32
...
...
@@ -164,13 +164,13 @@ case "${HOSTNAME}" in
--with-netcdf=/sw/jessie-x64/netcdf-4.3.3.1-gccsys"
PREFIX
=
"--prefix=
$(
pwd
)
/build/
${
COMP
}
"
if
test
"
$COMP
"
=
i
cc
;
then
if
test
"
$COMP
"
=
i
ntel
;
then
${
CONFPATH
}
configure
$CONFIG_OPTS
$PREFIX
$CDILIBS
\
CC
=
icc
FC
=
ifort
CFLAGS
=
"-g -Wall -O2 -qopt-report=5 -march=native"
elif
test
"
$COMP
"
=
g
cc
;
then
elif
test
"
$COMP
"
=
g
nu
;
then
${
CONFPATH
}
configure
$CONFIG_OPTS
$PREFIX
$CDILIBS
\
CC
=
gcc
FC
=
gfortran
F77
=
gfortran
CFLAGS
=
"-g -Wall -O2 -march=native"
elif
test
"
$COMP
"
=
pg
cc
;
then
elif
test
"
$COMP
"
=
pg
i
;
then
${
CONFPATH
}
configure
$CONFIG_OPTS
$PREFIX
$CDILIBS
\
CC
=
pgcc
FC
=
pgf90
F77
=
pgf90
CFLAGS
=
"-g"
elif
test
"
$COMP
"
=
clang
;
then
...
...
@@ -187,6 +187,34 @@ case "${HOSTNAME}" in
fi
;
;;
mlogin
*
)
CDILIBS
=
"--with-eccodes=/sw/rhel6-x64/eccodes/eccodes-2.3.0-gcc48
\
--with-netcdf=/sw/rhel6-x64/netcdf/netcdf_c-4.3.2-gcc48
\
--with-hdf5=/sw/rhel6-x64/hdf5/hdf5-1.8.14-threadsafe-gcc48"
PREFIX
=
"--prefix=
$(
pwd
)
/build/
${
COMP
}
"
if
test
"
$COMP
"
=
intel
;
then
${
CONFPATH
}
configure
$PREFIX
$CDILIBS
\
LDFLAGS
=
"-Wl,-rpath,/sw/rhel6-x64/eccodes/eccodes-2.3.0-gcc48/lib"
\
F77
=
ifort
FC
=
ifort
FFLAGS
=
"-g -O2"
\
CC
=
icc
CFLAGS
=
"-g -Wall -O2 -qopt-report=5 -march=core-avx2"
elif
test
"
$COMP
"
=
pgi
;
then
${
CONFPATH
}
configure
$PREFIX
$CDILIBS
\
LDFLAGS
=
"-Wl,-rpath,/sw/rhel6-x64/eccodes/eccodes-2.3.0-gcc48/lib"
\
CXX
=
pgc++
CXXFLAGS
=
"-g -fast"
\
CC
=
pgcc
CFLAGS
=
"-g -fast"
elif
test
"
$COMP
"
=
gnu_pic
;
then
${
CONFPATH
}
configure
$PREFIX
$CDILIBS
\
LDFLAGS
=
"-Wl,-rpath,/sw/rhel6-x64/eccodes/eccodes-2.3.0-gcc48/lib"
\
FC
=
gfortran
F77
=
gfortran
FFLAGS
=
"-g -O2"
\
CC
=
gcc
CFLAGS
=
'-g -Wall -O3 -march=native -mavx2 -fPIC'
else
${
CONFPATH
}
configure
$PREFIX
$CDILIBS
\
LDFLAGS
=
"-Wl,-rpath,/sw/rhel6-x64/eccodes/eccodes-2.3.0-gcc48/lib"
\
FC
=
gfortran
F77
=
gfortran
FFLAGS
=
"-g -O2"
\
CC
=
gcc
CFLAGS
=
'-g -Wall -O3 -march=native -mavx2'
fi
;;
*
)
echo
"configuration for hostname
$HOSTNAME
not found!"
;;
...
...
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