Commit 8b8a1a1d authored by Matthias Braun's avatar Matthias Braun
Browse files

set machine_name in generated config

parent 47c2b315
......@@ -4,6 +4,7 @@ import platform
import optparse # TODO argparse from python 2.7 on
import subprocess
import resource
import socket
from datetime import datetime
SCRIPT_VERSION="0.1"
......@@ -379,6 +380,7 @@ def generate_spec_config(options, progs):
contents.append("sw_compiler2 = %s" % get_compiler_version(options.cpp_compiler))
contents.append("sw_compiler3 = %s" % get_compiler_version(options.fortran_compiler))
contents.append("sw_file = %s" % path_to_filesystem("."))
contents.append("machine_name = %s" % socket.getfqdn())
assert int(BITSIZE), "bitsize is "+BITSIZE
contents.append("sw_base_ptrsize = %d-bit" % BITSIZE)
contents.append("sw_peak_ptrsize = %d-bit" % BITSIZE)
......
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