Model fails running after restoring from checkpoint
Closed this issue · 1 comments
@heqixin @edbaskerville (running on Midway)
After creating a parameter file using:
LOAD_FROM_CHECKPOINT = True
CHECKPOINT_LOAD_FILENAME = '"param1_CP.sqlite"'
the generation seems to be ok. then running produces a bunch of errors of this type:
addr2line: supported targets: elf64-x86-64 elf32-i386 a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
error determining line # for: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fbb939a5d1d]
addr2line: invalid option -- 'p'
Usage: addr2line [option(s)] [addr(s)]
Convert addresses into line number/file name pairs.
If no addresses are specified on the command line, they will be read from stdin
The options are:
@ Read options from
-b --target= Set the binary file format
-e --exe= Set the input file name (default is a.out)
-i --inlines Unwind inlined functions
-j --section= Read section-relative offsets instead of addresses
-s --basenames Strip directory names
-f --functions Show function names
-C --demangle[=style] Demangle function names
-h --help Display this information
-v --version Display the program's version
Hm. Looks like two things: (1) there's a crash; (2) the code I wrote to print out nice stacktraces telling you where the crash happened isn't working right on Linux. So I'll have to fix (2) first, which should then tell us more about (1).