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 packageboost_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
it seems all of the config is in file
ws.conf
that has to be copied to/etc
there's example one in git
ws.conf_full sample
There's also a
conf
validator `sbin/ws_validate_config
There's mention of cron job that has to be configured
done on orca (head node)
compiled as root under
/cluster/hpc-workspace
ws.conf
createdcopied 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 nodecopied 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 |
---|---|
NEW | Apr 8, 2026 |