AudiLab Software

Software developed here

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. – Brian W. Kernighan

A number of applications for 3-D modelling have been and are being developed here (including Fie, Tr3, Thrup'ny and others) and are available as executable binaries.

Applications have also been developed for handling bibliographic references and for miscellaneous tasks.

Libraries developed here include:

Finite-element software

We are currently using SAP IV, Code_Aster, FEBio, CalculiX and an old version of the commercial package COMSOL. We have also investigated Cast3m and Modulef, and used to use the commercial packages I-DEAS. I have compiled some sketchy information about available f-e software.

Other software used here

Libraries from elsewhere that are used here include:

I often use GNU emacs:

Until ~2000 I used mostly VMS and until 2008 we used DEC/Compaq Unix. Now we use Debian GNU/Linux and (alas) M$ Windows 2000 & XP.

I've collected some personal tips for MS Windows and for Unix/Linux.

Departmental environment

Workstations within BME should use fixed IP addresses that are assigned. The netmask should be 255.255.255.0 and the gateway address should be 132.206.111.1. The DNS servers should be set to 132.206.85.18, 132.206.85.19 and 132.206.85.20, and campus.mcgill.ca should be specified as the domain. See Network setup for how to do this under Debian/GNU Linux.

Departmental computing resources include printers; a shared computer with a scanner; and access to a Windows server (Probe) which hosts both individual directories (biomedusers) and shared lab directories (probeShare), all of which are backed up regularly.

Each user has a quota of 5 GB in their personal Probe directory.
AudiLab has a quota of 20 GB in probeShare/Biomed/Audilab/ and 100 GB in probeShare/BMEdisk/AudiLab/.

To access Probe from a Linux computer, in the Nautilus file-system browser do File ▶ Connect to Server. In the dialogue box select Windows share as the Service type and fill in the fields as follows:
Server probe.campus.mcgill.ca
Folder biomedusers or probeshare
User Name your McGill DAS (Short) username
Domain Name campus

The following alternative procedure for accessing Probe from Linux doesn't work in recent versions of Debian and Ubuntu because of a change to smbmount.

You can download smbmount.pl, a Perl script that issues the appropriate smbmount commands to connect to both biomedusers and probeShare. Save the script somewhere, make it executable, then execute it. For example, save it in ~/Downloads/ and then in a terminal window do

cd ~/Downloads/ chmod +x smbmount.pl

Thereafter, each time you login you can give the command ~/Downloads/smbmount.pl to establish the connections to Probe. You will be asked for your password twice. The contents of the biomedusers and probeShare directories will now appear in probe and probeShare, respectively, in your home directory. The script relies on a hard-wired list of Linux usernames and corresponding McGill short usernames. If you get the message Unrecognized username, ask to have your usernames added to the list.

Printing

M$ Windows

See departmental instructions.

Linux

Make sure CUPS is installed. (Under Debian GNU/Linux, use aptitude to install cupsys and its required packages.)

To add a new printer, in a Web browser go to http://localhost:631/admin and select Add Printer.

I've had problems printing from some applications to one or the other printer and have not attempted to resolve the problems. Printing from OpenOffice.org applications to the Kyocera printer should work.

If problems arise when printing Unix-style plain-text files because the carriage returns are missing, they can be added using unix2dos.

Kyocera black-and-white printer

The required PPD file, Kyocera_Mita_FS-9520DN_en.ppd, can be downloaded from www.linuxprinting.org. The device URI to use is lpd://132.206.111.191. Specify the following settings:

Dell colour printer

Use CUPS's HP Color LaserJet Series PCL 6 for the make and model. The device URI to use is lpd://132.206.111.192. Specify the following settings:

Organization of AudiLab software

The source files for a library are generally in the same directory as the object-library file, and are listed in a .nam file. The .nam file may include pointers to other directories for some of the modules.

For libraries developed here, there are two naming conventions: a source file contains either

Most of my software is written in Fortran 77/90 with some C. For Fortran code, the subprogrammes are usually subroutines rather than functions. For C, of course, there are only functions.


AudiLab home page
R. Funnell
Last modified: 2011-11-14 16:32:54