Difference between revisions of "Math Computing Cheat Sheet"

From UCB Math Wiki
Jump to: navigation, search
(Email)
(Printing Tasks)
Line 169: Line 169:
 
* send large jobs to one of Canon printers
 
* send large jobs to one of Canon printers
 
* use two-sided printing option (save trees)
 
* 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 Adobe Reader)
+
* 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
 
* the Canon printers '''won't print A4 paper size PDF documents''' without shrinking or cropping the documents to fit the US Letter size
 
|- style="background-color: #dfdfdf;"
 
|- style="background-color: #dfdfdf;"

Revision as of 10:03, 14 July 2017

CalNet

Task URL Remarks
get Cal 1 card https://cal1card.berkeley.edu/ all students, faculty, and staff are required to get a 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
  • (optional) @math 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 http://printserver.math.berkeley.edu:631/printers/958_large
958_small 958 Evans Hall Canon iR-ADV 6275 http://printserver.math.berkeley.edu:631/printers/958_small
1002 1002 Evans Hall HP LaserJet M602 http://printserver.math.berkeley.edu:631/printers/1002
838 838 Evans Hall HP LaserJet M605 http://printserver.math.berkeley.edu:631/printers/838
744 744 Evans Hall HP LaserJet M605 http://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

Public Unix Servers

Name Resources Purpose Remarks
login.math.berkeley.edu 8 CPU cores, 12GB RAM SSH gateway
Good for
  • Unix shell command line interface (CLI)
  • Text editing, emailing, Tex/LaTeX writing
  • Worldwide AFP and SFTP access to file server
  • Access to personal web pages ~/public_html
Not so good for
  • Any serious computing
  • Graphics user interface (GUI)
beyonce.math.berkeley.edu 8 CPU cores, 32GB RAM Virtual desktop (thin client server)
Good for
  • Graphics user interface (GUI) access
  • Internet browsing, emailing, Tex/LaTeX writing
  • Interactive scientific computing
  • Access to commercial scientific software
  • Worldwide GUI access (via NX client)
Not so good for
  • High performance computing
keira.math.berkeley.edu 8 CPU cores, 32GB RAM Virtual desktop (thin client server)
Good for
  • Graphics user interface (GUI) access
  • Internet browsing, emailing, Tex/LaTeX writing
  • Interactive scientific computing
  • Access to commercial scientific software
  • Worldwide GUI access (via NX client)
Not so good for
  • High performance computing
appsa.math.berkeley.edu 64 CPU cores, 256GB 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 appsa.math.berkeley.edu beyonce.math.berkeley.edu keira.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
Unity: type "matlab" in the Dash Search
GNOME: find MATLAB 2012b or 2013b in Application/Science 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 appsa.math.berkeley.edu beyonce.math.berkeley.edu keira.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
Unity: type "mathematica" in the Dash Search
GNOME: find Mathematica 8 or 9 in Application/Science 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 N/A 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 appsa.math.berkeley.edu beyonce.math.berkeley.edu keira.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
Unity: type "maple" in the Dash Search
GNOME: find "Maple 16" in Application/Science 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 appsa.math.berkeley.edu beyonce.math.berkeley.edu keira.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