Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add write_input() before transferring files to remote #1511

Merged
merged 10 commits into from
Jul 5, 2024
8 changes: 4 additions & 4 deletions pyiron_base/jobs/job/runfunction.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# coding: utf-8
# Copyright (c) Max-Planck-Institut für Eisenforschung GmbH - Computational Materials Design (CM) Department
# Distributed under the terms of "New BSD License", see the LICENSE file.
from concurrent.futures import ProcessPoolExecutor
from datetime import datetime
import multiprocessing
import os
import posixpath
import shutil
import subprocess
from typing import Optional, List, Tuple
from concurrent.futures import ProcessPoolExecutor
from datetime import datetime
from typing import List, Optional, Tuple

jan-janssen marked this conversation as resolved.
Show resolved Hide resolved
from jinja2 import Template
from pyiron_snippets.deprecate import deprecate
Expand All @@ -18,7 +18,6 @@
from pyiron_base.state.signal import catch_signals
from pyiron_base.utils.instance import static_isinstance


try:
import flux.job

Expand Down Expand Up @@ -486,6 +485,7 @@ def run_job_with_runmode_queue(job):
+ job.project_hdf5.h5_path
+ " --submit"
)
job.project_hdf5.create_working_directory()
job.write_input()
state.queue_adapter.transfer_file_to_remote(
file=job.project_hdf5.file_name, transfer_back=False
Expand Down
Loading