Ignore:
Timestamp:
Jun 17, 2014, 10:59:19 AM (11 years ago)
Author:
aslmd
Message:

MESOSCALE. Fix to the metgrid.exe not compiling with ifort. Fix to a wrong website in build_static. Many thanks to L. Steele.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WPS/metgrid/src/process_domain_module.F90

    r12 r1296  
    562562      real :: met_cen_lon, met_truelat1, met_truelat2
    563563      logical :: is_wind_grid_rel, do_gcell_interp
    564       integer, pointer, dimension(:) :: u_levels, v_levels
     564      !! this is a fix for the following problem
     565      !! "A pointer passed to DEALLOCATE points to an array that cannot be deallocated"
     566      integer, pointer, dimension(:) :: u_levels => NULL(), v_levels => NULL()
    565567      real, pointer, dimension(:,:) :: slab, data_count, halo_slab
    566568      real, pointer, dimension(:,:,:) :: real_array
     
    16701672      call list_destroy(temp_levels)
    16711673      deallocate(headers)
     1674
     1675      !! this is a fix for the following problem
     1676      !! "A pointer passed to DEALLOCATE points to an array that cannot be deallocated"
     1677      print*,'done'
    16721678
    16731679   end subroutine get_bottom_top_dim
Note: See TracChangeset for help on using the changeset viewer.