Need help to start with Healpix on IDL and Windows 7

  • Context: Undergrad 
  • Thread starter Thread starter fineTuner
  • Start date Start date
  • Tags Tags
    Windows windows 7
Click For Summary
SUMMARY

This discussion focuses on the installation of Healpix on IDL within a Windows 7 environment, specifically for creating a CMB map using Planck data. The user encountered challenges following the installation guide, which is primarily tailored for Linux systems. Recommendations include dual-booting with Linux for a smoother experience, particularly with distributions like Ubuntu or Mint, and using GDL as an alternative to IDL. The user ultimately aims to resolve issues related to environment variables and path configurations for successful Healpix integration.

PREREQUISITES
  • Basic knowledge of IDL (Interactive Data Language)
  • Familiarity with Healpix for astrophysical data analysis
  • Understanding of Linux operating systems, particularly Ubuntu or Mint
  • Experience with command-line interfaces and environment variable configuration
NEXT STEPS
  • Research the installation process of Healpix on Linux, specifically for Ubuntu or Mint.
  • Learn about configuring environment variables in Linux for IDL and Healpix.
  • Explore the differences between IDL and GDL, focusing on compatibility with Healpix.
  • Investigate dual-boot setup procedures for Windows and Linux to facilitate software installation.
USEFUL FOR

Astrophysics students, researchers working with CMB data, and developers seeking to integrate Healpix with IDL or GDL in a Linux environment.

fineTuner
Messages
17
Reaction score
0
Hello,
i'm an astrophysics student, and i need to create a CMB map using Planck data. I have to use Healpix on IDL.
I'm new in IDL, but I'm learning the basics, and i haven't particular problems.
My problem is with Healpix: i can't understand what is the right procedure of installation (on Windows 7). I followed the guide but i can't complete it, because is mainly focused on Linux systems. I don't know what to do after installing cgwin and all the requested packages. The guide is here: http://healpix.jpl.nasa.gov/html/install.htm#SECTION00071000000000000000
Is there someone who has already installed it on Windows?

Thanks for your attention.
 
Space news on Phys.org
fineTuner said:
Hello,
i'm an astrophysics student, and i need to create a CMB map using Planck data. I have to use Healpix on IDL.
I'm new in IDL, but I'm learning the basics, and i haven't particular problems.
My problem is with Healpix: i can't understand what is the right procedure of installation (on Windows 7). I followed the guide but i can't complete it, because is mainly focused on Linux systems. I don't know what to do after installing cgwin and all the requested packages. The guide is here: http://healpix.jpl.nasa.gov/html/install.htm#SECTION00071000000000000000
Is there someone who has already installed it on Windows?

Thanks for your attention.
Honestly, your best bet is to just install Linux. It's pretty easy these days to set up a system for dual-boot Windows/Linux. Yes, it can be a bit of a hassle to install Linux, but so much AP work is done in Linux that it's probably a good idea, even if it takes longer this time around than getting Healpix to work.

That said, if you really want to use IDL in Windows, I can see two ways of doing it:
1. Use a Windows install of IDL, and manually point that install to your Healpix installation under cygwin. This will be a little bit hairy, but not too horrible.
2. Use a Linux install of IDL which is placed within cygwin, and install Healpix as you would under Linux. The problem with this is, I have no idea whatsoever if IDL will work under cygwin.
 
By the way, you'd get Healpix to work under Windows by adjusting the Healpix startup file and pointing IDL to it:
http://www.idlcoyote.com/misc_tips/idl_startupfile.php

The main issue here is that you'd have to make sure the file paths point to their Windows file paths, not the cygwin virtual file paths.
 
Thank you Chalnoth!
I think the easiest way is to install Linux in dual boot configuration. Tomorrow i'll install Linux, and then i'll try again (i'd like to try with GDL, is that a good idea?).
 
fineTuner said:
Thank you Chalnoth!
I think the easiest way is to install Linux in dual boot configuration. Tomorrow i'll install Linux, and then i'll try again (i'd like to try with GDL, is that a good idea?).
I'd suggest Ubuntu, Mint, or OpenSuse, personally. Ubuntu and Mint are perhaps the most popular Linux distributions (not including Chrome OS and Android...), and so are likely to have the fewest issues and headaches. OpenSuse I have a soft spot for because of its graphical administration tools (most other distributions rely more heavily on config file changes and the like for low-level configuration).

I don't know much of anything about GDL, but I will say that gaming on Linux is always a spotty proposition, but all of the above distributions will work well regardless.
 
I got an e-mail notification that you'd sent a reply, but it seems to have disappeared. Did you figure it out? In Linux, you type "hidl" to execute IDL with the Healpix environment variables enabled.
 
Hi Chalnoth,
yes i sent a reply but i made some mistakes so i deleted it, sorry.
I've installed Ubuntu and GDL and I'm learning to use it. I also downloaded the Healpix folder and I'm trying to install it (i'm following the official guide). I unpacked the folder, its path is: diamanti@diamanti-desktop:~/Healpix_3.11
Then i run the "./configure" command and i selected the IDL option and i chose the programs for visualization etc.
After that the program reported the following lines:
Generating /home/diamanti/Healpix_3.11/src/idl/visu/idl_default_previewer.pro

Generating /home/diamanti/.healpix/3_11_Linux/idl.sh
containing:
# IDL configuration for HEALPix sab 27 lug 2013, 14.44.47, CEST
# make sure IDL related variables are global
export IDL_PATH IDL_STARTUP
# back up original IDL config, or give default value
OIDL_PATH="${IDL_PATH-}"
OIDL_STARTUP="${IDL_STARTUP}"
# create Healpix IDL config, and return to original config after running Healpix- enhanced IDL
HIDL_PATH="+${HEALPIX}/src/idl:${OIDL_PATH}"
HIDL_STARTUP="${HEALPIX}/src/idl/HEALPix_startup"
alias hidl="IDL_PATH=\"${HIDL_PATH}\" ; IDL_STARTUP=${HIDL_STARTUP} ; idl ; IDL_PATH=\"${OIDL_PATH}\" ; IDL_STARTUP=${OIDL_STARTUP} "
alias hidlde="IDL_PATH=\"${HIDL_PATH}\" ; IDL_STARTUP=${HIDL_STARTUP} ; idlde ; IDL_PATH=\"${OIDL_PATH}\" ; IDL_STARTUP=${OIDL_STARTUP} "

Then i tried to test it, but the problem is that the "hidl" command doesn't work:

GDL> hidl
% Procedure not found: HIDL
% Execution halted at: $MAIN$

The guide says that this problem can be solved, but i can't understand how. See here: http://healpix.jpl.nasa.gov/html/install.htm#SECTION00076000000000000000

In my opinion, the problem is in the different paths of GDL and Healpix, ,maybe i have to change them?
What does "Healpix environment variables enabled" means?

I'm sorry, I'm trying to learn, but everytime i solve a problem, i find other problems :S
 
fineTuner said:
Hi Chalnoth,
yes i sent a reply but i made some mistakes so i deleted it, sorry.
I've installed Ubuntu and GDL and I'm learning to use it. I also downloaded the Healpix folder and I'm trying to install it (i'm following the official guide). I unpacked the folder, its path is: diamanti@diamanti-desktop:~/Healpix_3.11
Then i run the "./configure" command and i selected the IDL option and i chose the programs for visualization etc.
After that the program reported the following lines:



Generating /home/diamanti/Healpix_3.11/src/idl/visu/idl_default_previewer.pro

Generating /home/diamanti/.healpix/3_11_Linux/idl.sh
containing:
# IDL configuration for HEALPix sab 27 lug 2013, 14.44.47, CEST
# make sure IDL related variables are global
export IDL_PATH IDL_STARTUP
# back up original IDL config, or give default value
OIDL_PATH="${IDL_PATH-}"
OIDL_STARTUP="${IDL_STARTUP}"
# create Healpix IDL config, and return to original config after running Healpix- enhanced IDL
HIDL_PATH="+${HEALPIX}/src/idl:${OIDL_PATH}"
HIDL_STARTUP="${HEALPIX}/src/idl/HEALPix_startup"
alias hidl="IDL_PATH=\"${HIDL_PATH}\" ; IDL_STARTUP=${HIDL_STARTUP} ; idl ; IDL_PATH=\"${OIDL_PATH}\" ; IDL_STARTUP=${OIDL_STARTUP} "
alias hidlde="IDL_PATH=\"${HIDL_PATH}\" ; IDL_STARTUP=${HIDL_STARTUP} ; idlde ; IDL_PATH=\"${OIDL_PATH}\" ; IDL_STARTUP=${OIDL_STARTUP} "

Then i tried to test it, but the problem is that the "hidl" command doesn't work:

GDL> hidl
% Procedure not found: HIDL
% Execution halted at: $MAIN$

The guide says that this problem can be solved, but i can't understand how. See here: http://healpix.jpl.nasa.gov/html/install.htm#SECTION00076000000000000000

In my opinion, the problem is in the different paths of GDL and Healpix, ,maybe i have to change them?
What does "Healpix environment variables enabled" means?

I'm sorry, I'm trying to learn, but everytime i solve a problem, i find other problems :S
Okay, this is a bit of a problem. I've always had an IDL license through the university I worked with. GDL is a bit dicier. Read up on it here:
http://healpix.jpl.nasa.gov/html/install.htm#SECTION00078000000000000000
 
Yes, i read the whole guide, and there is only that section about GDL. I decided to use GDL because i don't have IDL for Linux, but only for Windows. Well, i'll try to find another solution!
 
  • #10
fineTuner said:
Yes, i read the whole guide, and there is only that section about GDL. I decided to use GDL because i don't have IDL for Linux, but only for Windows. Well, i'll try to find another solution!
You can't get IDL for Linux through your school?

I've never tried to get it to work with GDL myself, personally, as I've always had access to an IDL license through the school when I've needed one.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 18 ·
Replies
18
Views
6K
Replies
4
Views
3K
Replies
12
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
9K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 4 ·
Replies
4
Views
10K
Replies
2
Views
6K