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

Plotting issue on cluster. Requesting start_time.txt file #109

Open
sophiahirakis opened this issue Jan 5, 2019 · 0 comments
Open

Plotting issue on cluster. Requesting start_time.txt file #109

sophiahirakis opened this issue Jan 5, 2019 · 0 comments
Assignees

Comments

@sophiahirakis
Copy link

Hi team,

There is an issue producing plot output when jobs are running on a server.

The plotting module requests a start_time.txt file

See error below:

data_layout = {'version': 2, 'data_layout': [['/DIR', ['output_data']], ['/FILE_TYPE', ['react_data', 'viz_data']], ['/SEED', [1]]]}
num_runs = 1, data_layout = {'version': 2, 'data_layout': [['/DIR', ['output_data'], 0], ['/FILE_TYPE', ['react_data', 'viz_data'], 0], ['/SEED', [1], 0]]}
Preparing run 0
Counters = /SEED:0 /FILE_TYPE:0 /DIR:0
Run path = output_data/react_data
Parameter Point for run is:
glob of /home/shirakis/projects/Dyad/sims/sim_files/D_b_p_f_R_S_L-6-n_files/mcell/output_data/react_data/seed_*/Ca2_cyt.World.dat
Traceback (most recent call last):
File "/nadata/snl/lv_home/cnl/shirakis/bin/blender_2.79/2.79/scripts/addons/cellblender/cellblender_reaction_output.py", line 404, in execute
start_time = os.stat(os.path.join(project_files_path(), "start_time.txt")).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/home/shirakis/projects/Dyad/sims/sim_files/D_b_p_f_R_S_L-6-n_files/start_time.txt'

location: :-1

location: :-1

cnlbob added a commit that referenced this issue Jan 5, 2019
This patch adds an "Ignore Start Time" flag to the plotting screen. The
code normally checks that the start_time.txt exists in the proj_files
directory. However, when running multiple simulations on a cluster, this
method may not be working properly. This patch allows the user to
disable this checking to allow plotting even when the start_time.txt
file isn't consistent with the plot files.

Note that the start_time.txt file was intended as a way to keep users
from accidentally plotting stale data files from previous runs along
with current plotting files from current runs. When the user ignores
the start_time.txt file, they should ensure that all of their runs have
completed properly.
@cnlbob cnlbob self-assigned this Jan 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants