problems when transfering HealpixMap into ppmfimes

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
YS Yun
Posts: 3
Joined: May 16 2018
Affiliation: Peking University

problems when transfering HealpixMap into ppmfimes

Post by YS Yun » July 13 2018

When I run the reconstruct codes from the lenspix, I wanna export the quadraticphi map.


234 call HealpixMap2Alm(H,M, A,lmax)
235
236 call QuadraticPhi(H,A, MGradT, LensedCl, Noise, 2,lmax)
237
238 call HealpixVis_Map2ppmFile(QuadraticPhi_map,'QuadraticPhi_map')
239
240 call HealpixMap2Alm(H, MGradT, A,lmax_est)

when the project run into 238th line, it returned that:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7FEDA6302E08
#1 0x7FEDA6301F90
#2 0x7FEDA58164AF
#3 0x463E54 in __healpixvis_MOD_healpixvis_map2ppm2.constprop.3 at HealpixVis.f90:?
#4 0x464D04 in __healpixvis_MOD_healpixvis_map2ppm
#5 0x4659F3 in __healpixvis_MOD_healpixvis_map2ppmfile
#6 0x4676FB in MAIN__ at LensReconExample.f90:?
Segmentation fault (core dumped)

So how should I solve this problem?

Post Reply