Ignore:
Timestamp:
06/13/19 16:45:42 (5 years ago)
Author:
adurocher
Message:

trunk : Fixed compilation with --std=f2008 with gfortran

Added dynamico_abort() to replace non standard ABORT() intrinsic
Other modifications to respect the fortran standard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/vertical/disvert_apbp.f90

    r548 r901  
    2525  SUBROUTINE disvert(ap,bp,presnivs) 
    2626!  USE icosa 
     27  USE abort_mod 
    2728  USE mpipara, ONLY: is_mpi_root 
    2829  USE omp_para, ONLY: omp_in_parallel 
     
    4647    IF (ok/=0) THEN 
    4748      WRITE(*,*) "disvert_ap_bp error: input file ",trim(filename)," not found!" 
    48       CALL ABORT 
     49      CALL dynamico_abort( "disvert_ap_bp : could not open input file" ) 
    4950    ENDIF 
    5051    ! read in ap() and b() line by line, starting from surface up 
     
    5455      IF (ok/=0) THEN 
    5556        WRITE(*,*) "disvert_ap_bp error: failed reading ap(l) and bp(l) for l=",l 
    56         CALL ABORT 
     57        CALL dynamico_abort( "disvert_ap_bp : could not read input file" ) 
    5758      ENDIF 
    5859    ENDDO 
Note: See TracChangeset for help on using the changeset viewer.