#288: "build" overwrites thorn list ------------------------+--------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: defect | Status: new Priority: blocker | Milestone: Component: SimFactory | Version: Keywords: | ------------------------+--------------------------------------------------- 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.
#288: "build" overwrites thorn list -------------------------+-------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: defect | Status: accepted Priority: blocker | Milestone: Component: SimFactory | Version: Resolution: | Keywords: -------------------------+-------------------------------------------------- Changes (by mthomas):
* status: new => accepted
Comment:
I am unable to reproduce. This behaves correctly for me. Could you provide logs/output showing this behavior?
#288: "build" overwrites thorn list -------------------------+-------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: defect | Status: accepted Priority: blocker | Milestone: Component: SimFactory | Version: Resolution: | Keywords: -------------------------+--------------------------------------------------
Comment (by eschnett):
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.
#288: "build" overwrites thorn list -------------------------+-------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: defect | Status: closed Priority: blocker | Milestone: Component: SimFactory | Version: Resolution: fixed | Keywords: -------------------------+-------------------------------------------------- Changes (by mthomas):
* status: accepted => closed * resolution: => fixed
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.
trac@lists.einsteintoolkit.org