Navigation<> |
The information on this page is intended to help students who wish to use their own computers for course work. It is likely to go out of date fairly rapidly so please report corrections and issues to CDHW (Mac OS X) JMR (Linux). Neither of us use Windows, but send recommendations/corrections to CDHW and we'll add them below.
Quick-links to sections on this page:
Useful for PHY2028 and PHYM004.
Linux distributions come with the Gnu Compiler Collection (GCC), and the GNU development tools. We have a separate page with details of compiling and debugging under linux.
We use Apple's Xcode 6.4 (freeware) because it is compatible with OS X Yosemite, which is what we current use on the 'MacPhy-nn' machines.
One possibility is Microsoft Visual C++ (not C#) which is apparently available at no charge to students, but check that the terms and conditions are acceptable to you:
There is a free software tool called MinGW which contains the Gnu Compiler Collection (GCC), and to which you can add the IDE Visual-MinGW.
Follow the installation instructions for Octave (below).
'LaTeX is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing.' Refer to one of the many introductory guides for more information.
Your system distribution probably includes a TeX system including LaTeX. Check your usual software source for a TeX package; otherwise install TeX Live directly. For a nice graphic frontend install:
On Linux systems, it is quite likely that dictionaries for spell-checking are already present because other programs use the same spell-check engine. However, if you need to add dictionaries:
The MacTeX distribution contains everything you will need, including a complete TeX system with LaTeX itself and integrated editors (e.g. TeXworks) to facilitate document preparation.
In the unlikely event that users of OS X El Capitan experience a problem, there are some notes discussing:
If you only use Macs, my advice is to use TexShop as your LaTeX front-end, the spelling and grammar checking use Apple's pre-installed dictionaries and so work without further hassle.
If you want to use TexWorks, e.g. because you switch between Macs and Windows frequently, install the spelling dictionaries for TeXworks:
We recommend that you use the TeXlive LaTex/TeX distribution and use TeXworks as the front end:
Follow these steps:
NOTE. The installation downloads ca 1GB of files and will take a noticeable time (30mins to 1 hour, depending on the speed of the Internet link).
Introduced in PHY1028 used in all stages of physics programmes for mathematics, analysis of experiment data, and project work.
The following recipe for building from source has been tested on OS X 10.10.5 with Xcode 6.4, but you'll need to download about 3 GB of files in the process (check your broadband limits first!). Expect the compilation/installation process to take about an hour:
sudo tmutil addexclusion -p "/opt/local"
sudo port selfupdate
sudo port install octave -glgui +accelerate
sudo port install octave-optim octave-odepkg octave-miscellaneous
On completion, Octave should start when you type 'octave' at the Terminal.app command lime prompt. If your path does not include /opt/local/bin/ you will need to type the full path '/opt/local/bin/octave'.
The '+accelerate' option uses an OS X standard library instead of the recommended and slightly more robust 'atlas' library. Unfortunately atlas takes many hours to compile but if you have a lot of patience and a fast machine you can omit this option.
The package version numbers increment every few months, modify the install commands to match the ones you downloaded.
So-called 'office productivity' software is an inescapable part of life, and most students will have learned how to use it at school. An optional class will be arranged in the Summer Term for those who wish to develop and/or refresh their skills. The market leader is currently Microsoft Office. This is available for Macs and Windows, and is supported by Academic Services. A student discount version is available but it is still quite expensive. As an alternative we recommend Libre Office:
Once Libre Office is installed, remember to run the en-GB language pack installer.
There are two basic types of drawing packages: bitmap-representation and vector-representation. Devices such as cameras and scanners produce bitmaps and to manipulate these you will need a 'bitmap graphics' application. Vector graphics formats are usually best if you are constructing technical diagrams and illustrations. Graphics packages are not easy to use, practice on simple diagrams well before that project needs to be handed-in. Graphics packages will not endow you good taste or artistic skills, but fortunately clarity and simplicity are the most important qualities of scientific diagrams.
Introduced in the IT Skills section of PHY1028, PHY1029, and PHY1030.
Used in in the Astrophysics Skills section of PHY1029.
Useful for PHY2028 and PHY3128.
Your best bet is Spice Opus (freeware). Alternatively try Ngspice (OSS, freeware).
We recommend MacSpice 3f5 (freeware).
You have three obvious options.