Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
65c4a6ed
Commit
65c4a6ed
authored
Jun 09, 2016
by
Ralf Mueller
Browse files
add remote build from manual setup
parent
5fc5e2ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
.rake.json
View file @
65c4a6ed
...
...
@@ -10,7 +10,8 @@
},
"mpipc"
:
{
"hostname"
:
"mpipc150.mpi.zmaw.de"
,
"dir"
:
"/scratch/local1/m300064/builds/remote"
"dir"
:
"/scratch/local1/m300064/builds/remote"
,
"CC"
:
[
"gcc"
]
},
"mistral"
:
{
"hostname"
:
"mistral.dkrz.de"
,
...
...
@@ -47,6 +48,13 @@
"configureCall"
:
"/home/ram/src/cdo/configure --with-netcdf --enable-cxx CC=clang CXX=clang++ CFLAGS='-g -O0'"
,
"makeCall"
:
"make -j 12"
,
"sync"
:
false
},
"mpipcCLANG"
:
{
"hostname"
:
"mpipc"
,
"CC"
:
"clang"
,
"configureCall"
:
"./configure --with-netcdf=--with-netcdf=/sw/squeeze-x64/netcdf-4.2-static --disable-openmp CC=clang CFLAGS='-g -O2'"
,
"makeCall"
:
"make -j 12"
,
"sync"
:
true
}
}
}
Rakefile
View file @
65c4a6ed
...
...
@@ -231,7 +231,7 @@ Builder = Struct.new(:host,:hostname,:username,:compiler,:targetDir,:configureCa
# 2) construct builders from manual configuration
@userConfig
[
"builders"
].
each
{
|
builderName
,
config
|
builder
=
Builder
.
new
(
builderName
,
config
[
"hostname"
],
@userConfig
[
'hosts'
][
config
[
"hostname"
]
][
'hostname'
]
,
(
'localhost'
==
config
[
'hostname'
]
\
or
'localhost'
==
@userConfig
[
'hosts'
][
config
[
'hostname'
]][
'hostname'
])
\
?
@user
\
...
...
@@ -243,6 +243,7 @@ Builder = Struct.new(:host,:hostname,:username,:compiler,:targetDir,:configureCa
config
[
'configureCall'
],
(
'localhost'
==
config
[
'hostname'
]
\
or
'localhost'
==
@userConfig
[
'hosts'
][
config
[
'hostname'
]][
'hostname'
]
))
pp
builder
builder2task
(
builder
,
true
,
config
[
'sync'
])
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment