Coder Social home page Coder Social logo

ornladios / adios2 Goto Github PK

View Code? Open in Web Editor NEW
261.0 27.0 121.0 31.7 MB

Next generation of ADIOS developed in the Exascale Computing Program

Home Page: https://adios2.readthedocs.io/en/latest/index.html

License: Apache License 2.0

Python 3.24% Shell 0.65% CMake 7.64% C++ 72.44% C 8.95% Fortran 6.46% Dockerfile 0.13% Makefile 0.09% MATLAB 0.26% PowerShell 0.03% Roff 0.01% Cuda 0.03% Lex 0.05% Yacc 0.02%
adios cmake exascale-computing hdf5 hpc io ecp exascale high-performance-computing

adios2's People

Contributors

anagainaru avatar aronhelser avatar ax3l avatar bradking avatar brtnfld avatar caitlinross avatar dependabot[bot] avatar dmitry-ganyushin avatar eisenhauer avatar eschnett avatar franzpoeschel avatar germasch avatar godoywf avatar guj avatar jasonruonanwang avatar jieyangchen7 avatar keichi avatar khuck avatar kwrobot avatar kylefromkitware avatar lwan86 avatar nathompson avatar philip-davis avatar pnorbert avatar qliu21 avatar scottwittenburg avatar shawnyang610 avatar spyridon97 avatar vicentebolea avatar williamfgc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adios2's Issues

JSON dependency not found on Windows

@chuckatkins I got this error from the pull request checking. It compiles perfectly on Mac and Linux but apparently on Windows it cannot find the JSON header file.

Affected: PR #270

C:\projects\adios2\source\adios2/toolkit/transportman/dataman/DataMan.h(15): fatal error C1083: Cannot open include file: 'json.hpp': No such file or directory [C:\projects\adios2build\build_visual-studio\source\adios2\adios2.vcxproj]

Tests for HDF5Writer engine are missing native HDF5 read validation

Three of the test in testing/adios2/engine/hdf5/TestHDF5WriteRead.cpp write data using the HDF5Writer engine and validate it using HDF5 natively:

  • ADIOS2HDF5WriteHDF5Read1D8
  • ADIOS2HDF5WriteHDF5Read2D2x4
  • ADIOS2HDF5WriteHDF5Read2D4x2

The native HDF5 read validation still needs to be implemented. See testing/adios2/engine/adios1/TestADIOS1WriteRead.cpp for an example of how the ADIOS1Writer engine is used with ADIOS1 natively reading back the data to validate. Once implemented, you should be able to run the tests via ./bin/TestHDF5WriteRead and have it pass.

Problem enabling Python on Windows

There seems to be some problem finding all the pieces needed to enable python when configuring on windows:

C:\Users\kitware\projects\adios2\build>"C:\Program Files\CMake\bin\cmake.exe" ../source -DADIOS2_USE_Python:Bool=ON
-- Building for: Visual Studio 14 2015
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Could NOT find ZFP (missing:  ZFP_LIBRARY ZFP_INCLUDE_DIR)
-- Could NOT find MPI_C (missing:  MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing:  MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Could NOT find ZeroMQ (missing:  ZeroMQ_LIBRARY ZeroMQ_INCLUDE_DIR)
-- Could NOT find HDF5 (missing:  HDF5_LIBRARIES HDF5_INCLUDE_DIRS C)
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Could NOT find ADIOS1 (missing:  ADIOS1_LIBRARY ADIOS1_INCLUDE_DIR) (Required is at least version "1.12.0")
-- Found PythonInterp: C:/Python27/python.exe (found version "2.7.13")
-- Found PythonModule_numpy: C:/Python27/lib/site-packages/numpy
CMake Error at C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PythonFull (missing: PYTHON_LIBRARIES Libs)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindPythonFull.cmake:53 (find_package_handle_standard_args)
  cmake/DetectOptions.cmake:117 (find_package)
  CMakeLists.txt:95 (include)


-- Configuring incomplete, errors occurred!
See also "C:/Users/kitware/projects/adios2/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/kitware/projects/adios2/build/CMakeFiles/CMakeError.log".

Unable to get detailed numpy type info into C++ code from dtype

The pybind11::dtype object allows access to low-level type information via the kind() method, which maps to the numpy.dtype.kind python property. This is only a coarse level of type information and is missing sizing. For instance, pybind11::dtype::of<float>().kind() is equal to pybind11::dtype::of<double>::kind() because they are both floating point types. The numpy.dtype class exposes more detailed information via the type property but that's not exposed in pybind11, thus leaving only the coarser level type-information.

Warnings from static build on Titan

../../../lib64/libadios2sys.a(SystemTools.cxx.o): In function adios2sys::SystemTools::ConvertToUnixSlashes(std::string&)': SystemTools.cxx:(.text+0x1cbe): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../../../lib64/libgtest.a(gtest-all.cc.o): In function testing::internal::StreamingListener::SocketWriter::MakeConnection()':
gtest-all.cc:(.text+0xd718): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

CDash Warnings

Remove cdash warnings for unused variables, type cast (including HDF5 char vs. int8) and virtual functions overloads.

Explicit -DADIOS2_USE_Python=ON fails

-- Found PythonModule_mpi4py: /usr/lib/python2.7/dist-packages/mpi4py
CMake Error at bindings/python/CMakeLists.txt:37 (install):
install TARGETS given no LIBRARY DESTINATION for module target "adios2py".

Python tests not found

Not sure if related to issue #193

Found PythonInterp: /usr/bin/python (found version "2.7.11")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- Found PythonModule_mpi4py: /usr/lib/python2.7/dist-packages/mpi4py

Installation prefix: /usr/local
Features:
Library Type: shared
Build Type: Debug
Testing: ON
Build Options:
BZip2 : ON
ZFP : ON
MPI : ON
DataMan : ON
ZeroMQ : ON
HDF5 : ON
ADIOS1 : ON
Python : ON
SysVShMem: ON

$ ls ./bin
globalArray_write heatTransfer_write_a2h5 heatTransfer_write_hdf5 hello_bpFlushWriter hello_datamanReader joinedArray_write reader_stepping TestXMLConfig
heatTransfer_read_adios1 heatTransfer_write_adios1 heatTransfer_write_ph5 hello_bpTimeWriter hello_datamanWriter localArray_write TestADIOSInterfaceWrite values_write
heatTransfer_read_adios2 heatTransfer_write_adios2 hello_adios1Writer hello_bpWriter hello_hdf5Writer reader_allsteps TestHDF5WriteRead writer_multiste

Can't find ADIOS1 dependency on Titan, error message is ambiguous

build_gnu> cmake -DCMAKE_BUILD_TYPE=Release -DADIOS2_USE_BZip2=OFF -DADIOS1_DIR=/sw/xk6/adios/1.12.0/cle5.2_gnu4.9.3 ../ADIOS2
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Cray Programming Environment 2.5.9 C
-- Check for working C compiler: /opt/cray/craype/2.5.9/bin/cc
-- Check for working C compiler: /opt/cray/craype/2.5.9/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Cray Programming Environment 2.5.9 CXX
-- Check for working CXX compiler: /opt/cray/craype/2.5.9/bin/CC
-- Check for working CXX compiler: /opt/cray/craype/2.5.9/bin/CC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find ZFP (missing: ZFP_LIBRARY ZFP_INCLUDE_DIR)
-- Found MPI_C: /opt/cray/craype/2.5.9/bin/cc
-- Found MPI_CXX: /opt/cray/craype/2.5.9/bin/CC
-- Could NOT find ZeroMQ (missing: ZeroMQ_LIBRARY ZeroMQ_INCLUDE_DIR)
-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS C)
[Sun Jun 25 07:48:40 2017] [unknown] Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(525):
MPID_Init(228).......: channel initialization failed
MPID_Init(611).......: PMI2 init failed: 1
/sw/xk6/adios/1.12.0/cle5.2_gnu4.9.3/bin/adios_config: line 242: 29050 Aborted ${MYDIR}/adios_list_methods
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Could NOT find ADIOS1 (missing: ADIOS1_LIBRARY ADIOS1_INCLUDE_DIR) (found suitable version "1.12.0", minimum required is "1.12.0")

Found or not found?

BZip2 in Cmake auto mode fails on Titan

Auto mode tries to compile with BZip2 even though it's not found.
/usr/bin/ld: cannot find -lBZip2::BZip2
../../../lib64/libadios2sys.a(SystemTools.cxx.o): In function `adios2sys::SystemTools::ConvertToUnixSlashes(std::string&)':
SystemTools.cxx:(.text+0x1cbe): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/sha1sum: ../../../bin/heatTransfer_write_adios2: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [bin/heatTransfer_write_adios2] Error 1
make[1]: *** [examples/heatTransfer/write/CMakeFiles/heatTransfer_write_adios2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Make missing config file more permissive

It currently throws an exception in debugMode if file is not found. Just let it run and take settings from compiled source code in the heat transfer example.

MPI const void* issue

source/adios2/CMakeFiles/adios2.dir/toolkit/profiling/iochrono/Timer.cpp.o
/mnt/c/Users/ywy/Software/ADIOS2/source/adios2/toolkit/format/bp1/BP1Aggregator.cpp: In member function ‘std::string adios2::format::BP1Aggregator::GetGlobalProfilingLog(const string&)’:
/mnt/c/Users/ywy/Software/ADIOS2/source/adios2/toolkit/format/bp1/BP1Aggregator.cpp:120:74: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
MPI_Isend(&rankLogSize, 1, MPI_INT, 0, 0, m_MPIComm, &requestSize);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.