Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Segmentation fault while running atmosphere_model

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

yuyangyang0709

New member
When I follow the MPAS tutorial practice guide section 3.5, there is the 'Segmentation fault - invalid memory reference' error in the program, messages are in the '2435110.mu01_mpas_240.out' file.

I use the command
Code:
mpiexec -n 2 ./atmosphere_model
to run atmosphere_model, the 'log.atmosphere.0000.out' file shows that the calculation progress can reach parameter 'i=15105'. But, the more cpu cores I use, the smaller the parameter 'i' is.

And the
Code:
ulimit -a
shows that

Code:
core file size(blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 1030521
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) 4096
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

What should I do to make the program run successfully?
 

Attachments

  • 2435110.mu01_mpas_240.out.txt
    2.6 MB · Views: 46
  • log.atmosphere.0000.out.txt
    45.9 MB · Views: 59
It looks like there may be a problem with your initial conditions file (SouthAmerica.init.nc). The following messages are in your log.atmosphere.0000.out file:
Code:
WARNING: Variable qv not in input file.
WARNING: Variable qc not in input file.
WARNING: Variable qr not in input file.
WARNING: Variable qi not in input file.
WARNING: Variable qs not in input file.
WARNING: Variable qg not in input file.
WARNING: Variable u_init not in input file.
WARNING: Variable v_init not in input file.
WARNING: Variable t_init not in input file.
WARNING: Variable qv_init not in input file.
WARNING: Variable initial_time not in input file.
WARNING: Variable u not in input file.
WARNING: Variable w not in input file.
WARNING: Variable rho not in input file.
WARNING: Variable theta not in input file.
Without initial values for the u, rho, and theta fields, the model will not produce any meaningful integration.

Can you attach the streams.init_atmosphere and namelist.init_atmosphere files that you used when creating the SouthAmerica.init.nc file?
 
Top