Entering edit mode
9.2 years ago
tkitapci
▴
60
I got the below error. This seems to be a memory problem but I am running this on a machine with 30GB of memory. Is this a memory related problem or something else ?
############################################################
#######terminate called after throwing an instance of 'std::bad_alloc'############# KISSNP2 MODULE #######################
############################################################
/home/cmb-02/sn1/tkitapci/software/DiscoSNP++-2.1.7-Source/build//tools/kissnp2/kissnp2 -in /home/cmb-07/sn1/tkitapci/BackUp/Dugesia_unzipped/dug_30.6.II/variant_call/Dugesia_k_31_c_4.h5 -out /home/cmb-07/sn1/tkitapci/BackUp/Dugesia_unzipped/dug_30.6.II/variant_call/Dugesia_k_31_c_4_D_0_P_1_b_0_withlow -b 0 -l -P 1 -D 0
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
/home/cmb-02/sn1/tkitapci/software/DiscoSNP++-2.1.7-Source/run_discoSnp++.sh: line 330: 8020 Aborted $DISCO_BUILD_PATH/tools/kissnp2/kissnp2 -in $h5prefix.h5 -out $kissprefix -b $b $l -P $P -D $D $extend $option_cores_gatb
there was a problem with kissnp2, command line: /home/cmb-02/sn1/tkitapci/software/DiscoSNP++-2.1.7-Source/build//tools/kissnp2/kissnp2 -in /home/cmb-07/sn1/tkitapci/BackUp/Dugesia_unzipped/dug_30.6.II/variant_call/Dugesia_k_31_c_4.h5 -out /home/cmb-07/sn1/tkitapci/BackUp/Dugesia_unzipped/dug_30.6.II/variant_call/Dugesia_k_31_c_4_D_0_P_1_b_0_withlow -b 0 -l -P 1 -D 0
Thanks!
Hi Pierre,
Thanks for your reply. I re-run it on our high memory node (120GB mem) and it run without any problem. I run on 1 core so multi-threading is not an issue here (although in the future I need to run on multi-core to make it faster). I think there was a memory spike at some point in the execution. I am running the 2.1.7 version and I am pretty sure there is no mixing of executables because I downloaded different version on separate directories.
Thanks
Hamdi
Indeed the 2.1.7 version had a memory issue, that was fixed later.