Commit 65c4a6ed authored by Ralf Mueller's avatar Ralf Mueller
Browse files

add remote build from manual setup

parent 5fc5e2ff
......@@ -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
}
}
}
......@@ -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'])
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment