"build" overwrites thorn list

Create issue
Issue #288 closed
Erik Schnetter created an issue

The command "sim build empty" overrides the existing thornlist of configuration empty with the default thorn list that I have set in defs.local.ini. It should not change the thorn list unless (a) there is no thorn list, or (b) I specify the --thornlist option.

Keyword:

Comments (4)

  1. anonymous
    • changed status to open
    • removed comment

    I am unable to reproduce. This behaves correctly for me. Could you provide logs/output showing this behavior?

  2. Erik Schnetter reporter
    • removed comment

    Did you set a global default thorn list in your defs.local.ini?

    I first build with an empty thorn list:

    ./bin/sim build --debug empty --thornlist=par/empty.th

    Then I build again:

    ./bin/sim build empty

    This outputs:

    Info: Simfactory command: ./bin/../simfactory/lib/sim.py "build" "empty" Info: Version 1220M The Simulation Factory: Manage Cactus simulations

    Info: defs: /Users/eschnett/EinsteinToolkit-hg/simfactory/etc/defs.ini Info: defs.local: /Users/eschnett/EinsteinToolkit-hg/simfactory/etc/defs.local.ini Info: Executing command: build Using configuration: empty Info: Cactus Directory: /Users/eschnett/EinsteinToolkit-hg Info: HasStoredOptions: True Info: Use stored options list: /Users/eschnett/EinsteinToolkit-hg/configs/empty/OptionList Info: optionlist is: /Users/eschnett/EinsteinToolkit-hg/configs/empty/OptionList Info: hasOutdatedConfig: False Info: build_reconfig: False Info: build_clean: False Info: removeConfig: False Info: SubmitScript is: /Users/eschnett/EinsteinToolkit-hg/simfactory/mdb/submitscripts/redshift-gcc.sub Info: RunScript is: /Users/eschnett/EinsteinToolkit-hg/simfactory/mdb/runscripts/redshift-gcc.run Info: ThornList is: /Users/eschnett/EinsteinToolkit-hg/manifest/einsteintoolkit.th Updated thorn list for configuration empty Building empty Info: executing command: /bin/bash -c '{ :; } && { cd /Users/eschnett/EinsteinToolkit-hg && make -j4 empty 2>&1; }'

    ______________ Cactus - version: 4.0.b17 Building configuration empty ______________ Reconfiguring thorns Reading ThornList... Parsing configuration files...

    This shows that the thorn list is changed.

  3. anonymous
    • changed status to resolved
    • removed comment

    Simfactory has been modified to not overwrite the thornlist, optionlist, or either *script file unless the --thornlist, --optionlist, etc arguments are explicitly stated on the command line.

  4. Log in to comment