IDL CDF Patch Download and Installation Instruction: IDL CDF patch consists of two files: shared CDF library and platform-independent Dynamically Loadable Module (DLM) definition file. Make sure to make the downloaded dynamic library (the .so file) for non-Windows executable on your machine. Please contact gsfc-cdf-support@lists.nasa.gov if you need a different CDF version. Windows: Download one of the following files: 32-bit CDF shared library at w32/x86/idl_cdf.dll and idl_cdf.lib or 64-bit CDF shared library at w32/x64/idl_cdf.dll and idl_cdf.lib Download DLM: idl_cdf.dlm Download leap second table: CDFLeapSeconds.txt Set the IDL_DLM_PATH and IDL_PATH environment variables to point to the directory where you placed the patch. For example, if you placed the patch in c:\idl_cdf350_patch, then the command should be set IDL_DLM_PATH="c:\idl_cdf350_patch;" set IDL_PATH="c:\idl_cdf350_patch;" Note: The above commands must be entered exactly as shown, including angle brackets and double quotes, prior to invoking IDL. If the patch is checked out fine, you can use the downloaded files: idl_cdf.dlm and idl_cdf.dll to replace the ones in the operational directory at \bin\bin.x86 for 32-bit mode, or \bin\bin.x86_64 for 64-bit mode. Backup up the original files. Set environment variable CDF_LEAPSECONDSTABLE to the downloaded leap second table. The step is necessary when a new leap second is added and the shared library is not upgraded. Invoke IDL and use it as usual. Mac OS X (Intel): Download one the following CDF shared library files: 32-bit CDF shared library at macosX/i386/idl_cdf.so for 32-bit Intel, 64-bit CDF shared library at macosX/x86_64/idl_cdf.so for 64-bit Intel Download DLM: idl_cdf.dlm Download leap second table: CDFLeapSeconds.txt Replace idl_cdf.so and idl_cdf.dlm in the \bin\bin.darwin.i386 directory for Intel on 32-bit mode, \bin\bin.darwin.x86_64 directory for Intel on 64-bit mode, or Backup the original files. Set environment variable CDF_LEAPSECONDSTABLE to the downloaded leap second table. The step is necessary when a new leap second is added and the shared library is not upgraded. Invoke IDL and use it as usual. Linux (Intel): Download one the following CDF shared library files: 32-bit CDF shared library at linux/linux32/idl_cdf.so for 32-bit Intel or 64-bit CDF shared library at linux/linux64/idl_cdf.so for 64-bit Intel Download DLM: idl_cdf.dlm Download leap second table: CDFLeapSeconds.txt Set the IDL_DLM_PATH and IDL_PATH environment variables to point to the directory where you placed the patch. For example, if you placed the patch in /home/harold, then the commands should be setenv IDL_DLM_PATH "/home/harold:" (for tcsh shell) export IDL_DLM_PATH="/home/harold:" (for bash shell) setenv IDL_PATH "/home/harold:+" (for tcsh shell) export IDL_PATH="/home/harold:+" (for bash shell) Note: The above commands must be entered exactly as shown, including angle brackets and double quotes, prior to invoking IDL. If the patch is checked out fine, you can use the downloaded files to replace the ones in the operational directory (may need the root access) at /bin/bin.linux.x86 for 32-bit mode, or /bin/bin.linux.x86_64 for 64-bit mode. Backup the original files. Set environment variable CDF_LEAPSECONDSTABLE to the downloaded leap second table. The step is necessary when a new leap second is added and the shared library is not upgraded. Invoke IDL and use it as usual. Solaris (Sparc or Intel) Download one the following CDF shared library files: 32-bit CDF shared library at solaris/sparc32/idl_cdf.so for 32-bit Sparc 64-bit CDF shared library at solaris/sparc64/idl_cdf.so for 64-bit Sparc 64-bit CDF shared library at solaris/x64/idl_cdf.so for 64-bit Intel Download DLM: idl_cdf.dlm Download leap second table: CDFLeapSeconds.txt Set the IDL_DLM_PATH and IDL_PATH environment variables to point to the directory where you placed the patch. For example, if you placed the patch in /home/harold, then the command should be setenv IDL_DLM_PATH "/home/harold:" (for tcsh shell) export IDL_DLM_PATH="/home/harold:" (for bash shell) setenv IDL_PATH "/home/harold:+" (for tcsh shell) export IDL_PATH="/home/harold:+" (for bash shell) Note: The above commands must be entered exactly as shown, including angle brackets and double quotes, prior to invoking IDL. If the patch is checked out fine, you can use the downloaded files to replace the ones in the operational directory (may need the root access) at /bin/bin.solaris2.sparc for Sparc on 32-bit mode, /bin/bin.solaris2.sparc64 for Sparc on 64-bit mode, or /bin/bin.solaris2.x86_64 or Intel on 64-bit mode. Backup the original files. Set environment variable CDF_LEAPSECONDSTABLE to the downloaded leap second table. The step is necessary when a new leap second is added and the shared library is not upgraded. Invoke IDL and use it as usual. If you have questions, need assistance, or encounter problems, please contact us at gsfc-cdf-support@lists.nasa.gov.