Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic snapshots cause the simulation to crash #90

Open
crpiceda opened this issue Aug 5, 2024 · 0 comments
Open

dynamic snapshots cause the simulation to crash #90

crpiceda opened this issue Aug 5, 2024 · 0 comments

Comments

@crpiceda
Copy link

crpiceda commented Aug 5, 2024

When running a model with the option to output dynamic snapshots, the simulation crashes. This error comes from the fact that the formatting for the last column (fault label) is missing:

At line 946 of file output.f90 (unit = 20003, file = 'output_dyn_max_1') Fortran runtime error: Expected REAL for item 8 in formatted transfer, got INTEGER (3e15.7,4e28.20) ^ Error termination. Backtrace: #0 0x145aa38d221d in require_type at ../../../cpe-gcc-11.2.0-202108140355.9bf1fd589a5c1/libgfortran/io/transfer.c:1329 #1 0x145aa38d566d in require_type at ../../../cpe-gcc-11.2.0-202108140355.9bf1fd589a5c1/libgfortran/io/transfer.c:1321 #2 0x145aa38d566d in formatted_transfer_scalar_write at ../../../cpe-gcc-11.2.0-202108140355.9bf1fd589a5c1/libgfortran/io/transfer.c:2075 #3 0x145aa38d5cf3 in formatted_transfer at ../../../cpe-gcc-11.2.0-202108140355.9bf1fd589a5c1/libgfortran/io/transfer.c:2348 #4 0x41b674 in ??? #5 0x40affe in ??? #6 0x402629 in ??? #7 0x145aa248d29c in ??? #8 0x4026d9 in ??? at ../sysdeps/x86_64/start.S:120 #9 0xffffffffffffffff in ??? srun: error: nid002403: task 0: Exited with exit code 2 srun: launch/slurm: _step_signal: Terminating StepId=7166306.6 At line 946 of file output.f90 (unit = 20003, file = 'output_dyn_max_1') Fortran runtime error: Expected REAL for item 8 in formatted transfer, got INTEGER (3e15.7,4e28.20)

The error is fixed by adding the format of fault_label, as described here: 9a2e86a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant