HPC-Workspace deployment notes

HPC-Workspace deployment notes

Links

https://github.com/holgerBerger/hpc-workspace
https://github.com/holgerBerger/hpc-workspace/blob/master/admin-guide.md

Notes

  • had to deploy boost spack package

    • boost_system

    • boost_filesystem

    • boost_regex

    • boost_program_options

    • boost-devel

  • installed ncurses-devel as dependency

Deployment notes

  • install on /cluster/hpc-workspace

    • `./getyamlcpp.sh*

    • cmake .

    • make

  • Stuff get's created in bin and then you can link/copy it to /usr/local/bin

  • copy/link man files to /usr/local/man/man1

  • run contribs/ws_prepare to create the filesystem structure according to the config file. (after configuration part is done)

Configuration

done on orca (head node)

  • compiled as root under /cluster/hpc-workspace

  • ws.conf created

  • copied to /cluster/hpc-workspace

  • ln -s /cluster/hpc-workspace/ws.conf /etc/ws.conf

  • ln -s /cluster/hpc-workspace/bin/ws* /usr/local/bin/

  • ln -s /cluster/hpc-workspace/man/man1 /usr/local/man/man1

  • sample config

clustername: Orca smtphost: mailhost.pdx.edu mail_from: slurm@pdx.edu # sender address for reminders admins: [root] dbgid: 10172 dbuid: 10172 default: scratch duration: 10 maxextensions: 1 deldir_timeout: 3600 workspaces: scratch: database: /cluster/hpc-workspace/scratch-db deleted: .removed duration: 30 keeptime: 5 maxextensions: 5 spaces: [/scratch]
  • added /scratch mount to head node

    • copied into fstab

login node deployment

  • install dependencies

  • link conf,bin files and man

ws_expirer configuration notes

  • created ws-expire.date script in /cluster/hpc-workspace/expirer directory

[root@head hpc-workspace]# cat expirer/ws-expirer.date #!/bin/bash # Run the ws_expirer and output the log file /cluster/hpc-workspace/sbin/ws_expirer -c > /cluster/hpc-workspace/logs/expirer-`date +%d.%m.%y` # Delete log files older than 80 days find /cluster/hpc-workspace/logs -type f -ctime +80 -exec rm {} \;
  • set up cron job

[root@head hpc-workspace]# crontab -l 10 1 * * * /cluster/hpc-workspace/sbin/ws-expirer.date

 

 

SME review status

Next due

SME review status

Next due

NEW

Apr 8, 2026 

Related articles