Changeset 6619 for IOIPSL


Ignore:
Timestamp:
09/13/23 15:57:39 (10 months ago)
Author:
jgipsl
Message:

Correction needed for nvida compilers : ERR and IOSTAT can not be used at the same time. No change in the functioning of the subroutine.
New arch for compilation with nvida on MESO-IPSL cluster (spirit,spiritx,hal).

Done by Kazem Ardaneh

Location:
IOIPSL/trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • IOIPSL/trunk/src/getincom.f90

    r5616 r6619  
    15201520!- 
    15211521      dummy = "" 
    1522       READ (UNIT=unitf,FMT='(A)', ADVANCE='NO', SIZE=readlength,ERR=9998,END=7778,IOSTAT=ioerr) dummy 
     1522      READ (UNIT=unitf,FMT='(A)', ADVANCE='NO', SIZE=readlength,END=7778,IOSTAT=ioerr) dummy 
     1523 
    15231524      IF ((ioerr==IOSTAT_EOR).OR.(ioerr==IOSTAT_END)) ioerr = 0 
    15241525!- 
     
    15371538  RETURN 
    15381539!- 
    1539 9998 CONTINUE 
    1540   CALL ipslerr (3,'getin_readline','Error while reading file',' ',' ') 
    1541 !- 
     1540! IOSTAT gives a positive value if an error occurs. 
     1541  IF (ioerr.GT. 0) CALL ipslerr (3,'getin_readline','Error while reading file',' ',' ') 
     1542 
     1543  !- 
    154215447778 CONTINUE 
    15431545  out_string = TRIM(dummy) 
Note: See TracChangeset for help on using the changeset viewer.