Difference between revisions of "Math Computing Cheat Sheet"

From UCB Math Wiki
Jump to: navigation, search
m (Email)
m (Public Unix Servers)
Line 297: Line 297:
 
| twiggy.math.berkeley.edu
 
| twiggy.math.berkeley.edu
 
| 32 CPU cores, 96GB RAM
 
| 32 CPU cores, 96GB RAM
| Virtual desktop (thin client and [https://wiki.x2go.org/doku.php X2Go] server)
+
| Virtual desktop (thin client server)
 
|
 
|
 
; Good for
 
; Good for
 
* Graphics user interface (GUI) access (via thin clients)
 
* Graphics user interface (GUI) access (via thin clients)
* Worldwide access to Unix shell command line interface (CLI) and graphics user interface (GUI) (via [https://wiki.x2go.org/doku.php X2Go] client)
+
* Worldwide access to Unix shell command line interface (CLI) and graphics user interface (GUI) (via [https://wiki.x2go.org/doku.php X2Go] and [https://tigervnc.org/ TigerVNC] client)
 
* Internet browsing, emailing, Tex/LaTeX writing
 
* Internet browsing, emailing, Tex/LaTeX writing
 
* Interactive scientific computing
 
* Interactive scientific computing

Revision as of 07:55, 10 July 2019

CalNet

Task URL Remarks
get Cal 1 card https://cal1card.berkeley.edu/ all students, faculty, and staff are required to get the Cal 1 card
activate CalNet ID https://calnetweb.berkeley.edu/calnet-me/info-new-users/activate-calnet-id all students, faculty, and staff are required to have a valid CalNet ID
test CalNet ID https://auth.berkeley.edu/cas/login?service=https%3A%2F%2Fbpr.calnet.berkeley.edu%2Faccount-manager%2Flogin%2Fcas&renew=true verify if you remember your CalNet ID and pass-phrase correctly
change recovery email https://calnetweb.berkeley.edu/calnet-me/manage-my-calnet-account#recovery set up or change non-Berkeley email address where CalNet account notifications will be sent
reset CalNet ID pass-phrase https://calnetweb.berkeley.edu/calnet-me/manage-my-calnet-account#forgot requires prior setup of recovery email
update directory listing https://calnet.berkeley.edu/directory/update/ keep your public information up-to-date

Email

Task URL Your email addresses Remarks
create bMail account https://calmail.berkeley.edu/manage/account/create_account jane.doe@berkeley.edu
jdoe@math.berkeley.edu
  • requires CalNet authentication
  • you have to accept the terms of service
  • your @math alias is created by department
access email from computer http://bmail.berkeley.edu jane.doe@berkeley.edu
  • requires CalNet authentication
  • accept the terms of service when login the first time
make @math alias default http://bmail.berkeley.edu jdoe@math.berkeley.edu
  • click on the "gear" icon in the right corner of bMail screen and select Settings.
  • select the Accounts tab
  • find your @math alias in the "Send mail as" section and click on the link "make default"
get on mail list https://groups.google.com/a/berkeley.edu/forum/#!myforums faculty@math.berkeley.edu
postdoc@math.berkeley.edu
allgrads@math.berkeley.edu
visitors@math.berkeley.edu
check expiry information https://calnetweb.berkeley.edu/calnet-people/info-new-users/grace-periods jane.doe@berkeley.edu
jdoe@math.berkeley.edu
your CalNet (and bMail) account expires after a predefined grace period
join alumni network https://cal.berkeley.edu/ jane.doe@berkeley.edu
jdoe@math.berkeley.edu
if you are a UC Berkeley alum your may join alumni network @Cal and get your "lifetime"
  • bMail account @berkeley.edu
  • @math.berkeley.edu alias

Web

Task URL Remarks
read department web pages http://math.berkeley.edu
  • no authentication required
edit your official page /people/path-to-your-page
  • replace path-to-your-page with the path to your page, e.g. faculty/jane-doe
  • requires CalNet Authentication
  • click on Edit tab of the page you own
  • upload photo, add link, etc.
create/edit your personal page /~your-unix-login
  • replace your-unix-login with your Unix login name, e.g. jdoe
  • create public_html folder in your Unix home
  • create/edit index.html file in the above folder
  • make sure the file/folder permissions are right
  • read more in the Webpage Guide

Printing

Public Printers

Queue Name Location Maker & Model Printer Queue URL
958_large 958 Evans Hall Canon iR-ADV 8295 https://printserver.math.berkeley.edu:631/printers/958_large
958_small 958 Evans Hall Canon iR-ADV 6275 https://printserver.math.berkeley.edu:631/printers/958_small
1002 1002 Evans Hall HP LaserJet M602 https://printserver.math.berkeley.edu:631/printers/1002
838 838 Evans Hall HP LaserJet M605 https://printserver.math.berkeley.edu:631/printers/838
744 744 Evans Hall HP LaserJet M607 https://printserver.math.berkeley.edu:631/printers/744

Printing Tasks

Task Commands Remarks
print a document from a GUI application (e.g. standalone PDF reader)
  • press Ctrl-P (in Unix or Windows)
  • press Command-P (in MacOS)
  • select the queue name from the above list of public printers
  • please consider the environment before printing
  • printing books is not allowed
  • use Canon copiers for instructional jobs
  • send large jobs to one of Canon printers
  • use two-sided printing option (save trees)
  • sometimes, a (malformed) PDF document won't print from the web browser, but prints OK from a standalone PDF viewer (e.g. Mac Preview or Linux Document Viewer)
  • the Canon printers won't print A4 paper size PDF documents without shrinking or cropping the documents to fit the US Letter size
print a document from Unix command line
  • lpr -P queue file
  • replace queue with the queue name from the above list of public printers
  • replace file with the file path of the document to print
check the print queue status from Unix command line
  • lpq -P queue
  • replace queue with the queue name from the above list of public printers
cancel the job from Unix command line
  • lprm job
  • replace job with the job number from the above output of lpq command
  • you have to own the job in order to able to cancel it
add a printer to personal Windows computer
  • go to Add Network Printer dialogue
  • use the URL from the above list of public printers
  • use a proper Postscript driver (see remarks)
  • do not use PCL printer drivers, use Postscript drivers instead
  • it is recommended to install the HP universal Postscript driver for HP printers
  • it is recommended to install the Canon Postscript driver for imageRunner Advance printers
add a printer to personal Mac computer
  • go to the list of printers in System Preferences
  • click on + sign
  • click on the IP tab
  • select IPP protocol
  • type printserver.math.berkeley.edu in Address
  • type printers/queue in Queue
  • type queue in Name
  • select Generic Postscript Printer
  • click on Add button and check the Duplex Printing Unit
  • click on OK button
  • replace queue with the queue name from the above list of public printers
  • Generic Postscript driver generally works fine for both HP and Canon printers but does not support some features
  • download and install a proper Canon Postscript driver if you want to use the stapler function

Network

Network Type URL Remarks
CalVisitor public WiFi https://technology.berkeley.edu/wi-fi
  • no authentication required
  • no encryption (public network)
  • limited network service: Web and VPN only
AirBears2 private WiFi https://technology.berkeley.edu/wi-fi
  • requires authentication (AirBears2 key)
  • set or view the key here (requires CalNet Authentication)
  • encrypted (secure) network
eduroam private WiFi https://technology.berkeley.edu/wi-fi
  • requires (eduroam) authentication
  • UC Berkeley insiders may use their AirBears2 key
  • visitors may use their home institution eduroam credentials
  • encrypted (secure) network
Ethernet wired
  • requires hardware (a.k.a. MAC) address registration
  • student personal computers are not eligible for wired network access
  • faculty and long term visitors should send the office number and MAC address of their computer Ethernet port to request@math.berkeley.edu
VPN virtual private network https://vpn.berkeley.edu/
  • creates secure tunnel to campus network from off-campus locations
  • requires installation of Palo Alto Networks VPN client on your personal device
  • requires 2-step CalNet authentication while establishing VPN connection
  • remember the name of VPN server vpn.berkeley.edu

Public Unix Servers

Name Resources Purpose Remarks
login.math.berkeley.edu 8 CPU cores, 8GB RAM SSH gateway
Good for
  • Worldwide access to Unix shell command line interface (CLI)
  • Text editing, emailing, Tex/LaTeX writing
  • Worldwide SCP/SFTP access to home directory
  • Access to personal web pages ~/public_html
  • Access to other otherwise unreachable public servers
Not so good for
  • Any serious computing
  • Graphics user interface (GUI)
twiggy.math.berkeley.edu 32 CPU cores, 96GB RAM Virtual desktop (thin client server)
Good for
  • Graphics user interface (GUI) access (via thin clients)
  • Worldwide access to Unix shell command line interface (CLI) and graphics user interface (GUI) (via X2Go and TigerVNC client)
  • Internet browsing, emailing, Tex/LaTeX writing
  • Interactive scientific computing
  • Access to commercial scientific software
  • High performance computing (via SSH Access to beyonce)
Not so good for
  • Supercomputing
beyonce.math.berkeley.edu 64 CPU cores, 224GB RAM High performance computing
Good for
  • Parallel computing
  • Non-interactive computational jobs (via screen utility)
  • CLI access to scientific (including commercial) software
  • Application programming: C/C++, Fortran, Python, R, etc.
  • Temporary storage of massive computational data
Not so good for
  • GUI computing
  • Supercomputing

Non-free Math Software

Name Servers Can be installed on personal computer? Licensing Model Remarks
MATLAB beyonce.math.berkeley.edu twiggy.math.berkeley.edu Yes (see remarks) Campus wide license, see https://software.berkeley.edu/matlab. Department pays for server licenses. Personal licenses are not covered.
Access from thin client computer
Terminal: use matlab -nojvm command from Unix shell
GUI: find "matlab" in the Applications menu
Remote access via SSH
See SSH Access, use terminal command matlab
Installation on personal computer (non-free)
  1. Get the chart string (COA) from your research administrator
  2. Follow appropriate link on Software Central MATLAB page
  3. Install MATLAB after getting personal activation key
Mathematica beyonce.math.berkeley.edu twiggy.math.berkeley.edu Yes Campus wide license, see https://software.berkeley.edu/mathematica. Department pays for its share including personal licenses.
Access from thin client computer
Terminal: use math command from Unix shell
GUI: find "mathematica" in the Applications menu
Remote access via SSH
See SSH Access, use terminal command math
Installation on personal computer
  1. Follow appropriate link on Software Central Mathematica page
  2. Install Mathematica after getting personal activation key
Alpha Pro Wolfram Alpha cloud N/A Campus wide license, see https://software.berkeley.edu/mathematica. Access to Alpha Pro is covered by department.
Access from any computer with browser (sign in required)
http://www.wolframalpha.com/pro/
Getting personal account
Fill the web form at Wolfram User Portal
Maple beyonce.math.berkeley.edu twiggy.math.berkeley.edu No Department site license. Department covers (local area network) floating licenses.
Access from thin client computer
Terminal: use maple command from Unix shell
GUI: find "maple" in the Applications menu
Remote access via SSH
See SSH Access, use terminal command maple
Installation on office computer connected to Ethernet
Send request to request@math.berkeley.edu
MAGMA beyonce.math.berkeley.edu No Department site license sponsored by Simons Institute.
Access from thin client computer
Terminal only: use magma command from Unix shell
Remote access via SSH
See SSH Access, use terminal command magma
Installation on office computer connected to Ethernet
Send request to request@math.berkeley.edu