Hello, I am trying to port CESM2 to the HPC of my university. I get some errors when I run scripts_regression_test.py --machine login01 --compiler intel, I guess the problem maybe caused by the baseline setting in $HOME/.cime/config_machines.xml,config_compiler.xml or config_batch.xml? I have attached the output of scripts_regression_tests and the .xml files. I have no idea how to solve these problems. Any help is much appreciated. Thanks a lot!
Part of the output document is as follows:
FAIL: test_environment_variable_insertion (__main__.H_TestMakeMacros)
Test that <env> elements insert environment variables.
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 2547, in test_environment_variable_insertion
env={"NETCDF": "/path/to/netcdf"})
File "scripts_regression_tests.py", line 2190, in assert_variable_equals
self.parent.assertEqual(self.query_var(var_name, env, var), value)
AssertionError: '-L/share/apps/netcdf-fortran/4.5.2/lib:-L/sh[48 chars]tcdf' != '-L/path/to/netcdf -lnetcdf'
- -L/share/apps/netcdf-fortran/4.5.2/lib:-L/share/apps/netcdf/4.6.2/lib -L/path/to/netcdf -lnetcdf
+ -L/path/to/netcdf -lnetcdf
======================================================================
FAIL: test_cime_case_resubmit_immediate (__main__.K_TestCimeCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1656, in test_cime_case_resubmit_immediate
self.assertTrue(depend_string in cmd[1])
AssertionError: False is not true
======================================================================
FAIL: test_cime_case_test_walltime_mgmt_6 (__main__.K_TestCimeCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1889, in test_cime_case_test_walltime_mgmt_6
self.assertEqual(result, "421:32:11")
AssertionError: '421:32' != '421:32:11'
- 421:32
+ 421:32:11
? +++
======================================================================
FAIL: test_cime_case_test_walltime_mgmt_7 (__main__.K_TestCimeCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1910, in test_cime_case_test_walltime_mgmt_7
self.assertEqual(result, "421:32:11")
AssertionError: '421:32' != '421:32:11'
- 421:32
+ 421:32:11
? +++
======================================================================
FAIL: test_bless_test_results (__main__.Q_TestBlessTestResults)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1358, in test_bless_test_results
self._create_test(compargs)
File "scripts_regression_tests.py", line 954, in _create_test
self._wait_for_tests(test_id, expect_works=(not pre_run_errors and not run_errors))
File "scripts_regression_tests.py", line 963, in _wait_for_tests
from_dir=self._testroot, expected_stat=expected_stat)
File "scripts_regression_tests.py", line 67, in run_cmd_assert_result
test_obj.assertEqual(stat, expected_stat, msg=msg)
AssertionError: 100 != 0 :
COMMAND: /data/gpfs01/shlwang/liss/my_cesm_sandbox/cime/scripts/Tools/wait_for_tests *20200321_204940/TestStatus
FROM_DIR: /data/gpfs01/shlwang/testcase/cesm/shlwang/scripts_regression_test.20200321_201235
SHOULD HAVE WORKED, INSTEAD GOT STAT 100
OUTPUT: Test 'TESTRUNDIFF_P1.f19_g16_rx1.A.login01_intel' finished with status 'DIFF'
Path: TESTRUNDIFF_P1.f19_g16_rx1.A.login01_intel.C.20200321_204940/TestStatus
ERRPUT:
======================================================================
FAIL: test_full_system (__main__.Z_FullSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1494, in test_full_system
self._create_test(["--walltime=0:15:00", "cime_developer"], test_id=self._baseline_name)
File "scripts_regression_tests.py", line 954, in _create_test
self._wait_for_tests(test_id, expect_works=(not pre_run_errors and not run_errors))
File "scripts_regression_tests.py", line 963, in _wait_for_tests
from_dir=self._testroot, expected_stat=expected_stat)
File "scripts_regression_tests.py", line 67, in run_cmd_assert_result
test_obj.assertEqual(stat, expected_stat, msg=msg)
AssertionError: 100 != 0 :
COMMAND: /data/gpfs01/shlwang/liss/my_cesm_sandbox/cime/scripts/Tools/wait_for_tests *fake_testing_only_20200321_210431/TestStatus
FROM_DIR: /data/gpfs01/shlwang/testcase/cesm/shlwang/scripts_regression_test.20200321_201235
SHOULD HAVE WORKED, INSTEAD GOT STAT 100
OUTPUT: Test 'DAE.f19_f19.A.login01_intel' finished with status 'PASS'
Path: DAE.f19_f19.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERI.f09_g16.X.login01_intel' finished with status 'FAIL'
Path: ERI.f09_g16.X.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERIO.f09_g16.X.login01_intel' finished with status 'FAIL'
Path: ERIO.f09_g16.X.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERP.f45_g37_rx1.A.login01_intel' finished with status 'PASS'
Path: ERP.f45_g37_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERR.f45_g37_rx1.A.login01_intel' finished with status 'PASS'
Path: ERR.f45_g37_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERS.ne30_g16_rx1.A.login01_intel.drv-y100k' finished with status 'PASS'
Path: ERS.ne30_g16_rx1.A.login01_intel.drv-y100k.fake_testing_only_20200321_210431/TestStatus
Test 'IRT_N2.f19_g16_rx1.A.login01_intel' finished with status 'PASS'
Path: IRT_N2.f19_g16_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'LDSTA.f45_g37_rx1.A.login01_intel' finished with status 'PASS'
Path: LDSTA.f45_g37_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'MCC_P1.f19_g16_rx1.A.login01_intel' finished with status 'PASS'
Path: MCC_P1.f19_g16_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'NCK_Ld3.f45_g37_rx1.A.login01_intel' finished with status 'PASS'
Path: NCK_Ld3.f45_g37_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'PEM_P4.f19_f19.A.login01_intel' finished with status 'PASS'
Path: PEM_P4.f19_f19.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'PET_P4.f19_f19.A.login01_intel' finished with status 'PASS'
Path: PET_P4.f19_f19.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'PRE.f19_f19.ADESP.login01_intel' finished with status 'PASS'
Path: PRE.f19_f19.ADESP.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'PRE.f19_f19.ADESP_TEST.login01_intel' finished with status 'PASS'
Path: PRE.f19_f19.ADESP_TEST.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'SEQ_Ln9.f19_g16_rx1.A.login01_intel' finished with status 'PASS'
Path: SEQ_Ln9.f19_g16_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'SMS.T42_T42.S.login01_intel' finished with status 'PASS'
Path: SMS.T42_T42.S.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'SMS_D_Ln9.f19_g16_rx1.A.login01_intel' finished with status 'PASS'
Path: SMS_D_Ln9.f19_g16_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
ERRPUT:
----------------------------------------------------------------------
Ran 129 tests in 4472.516s
FAILED (failures=6, skipped=11)
pylint version 1.5 or newer not found, pylint tests skipped
Detected failures, leaving directory: /data/gpfs01/shlwang/testcase/cesm/shlwang/scripts_regression_test.20200321_201235
Part of the output document is as follows:
FAIL: test_environment_variable_insertion (__main__.H_TestMakeMacros)
Test that <env> elements insert environment variables.
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 2547, in test_environment_variable_insertion
env={"NETCDF": "/path/to/netcdf"})
File "scripts_regression_tests.py", line 2190, in assert_variable_equals
self.parent.assertEqual(self.query_var(var_name, env, var), value)
AssertionError: '-L/share/apps/netcdf-fortran/4.5.2/lib:-L/sh[48 chars]tcdf' != '-L/path/to/netcdf -lnetcdf'
- -L/share/apps/netcdf-fortran/4.5.2/lib:-L/share/apps/netcdf/4.6.2/lib -L/path/to/netcdf -lnetcdf
+ -L/path/to/netcdf -lnetcdf
======================================================================
FAIL: test_cime_case_resubmit_immediate (__main__.K_TestCimeCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1656, in test_cime_case_resubmit_immediate
self.assertTrue(depend_string in cmd[1])
AssertionError: False is not true
======================================================================
FAIL: test_cime_case_test_walltime_mgmt_6 (__main__.K_TestCimeCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1889, in test_cime_case_test_walltime_mgmt_6
self.assertEqual(result, "421:32:11")
AssertionError: '421:32' != '421:32:11'
- 421:32
+ 421:32:11
? +++
======================================================================
FAIL: test_cime_case_test_walltime_mgmt_7 (__main__.K_TestCimeCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1910, in test_cime_case_test_walltime_mgmt_7
self.assertEqual(result, "421:32:11")
AssertionError: '421:32' != '421:32:11'
- 421:32
+ 421:32:11
? +++
======================================================================
FAIL: test_bless_test_results (__main__.Q_TestBlessTestResults)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1358, in test_bless_test_results
self._create_test(compargs)
File "scripts_regression_tests.py", line 954, in _create_test
self._wait_for_tests(test_id, expect_works=(not pre_run_errors and not run_errors))
File "scripts_regression_tests.py", line 963, in _wait_for_tests
from_dir=self._testroot, expected_stat=expected_stat)
File "scripts_regression_tests.py", line 67, in run_cmd_assert_result
test_obj.assertEqual(stat, expected_stat, msg=msg)
AssertionError: 100 != 0 :
COMMAND: /data/gpfs01/shlwang/liss/my_cesm_sandbox/cime/scripts/Tools/wait_for_tests *20200321_204940/TestStatus
FROM_DIR: /data/gpfs01/shlwang/testcase/cesm/shlwang/scripts_regression_test.20200321_201235
SHOULD HAVE WORKED, INSTEAD GOT STAT 100
OUTPUT: Test 'TESTRUNDIFF_P1.f19_g16_rx1.A.login01_intel' finished with status 'DIFF'
Path: TESTRUNDIFF_P1.f19_g16_rx1.A.login01_intel.C.20200321_204940/TestStatus
ERRPUT:
======================================================================
FAIL: test_full_system (__main__.Z_FullSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts_regression_tests.py", line 1494, in test_full_system
self._create_test(["--walltime=0:15:00", "cime_developer"], test_id=self._baseline_name)
File "scripts_regression_tests.py", line 954, in _create_test
self._wait_for_tests(test_id, expect_works=(not pre_run_errors and not run_errors))
File "scripts_regression_tests.py", line 963, in _wait_for_tests
from_dir=self._testroot, expected_stat=expected_stat)
File "scripts_regression_tests.py", line 67, in run_cmd_assert_result
test_obj.assertEqual(stat, expected_stat, msg=msg)
AssertionError: 100 != 0 :
COMMAND: /data/gpfs01/shlwang/liss/my_cesm_sandbox/cime/scripts/Tools/wait_for_tests *fake_testing_only_20200321_210431/TestStatus
FROM_DIR: /data/gpfs01/shlwang/testcase/cesm/shlwang/scripts_regression_test.20200321_201235
SHOULD HAVE WORKED, INSTEAD GOT STAT 100
OUTPUT: Test 'DAE.f19_f19.A.login01_intel' finished with status 'PASS'
Path: DAE.f19_f19.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERI.f09_g16.X.login01_intel' finished with status 'FAIL'
Path: ERI.f09_g16.X.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERIO.f09_g16.X.login01_intel' finished with status 'FAIL'
Path: ERIO.f09_g16.X.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERP.f45_g37_rx1.A.login01_intel' finished with status 'PASS'
Path: ERP.f45_g37_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERR.f45_g37_rx1.A.login01_intel' finished with status 'PASS'
Path: ERR.f45_g37_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'ERS.ne30_g16_rx1.A.login01_intel.drv-y100k' finished with status 'PASS'
Path: ERS.ne30_g16_rx1.A.login01_intel.drv-y100k.fake_testing_only_20200321_210431/TestStatus
Test 'IRT_N2.f19_g16_rx1.A.login01_intel' finished with status 'PASS'
Path: IRT_N2.f19_g16_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'LDSTA.f45_g37_rx1.A.login01_intel' finished with status 'PASS'
Path: LDSTA.f45_g37_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'MCC_P1.f19_g16_rx1.A.login01_intel' finished with status 'PASS'
Path: MCC_P1.f19_g16_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'NCK_Ld3.f45_g37_rx1.A.login01_intel' finished with status 'PASS'
Path: NCK_Ld3.f45_g37_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'PEM_P4.f19_f19.A.login01_intel' finished with status 'PASS'
Path: PEM_P4.f19_f19.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'PET_P4.f19_f19.A.login01_intel' finished with status 'PASS'
Path: PET_P4.f19_f19.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'PRE.f19_f19.ADESP.login01_intel' finished with status 'PASS'
Path: PRE.f19_f19.ADESP.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'PRE.f19_f19.ADESP_TEST.login01_intel' finished with status 'PASS'
Path: PRE.f19_f19.ADESP_TEST.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'SEQ_Ln9.f19_g16_rx1.A.login01_intel' finished with status 'PASS'
Path: SEQ_Ln9.f19_g16_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'SMS.T42_T42.S.login01_intel' finished with status 'PASS'
Path: SMS.T42_T42.S.login01_intel.fake_testing_only_20200321_210431/TestStatus
Test 'SMS_D_Ln9.f19_g16_rx1.A.login01_intel' finished with status 'PASS'
Path: SMS_D_Ln9.f19_g16_rx1.A.login01_intel.fake_testing_only_20200321_210431/TestStatus
ERRPUT:
----------------------------------------------------------------------
Ran 129 tests in 4472.516s
FAILED (failures=6, skipped=11)
pylint version 1.5 or newer not found, pylint tests skipped
Detected failures, leaving directory: /data/gpfs01/shlwang/testcase/cesm/shlwang/scripts_regression_test.20200321_201235