Segmentation fault in Monte Carlo simulation

Viewed 63

I'm an undergraduate doing my final project. I'm supposed to run a test particle Monte Carlo simulation to derive the drag coefficient of a model in low earth orbit. I am running the c code on a high performance computer. The steps that I just to compile and run the simulation are below and the reference simulation is TPMC code.

I'm seeking the help of anyone who knows or have ran this simulation before.

steps

module load gsl
module load intelcc
icc -go tpm.c -Wall -lgslcblas -lgsl -lm -o test
./test 

error

Segmentation fault

I have tried running gbd to debug the code

icc tpm.c -Wall -lgslcblas -lgsl -lm -o -g  test

but the output is below which I do not know what it means

ld: error in test(.eh_frame); no .eh_frame_hdr table will be created.
0 Answers
Related