I got the segmentation fault (core dumped) error and a core.file when I used SGE to qsub trust-job to compute node. While I connected compute node through ssh and run the trust-job on it directly, it worked well. What is problem?
My trust-job is :
#! /bin/bash
#$ -S /bin/bash
#$ -V
#$ -N trust
#$ -l vf=10G,p=4,h=compute-1-6
#$ -q default.q
#$ -cwd
#$ -wd /**/USER/yangshuang/data/trust_test/
trust -f /**/USER/yangshuang/data/mapped/**.sorted.bam -g hg38 -c -B -o /**/USER/yangshuang/data/trust_test/ -n 4
core.file :
"Core was generated by `/**/USER/yangshuang/software/anaconda2/bin/python /**/USER/yangshuang/s'.
Program terminated with signal 11, Segmentation fault.
#0 0x00002b4de08de24a in compare_Lgreaterthan64(unsigned long*, int, int, unsigned long*, int, int, int, int*) () at trust/getOverlapInfo.cpp:110
110 tmp_pre[j] = prefix[j+count_pre];"
result in workdir:
-rw-r--r-- 1 yangshuang ** 2767 Jul 29 10:55 **.sorted.bam-BCR-HeavyChain-coverage.txt
-rw-r--r-- 1 yangshuang ** 583771842 Jul 29 10:54 **.sorted.bam-unmapped.bam
-rw-r--r-- 1 yangshuang ** 25462985 Jul 29 10:54 **.sorted.bam-Locs.bam