Tool Generated Files

Temporary Files at runtime

Temporary files that are generated by a tool at runtime should be written to the default session directory using the SESSIONDIR environment variable.  Ideally, these temporary files should be removed when they are no longer needed. Storing temporary files in the ${SESSIONDIR} affords the user an opportunity to purge them later using the storage manager available on the member dashboard.

Temporary files can also be written to /tmp. The /tmp directory is not shared with other sessions and is cleared when a session is terminated.

Simulation Results Files

Simulation output files that are generated by a tool  should be written to the results directory using the RESULTSDIR environment variable.  This directory is created in the user's home directory for the user to easily find the simulation results.  The tool may also read from the directory and present a list of the result files to the user.

Last modified:

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®