Ubuntu上来自MEEP的HDF5错误

时间:2013-05-03 00:28:54

标签: hdf5 meep

我已经安装了MEEP,一切运行正常但是当我尝试为直线波导运行this tutorial code时,我得到以下信息:

-----------
Initializing structure...
Working in 2D dimensions.
Computational cell is 16 x 8 x 0 with resolution 10
     block, center = (0,0,0)
          size (1e+20,1,1e+20)
          axes (1,0,0), (0,1,0), (0,0,1)
          dielectric constant epsilon diagonal = (12,12,12)
time for set_epsilon = 0.0840669 s
-----------
creating output file "./eps-000000.00.h5"...
HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 3078944464:
  #000: ../../../src/H5F.c line 1430 in H5Fcreate(): unable to create file
    major: File accessability
    minor: Unable to open file
  #001: ../../../src/H5F.c line 1220 in H5F_open(): unable to open file
    major: File accessability
    minor: Unable to open file
  #002: ../../../src/H5FD.c line 1079 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #003: ../../../src/H5FDsec2.c line 365 in H5FD_sec2_open(): unable to open file
    major: File accessability
    minor: Unable to open file
  #004: ../../../src/H5FDsec2.c line 365 in H5FD_sec2_open(): Permission denied
    major: Internal error (too specific to document in detail)
    minor: System error message
meep: error on line 450 of ../../../src/h5file.cpp: error opening HDF5 output file

1 个答案:

答案 0 :(得分:1)

它看起来像是一个权限错误。你在当前目录中有写权限吗?或者文件./eps-000000.00.h5是否已存在且无法覆盖?