posix_memalign failed
I'm encountering a bug in wsclean when using -use-idg
and -idg-mode gpu
, as you can see below.
The versions of each are the git tags wsclean=v2.10.1 and idg=0.7
torrance@mwa039:~/astro/Abell2877/CHAN69ALT/1197977416> singularity run --no-home --nv --writable-tmpfs --no-home --app wsclean ~/astro/mwatools -name 1197977416-wsclean-idg -apply-primary-beam -mgain 0.8 -pol i -weight briggs 0 -minuv-l 15 -size 18000 18000 -scale .007246 -niter 9999999 -auto-threshold 1 -auto-mask 3 -channels-out 4 -fit-spectral-pol 2 -deconvolution-channels 2 -join-channels -nmiter 12 -use-idg -idg-mode gpu -padding 1.8 -multiscale -parallel-deconvolution 2048 -tempdir /tmp 1197977416.ms
!!! WARNING: Parameter '-tempdir' is deprecated and will be removed in a future version of WSClean.
!!! Use parameter '-temp-dir' instead.
WSClean version 2.10.1 (2020-07-20)
This software package is released under the GPL version 3.
Author: André Offringa (offringa@gmail.com).
First measurement set has corrected data: tasks will be applied on the corrected data column.
=== IMAGING TABLE ===
# Pol Ch JG ²G In Freq(MHz)
| Independent group:
+-+-J- 0 I 0 0 0 0 72-80 (192)
|
+-J- 1 I 1 0 1 0 80-88 (192)
|
+-J- 2 I 2 0 2 0 88-95 (192)
|
+-J- 3 I 3 0 3 0 95-103 (192)
Reordering 1197977416.ms into 4 x 1 parts.
Reordering: 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Initializing model visibilities: 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Precalculating MF weights for Briggs'(0) weighting...
Opening reordered part 0 spw 0 for 1197977416.ms
Opening reordered part 1 spw 0 for 1197977416.ms
Opening reordered part 2 spw 0 for 1197977416.ms
Opening reordered part 3 spw 0 for 1197977416.ms
== Constructing PSF ==
IDG version 0.7:HEAD:d8113692
Devices:
Tesla V100-PCIE-32GB
Device memory : 32133 Mb / 32510 Mb (free / total)
Shared memory : 48.00 Kb
Clk frequency : 1380 Ghz
Mem frequency : 877 Ghz
Number of SM : 80
Mem bus width : 4096 bit
Mem bandwidth : 898 GB/s
Number of threads : 2048
Capability : 70
Unified memory : 1
Compiler flags:
-use_fast_math -lineinfo -src-in-ptx -arch=sm_70 -DNR_POLARIZATIONS=4 -I/usr/local/include
Opening reordered part 0 spw 0 for 1197977416.ms
Determining min and max w & theoretical beam size... DONE (w=[0.000581083:417.076] lambdas, maxuvw=1413.22 lambda)
Theoretic beam = 2.43'
Writing changed model back to 1197977416.ms:
0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Cleaning up temporary files...
avg beam: 00:00:00.000000000
plan: 00:00:00.000000000
gridding: 00:00:00.000000000
degridding: 00:00:00.000000000
set image: 00:00:00.000000000
get image: 00:00:00.000000000
+ + + + + + + + + + + + + + + + + + +
+ An exception occured:
+ >>> posix_memalign failed
+ + + + + + + + + + + + + + + + + + +