#1645: simfactory should create exe directory ------------------------+--------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: SimFactory | Version: development version Keywords: | ------------------------+--------------------------------------------------- Using virtual (--virtual) configuration one can wrap a Cactus config (or at least the parts that simfactory cares about) around an existing executable. Simfactory then copies the executable to exe/cactus_sim (or whatever), however it assumes that exe already exists. Since exe is not part of the Cactus checkout, simfactory needs to itself ensure that it exists.
#1645: simfactory should create exe directory -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: SimFactory | Version: development version Resolution: | Keywords: -------------------------+--------------------------------------------------
Comment (by knarf):
First, I have never used virtual configs, nor do I understand what they are for. But when you say "around an existing executable", the "exe" directory would already have been created by Cactus' installation script, wouldn't it?
But in any case I don't see harm in creating the directory if it is not there yet. Of course, someone might have set EXEDIR to something, and simfactory should probably honor it.
#1645: simfactory should create exe directory -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: SimFactory | Version: development version Resolution: | Keywords: -------------------------+--------------------------------------------------
Comment (by rhaas):
I don't know what they were created for. In my case they are convenient for a tutorial to let the students use a pre-compiled executable with their own Cactus tree. Since they never compiled there is no exe directory. Ie what they do is (schematically): {{{ GetComponents http://einsteintoolkit.org/about/gallery/NsNsToHMNS/NsNsToHMNS.th cd Cactus simfactory/bin/sim setup simfactory/bin/sim build --virtual --virtual-executable ~rhaas/Cactus/exec/cactus_sim simfactory/bin/sim create-submit ... }}}
#1645: simfactory should create exe directory -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: defect | Status: confirmed Priority: minor | Milestone: Component: SimFactory | Version: development version Resolution: | Keywords: -------------------------+-------------------------------------------------- Changes (by hinder):
* status: new => confirmed
#1645: simfactory should create exe directory -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: defect | Status: closed Priority: minor | Milestone: Component: SimFactory | Version: development version Resolution: fixed | Keywords: -------------------------+-------------------------------------------------- Changes (by rhaas):
* status: confirmed => closed * resolution: => fixed
Comment:
Fixed in simfactory hash 8b85060177c5a8ae47596d12d0461b5c992e34c1
trac@lists.einsteintoolkit.org