The required memory for a job evolves during the run. If the job does not have access to enough memory, it will stop with a "segmentation fault error"
Is the format of your variable correct ?
You must define where are the open boundary in your domain (l_obc_east...), the physics you want to solve and the operator you want to use.
This error means you try to write a field with the packing option to save disk place (l_out_pack=.true.). But a value (of more) of its field is out of the [riog_valid_min_var riog_valid_max_var] range.
Assign properly the name_in_longitude_u, name_in_longitude_v, name_in_longitude_f variables in paramain.txt