[SIGSEGV: Segmentation fault] when running SWAN only
- Dominant language
- Fortran
- Stars
- 156
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
Dear all,
Refer to [this ](https://www.myroms.org/forum/viewtopic.php?t=6220)post. I have managed to compile SWAN and generate a swanM file with the following CPP file settings:
`#define SWAN_MODEL`
but when I do the command:
`mpirun -np 1 ./swanM BELAJAR_swan.in`
error appears as follows:
`--------------------------------------------------------------------------------
Model Input Parameters: ROMS/TOMS version 4.1
Wednesday - December 7, 2022 - 11:39:25 AM
--------------------------------------------------------------------------------
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7f6985cdead0 in ???
#1 0x7f6985cddc35 in ???
#2 0x7f698586751f in ???
#3 0x559cbe062c59 in ???
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 0 on node LAPTOP-U4JKE22G exited on signal 11 (Segmentation fault).`
And as jcwarner suggests I don't see ERR or PRINT output. I really appreciate the suggestions and solutions..thank you
attached:
[swanM](https://1drv.ms/u/s!AlaANJ5cRpGZlqVFzwj941De7kWj5g?e=FhEkRr)
[BELAJAR_swan.in](https://1drv.ms/u/s!AlaANJ5cRpGZlpIIYdAUHk2yyE1YIg?e=UTSxII)
[swan_bash.bash](https://1drv.ms/u/s!AlaANJ5cRpGZlpF4618IKPweYLRs2Q?e=XcVDzd)
Contributor guide
Assessment
This issue has not been assessed yet.