Difference between revisions of "Applications/IDL"

From HPC
Jump to: navigation , search
m
m (Further information)
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
* Module names : idl/8.4
 
* Module names : idl/8.4
 
* License: University of Hull Engineering department, restricted by physics department
 
* License: University of Hull Engineering department, restricted by physics department
 +
  
 
== Usage Examples ==
 
== Usage Examples ==
  
 
===IDL Programs===
 
===IDL Programs===
 +
  
 
Below is an example of a very basic IDL program called '''helloworld.pro'''
 
Below is an example of a very basic IDL program called '''helloworld.pro'''
Line 32: Line 34:
 
</pre>
 
</pre>
  
===SLURM Script===
+
===Batch Script===
 +
 
  
 
<pre style="background-color: #C8C8C8; color: black; border: 2px solid #C8C8C8; font-family: monospace, sans-serif;">
 
<pre style="background-color: #C8C8C8; color: black; border: 2px solid #C8C8C8; font-family: monospace, sans-serif;">
Line 41: Line 44:
 
#SBATCH --error=slurm.err
 
#SBATCH --error=slurm.err
 
#SBATCH --partition=compute
 
#SBATCH --partition=compute
 +
 +
module add idl/8.4
  
 
idl -e main
 
idl -e main
Line 54: Line 59:
 
</pre>
 
</pre>
  
== Further information ==
+
===Interactive Mode===
 +
 
 +
IDL can be invoked an interactive mode as below:
 +
 
 +
<pre style="background-color: black; color: white; border: 2px solid black; font-family: monospace, sans-serif;">
 +
 
 +
[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>
 +
 
 +
</pre>
 +
 
 +
 
 +
== Further information ==  
 +
 
 +
* [http://www.exelisvis.co.uk http://www.exelisvis.co.uk]
 +
* [https://en.wikipedia.org/wiki/Exelis_Visual_Information_Solutions https://en.wikipedia.org/wiki/Exelis_Visual_Information_Solutions]
 +
* [https://en.wikipedia.org/wiki/IDL_(programming_language) https://en.wikipedia.org/wiki/IDL_(programming_language)]
 +
 
 +
{{Licensepagenav}}

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