Research


Overview Projects Tools Opportunities














  • Absoft Fortran Linker:
    when linking to libraries, compile with the options to use lower cases (-YEXT_NAMES=LCS) and with the option to add and underscore after the name (-YEXT_SFX=_). If you still cannot find what you are looking for, try to see the names with the command
    nm -g /sw/lib/namelibrary.a |grep -i nameobject
    and check for differences with what the compiler is looking for. Here, I am assuming that libraries are installed in /sw/lib, as fink does. E.g., to compile gennet.f (that requires netcdf library), and put the executable in /sw/bin I type:
    f95 -s -YEXT_NAMES=LCS -YEXT_SFX=_ -I/sw/include -o /sw/bin/gennet gennet.f /sw/lib/libnetcdf.a
  • Display of XWindow from remote machines on a Mac OSX:
    One of the following will work:
    First of all you need to authorize X11Forwarding. Do this by going in the file /etc/sshd_config and changing the line
    #X11Forwarding no
    to
    X11Forwarding yes
    Then simply use ssh -X login_name@host_name and run your applications normally (clearly you need to have enabled Remote Login, from System Preferences, Sharing).
    Otherwise (not suggested) in a X11 xterm on your Mac type
    defaults write com.apple.x11 nolisten_tcp -boolean false
    defaults write com.apple.x11 no_auth -boolean false
    You can check that nolisten_tcp and no_auth have the value "0" assigned (before it was "1") by typing
    defaults read com.apple.x11
    At this point, procede as usual with the setenv DISPLAY myhost:0.0 on the remote machine and with xhost+ on the local machine.
  • Equations in Keynote
    download the latex equation editor (you need to have Latex installed for using it) from http://evolve.lse.ac.uk/software/EquationEditor. Works great!


Home page | People | Research | Teaching | Publications | News | Contacts | Links