Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Separate the common files and scenario files, by putting the common files into one folder and the scenario-specific files into their own individual folders. 
  2. Use adcprep to partition the input files in the shared folder. It may ask for certain input files that are not shared, just use a dummy file in that case. 
  3.  Symbolically link the global files (executables, fort.14, etc ...) into each scenario folder. 
  4.  cd to the shared folder and use this fancy bash one-liner to link the PE folders into your scenario folder. This line uses the find utility's powerful exec feature to 
    1. Exclude files (in this case fort.15) that will be written to from being linked. Modify this as needed. If hotstarting exclude the hotstart files. 
    2. Find localized files and their corresponding PE folder 
    3. Make an empty copy of the corresponding PE folder and link the localized file. 

...