# 'ref\_wgts' - runtime error

**URL:** <https://nemo-ocean.discourse.group/t/ref-wgts-runtime-error/456>\
**Category:** v4.2.x\
**Tags:** SAS\
**Created:** [13 March 2023 08:13 UTC](https://nemo-ocean.discourse.group/t/ref-wgts-runtime-error/456 "2023-03-13T08:13:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil](https://yyz2.discourse-cdn.com/free1/user_avatar/nemo-ocean.discourse.group/phil/32/103_2.png) [@Phil](https://nemo-ocean.discourse.group/u/Phil)\
**Post date:** [13 March 2023 08:13 UTC](https://nemo-ocean.discourse.group/t/ref-wgts-runtime-error/456/1 "2023-03-13T08:13:12Z")

</div>

Greetings everyone!  
My project stucked with following error, that is linked with parameter ‘ref\_wgts’ :  
“Fortran runtime error: Index ‘5’ of dimension 1 of array ‘ref\_wgts’ outside of expected range (4:1)”  
In addition, the model produce only “ocean.ouput” file for ‘mpirun -np 24 ./nemo’ run  
Short description of my project:

- SAS\_ICE configuration built on “ORCA2\_SAS\_ICE” base
- atmospheric forcing input - era5 (using all necessary inputs in namelist\_cfg for Era config)
- weights for salinity and temperature, atmospheric forcings were built successfully with “/tools/WEIGHTS” instrument  
Planning: short-time run for 1-2 days for ice output.  
The main question - what cause this problem?  
Any suggestions will be usefull, thanks for your consideration in advance.  
(for any additional files - feel free to comment please)
