Problem with writing restart file – in #9: CCLM

in #9: CCLM

From the log file the file
/mnt/msu/users/vplatonov/COSMO_CLM/CLM/EXPERIMENTS/ETR/summer2010test_downscaling/LM/lbfd2010083118.nc
does either not exist or has wrong permissions at the time when COSMO was executed.
Regarding restarts please change your source code according to


CASE (‘bina’)

IF (my_id 0) THEN IF (ymode(1:1) ‘r’) THEN OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ OLD ’, & ACTION =‘ READ ’, IOSTAT =ierror) ELSEIF ((ymode(1:1) 'w') .OR. (ymode(1:1) ‘a’)) THEN ! there is no append for restart-files. They are NEW ! OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ NEW ’, & OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ UNKNOWN ’, & ACTION =‘ WRITE ’, IOSTAT =ierror)


otherwise you run into trouble in future.
Make always sure that I/O directories and necessary input files exist and have read/write permission.

  @burkhardtrockel in #792ecd3

From the log file the file
/mnt/msu/users/vplatonov/COSMO_CLM/CLM/EXPERIMENTS/ETR/summer2010test_downscaling/LM/lbfd2010083118.nc
does either not exist or has wrong permissions at the time when COSMO was executed.
Regarding restarts please change your source code according to


CASE (‘bina’)

IF (my_id 0) THEN IF (ymode(1:1) ‘r’) THEN OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ OLD ’, & ACTION =‘ READ ’, IOSTAT =ierror) ELSEIF ((ymode(1:1) 'w') .OR. (ymode(1:1) ‘a’)) THEN ! there is no append for restart-files. They are NEW ! OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ NEW ’, & OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ UNKNOWN ’, & ACTION =‘ WRITE ’, IOSTAT =ierror)


otherwise you run into trouble in future.
Make always sure that I/O directories and necessary input files exist and have read/write permission.

From the log file the file
/mnt/msu/users/vplatonov/COSMO_CLM/CLM/EXPERIMENTS/ETR/summer2010test_downscaling/LM/lbfd2010083118.nc
does either not exist or has wrong permissions at the time when COSMO was executed.
Regarding restarts please change your source code according to


CASE (‘bina’)

IF (my_id 0) THEN IF (ymode(1:1) ‘r’) THEN OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ OLD ’, & ACTION =‘ READ ’, IOSTAT =ierror) ELSEIF ((ymode(1:1) 'w') .OR. (ymode(1:1) ‘a’)) THEN ! there is no append for restart-files. They are NEW ! OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ NEW ’, & OPEN (nudat, FILE = TRIM , FORM =‘ UNFORMATTED ’, STATUS =‘ UNKNOWN ’, & ACTION =‘ WRITE ’, IOSTAT =ierror)


otherwise you run into trouble in future.
Make always sure that I/O directories and necessary input files exist and have read/write permission.