Closed beneslami closed 1 year ago
Try using gcc (g++) 7.5.0. I had the same issue and downgrading gcc worked.
Hi @hmhmhey Thank you for your reply. I did downgrade the gcc/g++ version to 7.5 but still have the same problem. Is this problem because of gcc/g++ version ? Do I have to check other gcc/g++ versions ?
Actually, I compiled AccelSim with gcc7.5 as well tried to run the backprop again. But this time I get another seg fault as below:
GPGPU-Sim PTX: pushing kernel '_Z22bpnn_layerforward_CUDAPfS_S_S_ii' to stream 0, gridDim= (1,4096,1) blockDim = (16,16,1)
GPGPU-Sim uArch: Shader 0 bind to kernel 1 '_Z22bpnn_layerforward_CUDAPfS_S_S_ii'
GPGPU-Sim uArch: CTA/core = 6, limited by: threads
GPGPU-Sim: Reconfigure L1 cache to 120KB
Thread 2 "backprop-rodini" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff4553700 (LWP 396535)]
0x00007ffff7a4c2db in kernel_info_t::no_more_ctas_to_run (chiplet_id=<optimized out>, this=<optimized out>) at ../abstract_hardware_model.h:310
310 int ctaid = (next_cta_per_chiplet[chiplet_id].x + m_grid_dim.x * next_cta_per_chiplet[chiplet_id].y
(gdb)
Not sure why it worked, but changing gcc version solved the libc segfault same as the first one. I don't think the second one is related to gcc version.
I'm pretty sure we support gcc 9+.
I don't know what are you using, but we certainly don't have next_cta_per_chiplet
in Accel-Sim. Sorry not much I can help here.
Hi. I'm trying to run backprop benchmark in PTX mode. After successful compilation, I simply run ./backprop with a proper input file. After several seconds, a segmentation fault happens. I ran the simulation under GDB and tried to backtrace the cause of the seg fault. This is the output:
BTW, I'm using gcc 9.4 and CUDA 11.0
Thank you in advance for your help