IntelLabs / HPAT.jl

High Performance Analytics Toolkit (HPAT) is a Julia-based framework for big data analytics on clusters.
BSD 2-Clause "Simplified" License
120 stars 16 forks source link

Error while trying Logistic Regression example #23

Closed luisrussi closed 3 years ago

luisrussi commented 7 years ago

Hello all,

I'm trying to run the Logistic Regrassion example, but I'm getting the following error output:

HDF5-DIAG: Error detected in HDF5 (1.8.16) MPI-process 1:
  #000: ../../../src/H5F.c line 439 in H5Fis_hdf5(): unable open file
    major: File accessibilty
    minor: Not an HDF5 file
  #001: ../../../src/H5Fint.c line 554 in H5F_is_hdf5(): unable to open file
    major: Low-level I/O
    minor: Unable to initialize object
  #002: ../../../src/H5FD.c line 993 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #003: ../../../src/H5FDsec2.c line 339 in H5FD_sec2_open(): unable to open file: name = '/home/cloud/logistic_regression.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file
ERROR: LoadError: Cannot access file /home/cloud/logistic_regression.hdf5
 in h5f_is_hdf5(::String) at /home/hduser/.julia/v0.5/HDF5/src/HDF5.jl:2115
 in h5open(::String, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::HDF5.HDF5Properties, ::HDF5.HDF5Properties) at /home/hduser/.julia/v0.5/HDF5/src/HDF5.jl:553
 in h5open(::String, ::String) at /home/hduser/.julia/v0.5/HDF5/src/HDF5.jl:585
 in h5read(::String, ::String) at /home/hduser/.julia/v0.5/HDF5/src/HDF5.jl:621
 in data_source_HDF5(::DataType, ::String, ::String) at /home/hduser/.julia/v0.5/HPAT/src/api.jl:13
 in ##logistic_regression#271(::Int64, ::String) at /home/hduser/.julia/v0.5/HPAT/examples/logistic_regression.jl:36
 in logistic_regression(::Int64, ::String) at /home/hduser/.julia/v0.5/CompilerTools/src/OptFramework.jl:624
 in main() at /home/hduser/.julia/v0.5/HPAT/examples/logistic_regression.jl:73
 in include_from_node1(::String) at ./loading.jl:488
 in process_options(::Base.JLOptions) at ./client.jl:265
 in _start() at ./client.jl:321
while loading /home/hduser/.julia/v0.5/HPAT/examples/logistic_regression.jl, in expression starting on line 78
-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[24970,1],0]
  Exit code:    1
--------------------------------------------------------------------------

I've also seen an issue related to Logistic Regression (https://github.com/IntelLabs/HPAT.jl/issues/21), but I'm not sure if they're the same.

Can anybody please help me?

ehsantn commented 7 years ago

The error says No such file or directory when trying to open the file so make sure the file exists and is accessible to the program.