Changeset 3312 for palm/trunk/SOURCE


Ignore:
Timestamp:
Oct 6, 2018 2:15:46 PM (4 years ago)
Author:
knoop
Message:

Added proper exit code to PALM and fixed exit code handling by palmbuild and palmrun

Location:
palm/trunk/SOURCE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/check_parameters.f90

    r3302 r3312  
    824824!
    825825!-- Check for overlap combinations, which are not realized yet
    826     IF ( transpose_compute_overlap )  THEN
    827        IF ( numprocs == 1 )  STOP '+++ transpose-compute-overlap not implemented for single PE runs'
     826    IF ( transpose_compute_overlap  .AND. numprocs == 1 )  THEN
     827          message_string = 'transpose-compute-overlap not implemented for single PE runs'
     828          CALL message( 'check_parameters', 'PA0000', 1, 2, 0, 6, 0 )
    828829    ENDIF
    829830
  • palm/trunk/SOURCE/chem_emissions_mod.f90

    r3298 r3312  
    10781078                                 ' are not the ones required by PALM-4U: please check '      // &
    10791079                                 ' chemistry emission module documentation.'                                 
    1080                 CALL message( 'chem_emissions_setup', 'CM0446', 2, 2, 0, 6, 0 )
    1081 
    1082                 STOP
     1080                CALL message( 'chem_emissions_setup', 'CM0446', 2, 2, 0, 6, 0 )
     1081
    10831082          END SELECT
    10841083
  • palm/trunk/SOURCE/local_stop.f90

    r3250 r3312  
    101101          IF ( abort_mode == 1 )  THEN
    102102             CALL MPI_FINALIZE( ierr )
    103              STOP ''
     103             STOP 1
    104104          ELSEIF ( abort_mode == 2 )  THEN
    105105             CALL MPI_ABORT( comm2d, 9999, ierr )
     
    140140             ENDIF
    141141             CALL MPI_FINALIZE( ierr )
    142              STOP ''
     142             STOP 1
    143143
    144144          CASE ( 1 )
     
    149149             ENDIF
    150150             CALL MPI_FINALIZE( ierr )
    151              STOP ''
     151             STOP 1
    152152
    153153          CASE ( 2 )
     
    195195#else
    196196
    197     STOP ''
     197    STOP 1
    198198
    199199#endif
Note: See TracChangeset for help on using the changeset viewer.