Hello All
I'm having a problem by the time i try to run ROMS, this is what i got
ggv@SNI01 ~/roms/Projects/Leo $ ./oceanO <leo.in >out00.txt
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7FACD9F6A7D7
#1 0x7FACD9F6ADDE
#2 0x7FACD96ACD3F
#3 0x414C37 in read_fltpar_
#4 0x409155 in inp_par_
#5 0x403699 in __ocean_control_mod_MOD_roms_initialize
Segmentation fault
I attach my floats file
I really appreciate your help on this
Thanks in advance
Segmentation fault at the start
-
- Posts: 106
- Joined: Wed Feb 03, 2010 6:59 pm
- Location: Universidad Autonoma de Baja California Sur
Segmentation fault at the start
- Attachments
-
- Leofloats.in
- (13.27 KiB) Downloaded 722 times
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
Re: Segmentation fault at the start
I suggest you get into read_fltpar with a debugger or (my choice) add some WRITE statements.
It would be helpful if your compiler told you the line number at which the error occurred. Most compilers can be persuaded to do this. For Gfortran (on most platforms) you just need to set the USE_DEBUG make variable.
It would be helpful if your compiler told you the line number at which the error occurred. Most compilers can be persuaded to do this. For Gfortran (on most platforms) you just need to set the USE_DEBUG make variable.
-
- Posts: 106
- Joined: Wed Feb 03, 2010 6:59 pm
- Location: Universidad Autonoma de Baja California Sur
Re: Segmentation fault at the start
Hello Mike
Thanks for your comment, acrually we have solve that problem, what we are facing now iare the DT and dt, time steps. We are running on a large domain (figure atteched) and we can not fine aa adecuate pair of the to make Roms run, it blows up at the very start, here i attach the file too (out00.txt).
Thanks in advance Mike
Thanks for your comment, acrually we have solve that problem, what we are facing now iare the DT and dt, time steps. We are running on a large domain (figure atteched) and we can not fine aa adecuate pair of the to make Roms run, it blows up at the very start, here i attach the file too (out00.txt).
Thanks in advance Mike
- Attachments
-
- Figure.docx
- (1.11 MiB) Downloaded 729 times
-
- out00.txt
- (38.68 KiB) Downloaded 786 times
Re: Segmentation fault at the start
I suggest you set NINFO to 1 so that diag can check for extreme values every timestep. Then you can perhaps see what is going bad before the whole grid is full of NaN. When it saves a record to the restart file like that, look at it with your favorite viewer, ncview or whatever you like. Where is it blowing up? Perhaps you should also look at your boundary and forcing files. What are you doing with the ZCLIMATOLOGY?
-
- Posts: 43
- Joined: Wed Mar 18, 2015 3:40 pm
- Location: Universidade Federal Fluminense
Re: Segmentation fault at the start
Hello Every one. I am having the the following error error message (see the log file in attachment) ; my compiler is gfortran;
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Any help please
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Any help please
- Attachments
-
- sofala.log
- (11.41 KiB) Downloaded 703 times
Re: Segmentation fault at the start
Can you show us the part of your ocean.in that refers to the boundary, climatology and forcing files? Which version of ROMS is this, exactly?#4 0x4C9809 in check_multifile_
#5 0x433911 in initial_
-
- Posts: 43
- Joined: Wed Mar 18, 2015 3:40 pm
- Location: Universidade Federal Fluminense
Re: Segmentation fault at the start
Dear Kate
thank you for replying.my ROMS version 3.7.
I send in attachment my ocean.in
Kindest Regards
thank you for replying.my ROMS version 3.7.
I send in attachment my ocean.in
Kindest Regards
- Attachments
-
- ocean.in
- (116.92 KiB) Downloaded 792 times
Re: Segmentation fault at the start
Code: Select all
NFFILES == ! number of unique forcing files
FRCNAME == ! forcing file 1, grid 1