Skip to content

Compile profile data from SLURM outfile directory into an R dataframe.

Notifications You must be signed in to change notification settings

exsquire/logCabin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

logCabin

The house that logs built. Compiles profile data from SLURM outfile directory into an R matrix.

Purpose: Parallel array jobs can generate hundreds/thousands of outfiles containing useful profile data. Having this data in a matrix format makes diagnosing, summarizing, and optimizing job performance easy.

Method: Iteratively grep SLURM profile keywords from outfile directory, text-process, and combine into matrix.

Suggested Use:

  • cd to relevant project folder
  • Open interactive R session
  • source logCabin.R or copy-paste function
  • logDF <- logCabin("./logDirectory")
  • write.csv(logDF, "./desired/location/logDF.csv")

OR

  • modify code:
    • remove setwd() and #examples, leaving only the function
    • set pathIn parameter default to "./", pathIn = "./"
    • Replace return(res) with write.csv(res, "./desired/location/logDF.csv")
    • cd to relevant logs folder
    • on commandline > Rscript logCabin.R

About

Compile profile data from SLURM outfile directory into an R dataframe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages