Skip to content

newdir does not work on Windows #5

@blebon

Description

@blebon

I tried to run the example in puq/examples/wrappers/newdir_with_input_template/ on Windows (7 64 bit) with Python 3.6.0 and get the following error:

`D:\Cases\PUQ\newdir_example>puq start quad_file
Saving run to sweep_238741688.hdf5


ERROR: python ..\sim_file_wrap.py 1 2 3 -5.0 returned 1
The system cannot find the path specified.

Stdout is in sweep_238741688_1.out and stderr is in sweep_238741688_1.err.



ERROR: python ..\sim_file_wrap.py 1 2 3 0.0 returned 1
The system cannot find the path specified.

Stdout is in sweep_238741688_0.out and stderr is in sweep_238741688_0.err.



ERROR: python ..\sim_file_wrap.py 1 2 3 5.0 returned 1
The system cannot find the path specified.

Stdout is in sweep_238741688_2.out and stderr is in sweep_238741688_2.err.



ERROR: python ..\sim_file_wrap.py 1 2 3 -3.53553390593 returned 1
The system cannot find the path specified.

Stdout is in sweep_238741688_3.out and stderr is in sweep_238741688_3.err.



ERROR: python ..\sim_file_wrap.py 1 2 3 3.53553390593 returned 1
The system cannot find the path specified.

Stdout is in sweep_238741688_4.out and stderr is in sweep_238741688_4.err.


5 jobs had errors.
STDERR[job 0]: The system cannot find the path specified.
STDERR[job 1]: The system cannot find the path specified.
STDERR[job 2]: The system cannot find the path specified.
STDERR[job 3]: The system cannot find the path specified.
STDERR[job 4]: The system cannot find the path specified.
WARNING: There is no data in the output section!
Check that your runs completed successfully.
Traceback (most recent call last):
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users[edited]\AppData\Local\Continuum\Miniconda3\Scripts\puq.exe_main
.py", line 9, in
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\site-packages\puq\puq_cmd.py", line 404, in main
res = funcsargs[0]
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\site-packages\puq\puq_cmd.py", line 171, in start
res = sw.run(opt.f)
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\site-packages\puq\sweep.py", line 172, in run
return self.psweep.run(self)
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\site-packages\puq\psweep.py", line 40, in run
sweep.psweep.analyze(hf)
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\site-packages\puq\smolyak.py", line 74, in analyze
process_data(hf, 'smolyak', self._do_rs)
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\site-packages\puq\util.py", line 68, in process_data
for var in hf['output/data']:
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1490028727645\work\h5py_objects.c:2867)
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1490028727645\work\h5py_objects.c:2825)
File "c:\users[edited]\appdata\local\continuum\miniconda3\lib\site-packages\h5py_hl\group.py", line 169, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1490028727645\work\h5py_objects.c:2867)
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1490028727645\work\h5py_objects.c:2825)
File "h5py\h5o.pyx", line 190, in h5py.h5o.open (C:\Minonda\conda-bld\h5py_1490028727645\work\h5py\h5o.c:3628)
KeyError: "Unable to open object (Object 'data' doesn't exist)"`

Changing the separator to / or \ does not make any difference. Other PUQ examples without newdir work fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions