WarpX
|
Namespaces | |
updateAMReX | |
Variables | |
updateAMReX.ConfigUpdater = None | |
updateAMReX.REPO_DIR = Path(__file__).parent.parent.parent.absolute() | |
updateAMReX.REPLY = input("Are you sure you want to continue? [y/N] ") | |
updateAMReX.amrex_gh = requests.get('https://api.github.com/repos/AMReX-Codes/amrex/commits/development') | |
updateAMReX.amrex_HEAD = amrex_gh.json()["sha"] | |
updateAMReX.amrex_cmake_path = str(REPO_DIR.joinpath("cmake/dependencies/AMReX.cmake")) | |
string | updateAMReX.amrex_branch = f"unknown (format issue in {amrex_cmake_path})" |
updateAMReX.encoding | |
updateAMReX.r_minimal | |
string | updateAMReX.amrex_minimal = f"unknown (format issue in {amrex_cmake_path})" |
updateAMReX.amrex_new_branch = input(f"Update AMReX commit/branch/sha: ").strip() | |
updateAMReX.today = datetime.date.today().strftime("%y.%m") | |
updateAMReX.amrex_new_minimal = input(f"New minimal AMReX version (e.g. {today})? ").strip() | |
updateAMReX.run_test_path = str(REPO_DIR.joinpath("run_test.sh")) | |
updateAMReX.run_test_content = f.read() | |
updateAMReX.ci_gnumake_path = str(REPO_DIR.joinpath(".github/workflows/cuda.yml")) | |
updateAMReX.ci_gnumake_content = f.read() | |
updateAMReX.tests_ini_path = str(REPO_DIR.joinpath("Regression/WarpX-tests.ini")) | |
updateAMReX.cp = ConfigUpdater() | |
updateAMReX.optionxform | |
updateAMReX.value | |
updateAMReX.tests_gpu_ini_path = str(REPO_DIR.joinpath("Regression/WarpX-GPU-tests.ini")) | |
updateAMReX.amrex_cmake_content = f.read() | |