Giter Club home page Giter Club logo

simex_platform's People

Contributors

andreadotti avatar ax3l avatar cfgrote avatar jpbgoe avatar

Watchers

 avatar  avatar

simex_platform's Issues

Remove dependencies

The following declared dependencies are actually not used:
+#The following are actually not used anywere in Sources
+find_python_module(breathe REQUIRED)
+find_python_module(sqlalchemy REQUIRED)
+find_python_module(pyfftw REQUIRED)
+find_python_module(numba REQUIRED) #Used in Modules/Diffractors/SingFELPhotonDiffractor
+find_python_module(PyQt4 REQUIRED)

Create system to declare dependencies

Create a cmake function to declare and store (e.g. in requirements.txt) python dependencies.
It should be a utility function called/used in cmake.

Additional options for testing or CI should be declared

unittest fails

cd Tests/python/unittest && python Tests.py fails with:

testBackengine (SimExTest.Calculators.SingFELPhotonDiffractorTest.SingFELPhotonDiffractorTest)
Test that we can start a test calculation. ... Traceback (most recent call last):
  File "/geant4/adotti/LCLSII/SimEx/py27/bin/radiationDamageMPI", line 9, in <module>
    main(parameters=parameters)
  File "/geant4/adotti/LCLSII/SimEx/py27/lib/python2.7/pysingfel/radiationDamageMPI.py", line 26, in main
    slave_diffract(comm, parameters)
  File "/geant4/adotti/LCLSII/SimEx/py27/lib/python2.7/pysingfel/radiationDamageMPI.py", line 94, in slave_diffract
Traceback (most recent call last):
  File "/geant4/adotti/LCLSII/SimEx/py27/bin/radiationDamageMPI", line 9, in <module>
    main(parameters=parameters)
  File "/geant4/adotti/LCLSII/SimEx/py27/lib/python2.7/pysingfel/radiationDamageMPI.py", line 26, in main
    slave_diffract(comm, parameters)
  File "/geant4/adotti/LCLSII/SimEx/py27/lib/python2.7/pysingfel/radiationDamageMPI.py", line 94, in slave_diffract
    MakeOneDiffr(myQuaternions, counter, parameters, outputName)
  File "/geant4/adotti/LCLSII/SimEx/py27/lib/python2.7/pysingfel/radiationDamage.py", line 116, in MakeOneDiffr
    setEnergyFromFile(inputName, beam)
  File "/geant4/adotti/LCLSII/SimEx/py27/lib/python2.7/pysingfel/radiationDamage.py", line 46, in setEnergyFromFile
    with h5py.File(fname, 'r') as f:
  File "/scratch/geant4/adotti/LCLSII/SimEx/py27/venv/lib/python2.7/site-packages/h5py/_hl/files.py", line 269, in __init__
    MakeOneDiffr(myQuaternions, counter, parameters, outputName)
  File "/geant4/adotti/LCLSII/SimEx/py27/lib/python2.7/pysingfel/radiationDamage.py", line 116, in MakeOneDiffr
    setEnergyFromFile(inputName, beam)
  File "/geant4/adotti/LCLSII/SimEx/py27/lib/python2.7/pysingfel/radiationDamage.py", line 46, in setEnergyFromFile
    with h5py.File(fname, 'r') as f:
  File "/scratch/geant4/adotti/LCLSII/SimEx/py27/venv/lib/python2.7/site-packages/h5py/_hl/files.py", line 269, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
  File "/scratch/geant4/adotti/LCLSII/SimEx/py27/venv/lib/python2.7/site-packages/h5py/_hl/files.py", line 99, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
    fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
  File "/scratch/geant4/adotti/LCLSII/SimEx/py27/venv/lib/python2.7/site-packages/h5py/_hl/files.py", line 99, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/h5f.pyx", line 78, in h5py.h5f.open
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
IOError: Unable to open file (file signature not found)
  File "h5py/h5f.pyx", line 78, in h5py.h5f.open
IOError: Unable to open file (file signature not found)

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.