Commit 0b48e5ad authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Init commit

parents
import rabbit_config as rcfg
# Some variable for email
Server = 'localhost'
Admin_email = 'mhanby@uab.edu'
Support_email = 'support@listserv.uab.edu'
Sender = 'no-reply@rc.uab.edu'
Sender_alias = 'Research Computing'
Subject = 'New User Account on Cheaha'
Info_url = 'https://docs.uabgrid.uab.edu/wiki/Cheaha'
Loginwiki_url = 'http://docs.uabgrid.uab.edu/wiki/Cheaha_GettingStarted#Login'
Quickstart_url = 'https://docs.uabgrid.uab.edu/wiki/Cheaha_Quick_Start'
Queuewiki_url = 'https://docs.uabgrid.uab.edu/wiki/Slurm'
Portal_url = 'https://rc.uab.edu'
Hpcannounce_email = 'HPC-ANNOUNCE@LISTSERV.UAB.EDU'
Hpcusers_email = 'HPC-USERS@LISTSERV.UAB.EDU'
Signature = 'UAB IT Research Computing'
Helpdesk_url = 'https://uabprod.service-now.com/ess_portal/' # Once we get a real helpdesk, change to URL instead of email
Head = f"""From: {rcfg.Sender_alias} <{rcfg.Sender}>
To: <{{{{ to }}}}>
Reply-to: {rcfg.Support_email}
BCC: {rcfg.Admin_email}
Subject: {rcfg.Subject}
"""
Body = f"""
Your account has been created on the Cheaha Super Computer
====================================
User ID: {{{{ username }}}}
====================================
Important: You are responsible for backing up your files on Cheaha! The following storage locations are available:
* $HOME - /home/$USER - 20G quota per user
* $USER_DATA - /data/user/$USER - 5TB quota per user
* $USER_SCRATCH - /data/scratch/$USER - 500TB shared amongst ALL users
DO NOT compute out of $HOME, all computation must be done on the fast storage that is $USER_DATA and $USER_SCRATCH
Please read the information available on our Wiki pages, especially the Cheaha Quick Start:
Cheaha Quick Start
{Quickstart_url}
Additional Cluster Login Instructions
{Loginwiki_url}
Job Queuing information and examples
{Queuewiki_url}
General information about Cheaha
{Info_url}
If you encounter a problem or have any questions, please send a detailed email to: {Support_email}
Open Office Hours:
Visual Brain Core, Mondays 10 AM to Noon: https://uasystem.zoom.us/j/526282301
RC Open Office Hours Wednesdays 1 to 3 PM: https://uab.zoom.us/j/97296139490
RC Open Office Hours Thursdays 10 AM to Noon: https://uab.zoom.us/j/96229651103
You have been subscribed to two important email lists:
* hpc-announce : Important HPC related announcements are sent via this list, please read
all emails from {Hpcannounce_email}
* hpc-users : This email list can be used by all HPC users to discuss anything
related to our HPC environment by sending email to {Hpcusers_email}
Regards,
{Signature}
{Helpdesk_url}
"""
Whole_mail = Head + Body
UserReportHead = f"""From: {rcfg.Sender_alias} <{rcfg.Sender}>
To: <{rcfg.Admin_email}>
Subject: RC Account Creation Report: {{{{ fullname }}}}, {{{{ username }}}} """
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment