You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tab.message = "[error] General error encountered in the authorization system. Please try again later."
102
+
end
103
+
return tab
104
+
end
105
+
function slurm_job_submit(job_desc, part_list, submit_uid)
106
+
if job_desc.account == nil then
107
+
if job_desc.comment == nil then
108
+
slurm.log_user("You need to specify a project. Use '--account projectname'. Please be aware that '--comment projectname' will be deprecated.")
109
+
slurm.log_user("You can find your allocated projects by running 'id --name --groups'")
110
+
return slurm.ESLURM_INVALID_ACCOUNT
111
+
end
112
+
job_desc.account = job_desc.comment
113
+
end
114
+
local tab = apiCall(job_desc.user_name, job_desc.account,0)
115
+
if tab.result=="rejected" then
116
+
slurm.log_user(tab.message)
117
+
return slurm.ESLURM_INVALID_ACCOUNT
118
+
end
119
+
return slurm.SUCCESS
120
+
end
121
+
function slurm_job_modify(job_desc, job_rec, part_list, modify_uid)
122
+
if job_desc.account == nil then
123
+
if job_desc.comment == nil then
124
+
slurm.log_user("[warning] You need to specify a project. Use '--account projectname'. Please be aware that '--comment projectname' will be deprecated.")
125
+
slurm.log_user("[warning] You can find your allocated projects by running 'id --name --groups'")
126
+
return slurm.ESLURM_INVALID_ACCOUNT
127
+
end
128
+
job_desc.account = job_desc.comment
129
+
end
130
+
local tab = apiCall(job_desc.user_name, job_desc.account,0)
#- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
115
+
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
0 commit comments