Skip to content

Commit

Permalink
add a check for the UNIX group (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Apr 23, 2024
1 parent 8710ea9 commit 0b17af9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions submit.yml.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<%-

err_msg = "You are not a member of the matlab group. Please email [email protected] to request access to MATLAB."
raise(StandardError, err_msg) unless CurrentUser.group_names.include?('matlab')

nodes = bc_num_slots.blank? ? 1 : bc_num_slots.to_i

cores_lookup = {
Expand Down

0 comments on commit 0b17af9

Please sign in to comment.