Hi all, I am porting CESM2.3alpha017 in Archer2.
After I ran ./case.submit, it returned an error:
Opening file test.cism.gris.initial_hist.2085-01-01-00000.nc for output;
Write output at start of run and every 1.0000000000000000 years
Creating variables internal_time, time, and tstep_count
Creating variable level
Creating variable lithoz
Creating variable nlev_smb
Creating variable staglevel
Creating variable stagwbndlevel
Creating variable x0
Creating variable x1
Creating variable y0
Creating variable y1
Creating variable zocn
Creating variable artm
Creating variable smb
Creating variable thk
Creating variable topg
Creating variable usurf
Writing to file test.cism.gris.initial_hist.2085-01-01-00000.nc at time 0.0000000000000000
WHL: oc_tavg_helper is not associated; associate now
Opening file test.cism.gris.tavg_helper.0000-00-00-00000.nc for output;
Write output every 9999999.0000000000 years
Creating variables internal_time, time, and tstep_count
Creating variable level
Creating variable lithoz
Creating variable nlev_smb
Creating variable staglevel
Creating variable stagwbndlevel
Creating variable x0
Creating variable x1
Creating variable y0
Creating variable y1
Creating variable zocn
Creating variable artm
Creating variable smb
Creating variable thk
Creating variable topg
Creating variable usurf
Abort with message NetCDF: NC_UNLIMITED size already in use in file /work/n02/n02/yuansun/cesm/my_cesm_sandbox_2.3beta/libraries/parallelio/src/clib/pio_nc.c at line 2107
Abort with message NetCDF: NC_UNLIMITED size already in use in file /work/n02/n02/yuansun/cesm/my_cesm_sandbox_2.3beta/libraries/parallelio/src/clib/pio_nc.c at line 2107
It seems that several MPI process/task are opening the file for writing initially. I checked the setting is:
yuansun@ln04:/work/n02/n02/yuansun/cesm/runs/test> ./xmlquery NTHRDS
NTHRDS: ['CPL:1', 'ATM:1', 'LND:1', 'ICE:1', 'OCN:1', 'ROF:1', 'GLC:1', 'WAV:1', 'ESP:1']
yuansun@ln04:/work/n02/n02/yuansun/cesm/runs/test> ./xmlquery NTASKS
NTASKS: ['CPL:128', 'ATM:128', 'LND:128', 'ICE:128', 'OCN:128', 'ROF:128', 'GLC:128', 'WAV:128', 'ESP:128']
I am not sure how to modify it. Since I use parallel computing, whether I should set NTHRDS>1?
The whole log is attached.
Best,
Yuan
After I ran ./case.submit, it returned an error:
Opening file test.cism.gris.initial_hist.2085-01-01-00000.nc for output;
Write output at start of run and every 1.0000000000000000 years
Creating variables internal_time, time, and tstep_count
Creating variable level
Creating variable lithoz
Creating variable nlev_smb
Creating variable staglevel
Creating variable stagwbndlevel
Creating variable x0
Creating variable x1
Creating variable y0
Creating variable y1
Creating variable zocn
Creating variable artm
Creating variable smb
Creating variable thk
Creating variable topg
Creating variable usurf
Writing to file test.cism.gris.initial_hist.2085-01-01-00000.nc at time 0.0000000000000000
WHL: oc_tavg_helper is not associated; associate now
Opening file test.cism.gris.tavg_helper.0000-00-00-00000.nc for output;
Write output every 9999999.0000000000 years
Creating variables internal_time, time, and tstep_count
Creating variable level
Creating variable lithoz
Creating variable nlev_smb
Creating variable staglevel
Creating variable stagwbndlevel
Creating variable x0
Creating variable x1
Creating variable y0
Creating variable y1
Creating variable zocn
Creating variable artm
Creating variable smb
Creating variable thk
Creating variable topg
Creating variable usurf
Abort with message NetCDF: NC_UNLIMITED size already in use in file /work/n02/n02/yuansun/cesm/my_cesm_sandbox_2.3beta/libraries/parallelio/src/clib/pio_nc.c at line 2107
Abort with message NetCDF: NC_UNLIMITED size already in use in file /work/n02/n02/yuansun/cesm/my_cesm_sandbox_2.3beta/libraries/parallelio/src/clib/pio_nc.c at line 2107
It seems that several MPI process/task are opening the file for writing initially. I checked the setting is:
yuansun@ln04:/work/n02/n02/yuansun/cesm/runs/test> ./xmlquery NTHRDS
NTHRDS: ['CPL:1', 'ATM:1', 'LND:1', 'ICE:1', 'OCN:1', 'ROF:1', 'GLC:1', 'WAV:1', 'ESP:1']
yuansun@ln04:/work/n02/n02/yuansun/cesm/runs/test> ./xmlquery NTASKS
NTASKS: ['CPL:128', 'ATM:128', 'LND:128', 'ICE:128', 'OCN:128', 'ROF:128', 'GLC:128', 'WAV:128', 'ESP:128']
I am not sure how to modify it. Since I use parallel computing, whether I should set NTHRDS>1?
The whole log is attached.
Best,
Yuan