Initiative Tools Resources Help Contact Us FAQs
SETTING UP IDL 
- If you don't have a copy already, down load the latest version of IDL from the ITT website (http://www.ittvis.com/idl/) and follow the installation instructions. Be aware that to use IDL you will need an IDL License. You will need to find out if/how this license works at your institute. If no license is available then consider using GDL.
- Once IDL and license are installed we recommend that you creat a .idlrc file in your home space that will be use to , for example, set the IDL paths. First you will need to add the following lines to file that initialises your terminal application.
- Download and unpack the latest version of iCosmo
- For Mac the .idlrc file should look something like (the section in red needs to be replaced by the path to your copy of iCosmo):
device,decompose=0
!PATH=!PATH+':'+expand_path('+/Users/usename/icosmo/')+':'
- You should now be ready to calculation a Fisher matrix.
- Start IDL by typing IDL at the command prompt
- type: fid=set_fiducial()
- type : cosmo=mk_cosmo(fid) ; Calculate basic cosmology quantities
- You're Done!
Notes for a Unix (Debian) System (Tom)
On a networked machine need to find where your IDL preference/setup file is located. This will either be called idl_setup or idl.pref.
This may be under the .idl directory from your home space i.e.
~/.idl/itt/pref-10-idl_6_4-unix/idl.pref
In the .cshrc file add:
source ~/.idl/itt/pref-10-idl_6_4-unix/idl.pref
setenv IDL_STARTUP ${HOME}/.idlrc
Create a new file .idlrc in the home space and add:
device,decompose=0
!PATH=!PATH+':'+expand_path('+~/code/iCosmo/')+':'
where ~/code/iCosmo/ is the path to the top level of the iCosmo directory.
Key
- red - Commands you can type into IDL
- green - What IDL print
- blue - other, e.g. keywords
Comments (0)
You don't have permission to comment on this page.