Missing debug info

Status
Not open for further replies.

samrabin

Sam Rabin
Member
I've compiled CLM with DEBUG=TRUE, but for some reason I'm not getting any useful output.

Code:
0:   Creating variable x0
0:   Creating variable x1
0:   Creating variable y0
0:   Creating variable y1
0:   Creating variable zocn
0:   Creating variable artm
0:   Creating variable smb
0:   Creating variable thk
0:   Creating variable topg
0:   Creating variable usurf
71:MPT ERROR: Rank 71(g:71) received signal SIGSEGV(11).
71:    Process ID: 45391, Host: r14i0n20, Program: /glade/scratch/samrabin/f10_f10_mg37_debug/bld/cesm.exe
71:    MPT Version: HPE MPT 2.22  03/31/20 15:59:10
71:
71:MPT: --------stack traceback-------
71:
71:MPT: -----stack traceback ends-----
71:MPT: On host r14i0n20, Program /glade/scratch/samrabin/f10_f10_mg37_debug/bld/cesm.exe, Rank 71, Process 45391: Dumping core on signal SIGSEGV(11) into directory /glade/scratch/samrabin/f10_f10_mg37_debug/run
-1:MPT ERROR: MPI_COMM_WORLD rank 71 has terminated without calling MPI_Finalize()
-1:    aborting job
MPT: Received signal 11

Is there anything I can do to convince the debugger to give me that traceback?

(From /glade/scratch/samrabin/f10_f10_mg37_debug/run/cesm.log.2860510.chadmin1.ib0.cheyenne.ucar.edu.220214-175618)
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
Sounds like from your other post that you are making progress. Regarding getting more output, the only thing I can think of is to try another compiler, which sometimes gives more or at least different information.
 

samrabin

Sam Rabin
Member
Hmm, unfortunately with the gnu compiler it crashes during a history write before the first timestep, and with others (aside from intel) I can't even build (errors about modules not being able to load). Is there any guide on how I'm supposed to do this? I can only think of changing COMPILER via xmlchange.
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I think you can specify the compiler as an argument to create_newcase:

--compiler COMPILER
 
Status
Not open for further replies.
Back
Top