From d9645176d8ec6e91d254a4f92b98b9986dca7f33 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Mon, 9 Jan 2023 16:12:12 -0500 Subject: [PATCH] Partial mem nodes (#18) * allow for partial hugemem nodes & add module 6.0 * update changelog --- CHANGELOG.md | 7 ++++++- form.yml.erb | 3 ++- submit.yml.erb | 1 - 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c9ab25..522e946 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.10.0] - 2023-01-09 + +- Support partial access to hugemem nodes & add module 6.0 in [14](https://github.com/OSC/bc_osc_comsol/pull/14). + ## [0.9.0] - 2021-12-16 ### Changed - [13](https://github.com/OSC/bc_osc_comsol/pull/13) @@ -117,7 +121,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - Initial release! -[Unreleased]: https://github.com/OSC/bc_osc_comsol/compare/v0.9.0...HEAD +[Unreleased]: https://github.com/OSC/bc_osc_comsol/compare/v0.10.0...HEAD +[0.10.0]: https://github.com/OSC/bc_osc_comsol/compare/v0.9.0...v0.10.0 [0.9.0]: https://github.com/OSC/bc_osc_comsol/compare/v0.8.0...v0.9.0 [0.8.0]: https://github.com/OSC/bc_osc_comsol/compare/v0.7.1...v0.8.0 [0.7.1]: https://github.com/OSC/bc_osc_comsol/compare/v0.7.0...v0.7.1 diff --git a/form.yml.erb b/form.yml.erb index 950ef52..8d773cd 100644 --- a/form.yml.erb +++ b/form.yml.erb @@ -62,13 +62,14 @@ attributes: - [ 'hugemem', 'hugemem', data-max-num-cores: 48, - data-min-num-cores: 48, + data-min-num-cores: 4, ] version: widget: select label: "COMSOL Multiphysics version" help: "This defines the version of COMSOL Multiphysics you want to load." options: + - ["6.0", "comsol/6.0"] - ["5.5", "comsol/5.5"] - ["5.4", "comsol/5.4"] - ["5.3a", "comsol/53a"] diff --git a/submit.yml.erb b/submit.yml.erb index 63419fb..39d3337 100644 --- a/submit.yml.erb +++ b/submit.yml.erb @@ -5,7 +5,6 @@ case node_type when "hugemem" - ppn = 48 partition = bc_num_slots.to_i > 1 ? "hugemem-parallel" : "hugemem" slurm_args = base_slurm_args + [ "--ntasks-per-node", "#{ppn}", "--partition", partition ] when "vis"