How to find where/why a simulation crashed/stopped
1) Check if the model stopped in the scripts or model job
Go into your listings directory:
cd ~/listings/${TRUE_HOST}
For example on Beluga/Narval:
cd ~/listings/Beluga
resp.
cd ~/listings/Narval
List all the listings of the month that failed:
ls -lrt ${GEM_exp}_[MS]*
Open the last listing in your editor or with 'less'.
Jump to the end of the listings (when using 'vi', 'vim' or 'less' you can jump to the end by pressing 'G')
If the model stopped in the
a) Scripts listing ${GEM_exp}_S*
- Jump to the end of the listings (when using 'vi', 'vim' or 'less' you can jump to the end by pressing 'G')
- Search upwards until you find an error message
b) Model listing ${GEM_exp}_M*
Each model job starts with a script part, followed by the executable, followed by another scripts part.
Jump to the end of the listings (when using 'vi', 'vim' or 'less' you can jump to the end by pressing 'G')