Synkevych / flexpart-on-openstack

Automatic configuration for Flexpart that allows you to run calculations in parallel on several virtual machines
0 stars 0 forks source link

Flexpart not setup with the larger grid (GFS 0.25 or 0.5 deg). #8

Open Synkevych opened 3 years ago

Synkevych commented 3 years ago

Part of the settings needed for customization flexpart, file ~/.bashrc

export DIR=/home/sunkevu4/libraries export PATH="$PATH:/usr/local/lib"

export GRIB_API=/home/sunkevu4/flexpart export GRIB_API_BIN=$GRIB_API/bin export GRIB_API_LIB=$GRIB_API/lib export GRIB_API_INCLUDE=$GRIB_API/include export PATH=$GRIB_API_BIN:$PATH

Synkevych commented 3 years ago

export ECCODES_DIR=/home/ubuntu/flexpart

Synkevych commented 3 years ago

http://paisheng.me/2018/08/10/FLEXPART_INSTALLATION_NOTE/ instruction with grib2

Synkevych commented 3 years ago
[18:28]:ubuntu@roman-vm-20201212175248:~/workdir/template:>./FLEXPART 
 Welcome to FLEXPART Version 10.4 (2019-11-12)
 FLEXPART is free software released under the GNU General Public License.
              ----------------               
  INFORMATION: SUBGRIDSCALE TERRAIN EFFECT IS
  NOT PARAMETERIZED DURING THIS SIMULATION.  
              ----------------               
 FLEXPART WARNING: TIME DIFFERENCE BETWEEN TWO
 WIND FIELDS IS BIG. THIS MAY CAUSE A DEGRADATION
 OF SIMULATION QUALITY.
 NCEP metdata detected
 FLEXPART error: Too many grid points in x direction.
 Reduce resolution of wind fields.
 Or change parameter settings in file par_mod.
         721         361
Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG IEEE_DENORMAL
Synkevych commented 3 years ago

After change default setup par_mod.f90 to nxmax=721,nymax=361,nuvzmax=138,nwzmax=138,nzmax=138:

./FLEXPART 
Segmentation fault
Synkevych commented 3 years ago

Maybe library grib_api is installed globally and in a local folder. When we change par_mod.f90 it use global version.