Opened 6 weeks ago

#2213 new enhancement

simfactory should abort earlier if runscript, submitscript or thornlist are wrong

Reported by: Steven R. Brandt Owned by:
Priority: optional Milestone:
Component: SimFactory Version: development version
Keywords: Cc: Roland Haas


Right now simfactory will go through the Cactus sim-config stage before it checks if eg the thornlist is incorrect (does not exist).

[sbrandt@wothw Cactus]$ ./simfactory/bin/sim build --thornlist doesnotexist
Using configuration: sim
Reconfiguring sim
Writing configuration to: /home/sbrandt/cactus/Cactus/configs/sim/OptionList
Cactus - version: 4.2.3
Reconfiguring sim.
Adding configuration options from '/home/sbrandt/cactus/Cactus/configs/sim/OptionList'...
  Setting VERSION to '2018-01-25'
  Setting CPP to 'cpp'
  Setting CC to 'gcc'
  Setting CXX to 'g++'
  Setting FPP to 'cpp'
  Setting F90 to 'gfortran'
  Setting CPPFLAGS to ''
  Setting FPPFLAGS to '-traditional'
  Setting CFLAGS to '-g -std=gnu99'
  Setting CXXFLAGS to '-g -std=gnu++0x'
Use make foo to build the configuration.
Complete rebuild required
Cleaning sim
Cleaning configuration sim
Deleting all built files in /home/sbrandt/cactus/Cactus/configs/sim
Warning: default submit script contents have changed
Updated script file for configuration sim
Warning: default run script contents have changed
Updated runscript file for configuration sim
Error: specified thornlist "doesnotexist" does not exist or is not readable
   tried paths "/home/sbrandt/cactus/Cactus/doesnotexist"
   and "/home/sbrandt/cactus/Cactus//repos/simfactory2/etc/thornlists/doesnotexist",
   working directory is "/home/sbrandt/cactus/Cactus"
Aborting Simfactory.

It may be nice to detect this earlier.

See for a discussion.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.