Terabit-Ethernet / dcPIM

BSD 3-Clause "New" or "Revised" License
20 stars 6 forks source link

Segmentation fault thrown by the simulator code while running 'run.sh' #6

Closed ananthakrishnanpta closed 1 year ago

ananthakrishnanpta commented 1 year ago
./run_script_imc10.sh: line 27: 33717 Segmentation fault      ../../simulator 1 conf_"$algo"_"$TRACE"_"$load".txt > "$OUTPUT_FOLDER/$DATE"/result_"$algo"_"$TRACE"_"$load".txt
./run_script_imc10.sh: line 27: 33718 Killed                  ../../simulator 1 conf_"$algo"_"$TRACE"_"$load".txt > "$OUTPUT_FOLDER/$DATE"/result_"$algo"_"$TRACE"_"$load".txt
./run_script_imc10.sh: line 27: 33719 Killed                  ../../simulator 1 conf_"$algo"_"$TRACE"_"$load".txt > "$OUTPUT_FOLDER/$DATE"/result_"$algo"_"$TRACE"_"$load".txt
./run_script_imc10.sh: line 27: 33720 Killed                  ../../simulator 1 conf_"$algo"_"$TRACE"_"$load".txt > "$OUTPUT_FOLDER/$DATE"/result_"$algo"_"$TRACE"_"$load".txt
./run_script_imc10.sh: line 27: 33721 Killed                  ../../simulator 1 conf_"$algo"_"$TRACE"_"$load".txt > "$OUTPUT_FOLDER/$DATE"/result_"$algo"_"$TRACE"_"$load".txt
./run_script_imc10.sh: line 27: 33722 Killed                  ../../simulator 1 conf_"$algo"_"$TRACE"_"$load".txt > "$OUTPUT_FOLDER/$DATE"/result_"$algo"_"$TRACE"_"$load".txt
./run_script_imc10.sh: line 27: 33723 Segmentation fault      ../../simulator 1 conf_"$algo"_"$TRACE"_"$load".txt > "$OUTPUT_FOLDER/$DATE"/result_"$algo"_"$TRACE"_"$load".txt
./run_script_imc10.sh: line 27: 33724 Segmentation fault      ../../simulator 1 conf_"$algo"_"$TRACE"_"$load".txt > "$OUTPUT_FOLDER/$DATE"/result_"$algo"_"$TRACE"_"$load".txt
qizhe commented 1 year ago

Hi,

It's possible that this issue could be related to compatibility problems with GCC. We suggest trying GCC-7.5.0 or an earlier version. Once you've installed GCC-7, please use the following commands to compile the code:

CC='gcc-7' CXX='g++-7' ./configure 
CC='gcc-7' CXX='g++-7' make