Changeset 9058


Ignore:
Timestamp:
Mar 3, 2014, 10:21:37 AM (11 years ago)
Author:
davies
Message:

Added Jono's changes to tempdir in file_utils.py, plus a warning in the patong validation test

Location:
trunk/anuga_core/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/utilities/file_utils.py

    r8146 r9058  
    7373            log.critical('WARNING: Directory %s could not be created.' % path)
    7474            if unix:
    75                 path = '/tmp/'
     75                try:
     76                    path = os.environ['TMPDIR']
     77                except KeyError:
     78                    path = '/tmp/'
    7679            else:
    7780                path = 'C:' + os.sep
  • trunk/anuga_core/source/anuga_validation_tests/case_studies/patong/run_model.py

    r9056 r9058  
    117117    domain.set_name(project.scenario_name)
    118118    domain.set_datadir(project.output_run)
     119    print 'WARNING: FORCING FLOW ALGORITHM TO TSUNAMI -- NEEDS TO BE CHANGED FOR INTEGRATION INTO VALIDATION TESTS'
    119120    domain.set_flow_algorithm('tsunami')
    120121    #domain.set_flow_algorithm('DE1')
Note: See TracChangeset for help on using the changeset viewer.