Difference between revisions of "Applications/IDL"

From HPC
Jump to: navigation , search
m
m (Further information)
 
(4 intermediate revisions by the same user not shown)
Line 45: Line 45:
 
#SBATCH --partition=compute
 
#SBATCH --partition=compute
  
module load idl/8.4
+
module add idl/8.4
  
 
idl -e main
 
idl -e main
Line 65: Line 65:
 
<pre style="background-color: black; color: white; border: 2px solid black; font-family: monospace, sans-serif;">
 
<pre style="background-color: black; color: white; border: 2px solid black; font-family: monospace, sans-serif;">
  
[user@login01 ~]$ module load idl/8.4
+
[user@login01 ~]$ module add idl/8.4
 
[pysdlb@login01 ~]$ idl
 
[pysdlb@login01 ~]$ idl
 
IDL Version 8.4 (linux x86_64 m64). (c) 2014, Exelis Visual Information Solutions, Inc.
 
IDL Version 8.4 (linux x86_64 m64). (c) 2014, Exelis Visual Information Solutions, Inc.
Line 82: Line 82:
 
* [https://en.wikipedia.org/wiki/IDL_(programming_language) https://en.wikipedia.org/wiki/IDL_(programming_language)]
 
* [https://en.wikipedia.org/wiki/IDL_(programming_language) https://en.wikipedia.org/wiki/IDL_(programming_language)]
  
{|
+
{{Licensepagenav}}
|style="width:5%; border-width: 0" | [[File:icon_home.png]]
 
|style="width:95%; border-width: 0" |
 
* [[Main_Page|Home]]
 
* [[Applications|Application support]]
 
* [[General|General]]
 
* [[Training|Training]]
 
* [[Programming|Programming support]]
 
|-
 
|}
 

Latest revision as of 11:20, 16 November 2022

Application Details

  • Description : IDL, short for Interactive Data Language, is a programming language used for data analysis. It is popular in particular areas of science, such as astronomy, atmospheric physics and medical imaging. IDL shares a common syntax with PV-Wave and originated from the same codebase, though the languages have subsequently diverged in detail.
  • Versions : 8.4
  • Module names : idl/8.4
  • License: University of Hull Engineering department, restricted by physics department


Usage Examples

IDL Programs

Below is an example of a very basic IDL program called helloworld.pro


; helloworld.pro
pro helloworld,what
  print,'HELLO ',what
end

And the corresponding main.pro program


; main.pro
pro main
  helloworld,'WORLD'
end

Batch Script


#!/bin/bash
#SBATCH --job-name=sayhello
#SBATCH --output=slurm.out
#SBATCH --error=slurm.err
#SBATCH --partition=compute

module add idl/8.4

idl -e main

Batch Submission

[username@login01 ~]$ sbatch idl.job
Submitted batch job 289543

Interactive Mode

IDL can be invoked an interactive mode as below:


[user@login01 ~]$ module add idl/8.4
[pysdlb@login01 ~]$ idl
IDL Version 8.4 (linux x86_64 m64). (c) 2014, Exelis Visual Information Solutions, Inc.
Installation number: 406930.
Licensed for use by: STFC - Dept of Physics

IDL>


Further information





Special License Applications | Main Page | Further Topics