HEALPIX: alm2map_spin

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Carlos L.A.
Posts: 13
Joined: January 17 2008
Affiliation: ICE

HEALPIX: alm2map_spin

Post by Carlos L.A. » May 22 2009

Hi,

I'm trying to call the subroutine "alm2map_spin" but I have a linking problem.

I inlcude this in my code:

Code: Select all

 use healpix_types
           use alm_tools
and when compiling I use:

Code: Select all

 /library/Healpix_2.11/lib/libhealpix.a -I/library/Healpix_2.11/include/
Finally I obtain this error message:

Code: Select all

Generic subroutine 'alm2map_spin' at (1) is not an intrinsic subroutine
Any ideas?
Thanks

Pascal Vaudrevange
Posts: 50
Joined: March 26 2006
Affiliation: DESY
Contact:

HEALPIX: alm2map_spin

Post by Pascal Vaudrevange » May 22 2009

Hi Carlos,

do you use the correct type of argument, i.e. real(4) vs. real(8) etc?

Pascal

Carlos L.A.
Posts: 13
Joined: January 17 2008
Affiliation: ICE

HEALPIX: alm2map_spin

Post by Carlos L.A. » May 22 2009

Thanks Pascal.

I thought it was a linking problem, but actually the problem was the definition of the variable "map" (the alm2map_spin output)

As it could be of any use for someone in the future, I post how I define them:

Code: Select all

         integer(I4B)  :: nside, lmax, mmmax, spin, npix
         real(DP),     dimension(:,:), allocatable :: map
         complex(DPC), dimension(:,:,:), allocatable :: alm


Carlos

Post Reply