Get E3SM tests working with ADIOS type
dqwu opened this issue · comments
To run E3SM tests with ADIOS type, there are a few issues to be resolved.
Issue 1
Is it possible to directly specify ADIOS type with a single "create_test XXXX" command?
For now, a workaround is to use "create_test XXXX --no-build" and then manually build and submit the case:
...
./create_test XXXX --no-build
cd case_dir_created_for_this_test
./xmlchange PIO_TYPENAME=adios
./case.setup --reset
./case.build
./case.submit
Issue 2
case_test might complain about copying an ADIOS format output file foo.nc.bp, even when there is a symbolic link foo.nc created for it. For a simple test SMS.ne30_f19_g16_rx1.A run with ADIOS type on ANL GCE nodes, case_test has an exception like below:
...
CASE.RUN HAS FINISHED
Exception from case_test: can't copy '/scratch/wuda/e3sm/scratch/SMS.ne30_f19_g16_rx1.A.anlgce_gnu.20240308_135932_80asj0/run/SMS.ne30_f19_g16_rx1.A.anlgce_gnu.20240308_135932_80asj0.cpl.hi.0001-01-06-00000.nc': doesn't exist or not a regular file
Note that a symbolic link cpl.hi.0001-01-06-00000.nc has already been created for cpl.hi.0001-01-06-00000.nc.bp:
86 Mar 8 14:02 SMS.ne30_f19_g16_rx1.A.anlgce_gnu.20240308_135932_80asj0.cpl.hi.0001-01-06-00000.nc -> SMS.ne30_f19_g16_rx1.A.anlgce_gnu.20240308_135932_80asj0.cpl.hi.0001-01-06-00000.nc.bp
4096 Mar 8 14:02 SMS.ne30_f19_g16_rx1.A.anlgce_gnu.20240308_135932_80asj0.cpl.hi.0001-01-06-00000.nc.bp