Coder Social home page Coder Social logo

macana2's People

Contributors

javierzaragoza avatar jerry-ma avatar mmccrackan avatar pahorton avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

macana2's Issues

Gaussian fit errors not being written to beammaps.

Due to an incorrect size specification of 'fitParams' and 'PreviousFitParams' in 'beammap.cpp' the errors are not being written to the nc beammap files. Also, the loop to populate these from 'fitToGaussian' does not loop over all 14 parameters.

Setup unit test targets via CMake

The current cmake script does not create the unit test executable. This should be fixed in order to let users without Qt/qmake to run the tests.

Added limits to fitting region and outputs sensitivity to NetCDF file.

Added some fitting region limits to GaussFit.cpp as well as the option to give a guess vector with offsets from the bolostats file in beammap.cpp.

Also added a function writeSensToNcdf to Observation.cpp to write the new sensitivity calculations to the NetCDF file along with the FCF.

Finally, fixed a bug in writeFitParamsToNcdf that was resulting in the incorrect bolo names being written to the NetCDF file.

Test and port core algorithms to Citlali

We need to write tests for all the core algorithms that we are going to port to citlali. The same tests will be ported along with the covering functions to ensure correctness in the new citlali code.

Note that these tests should include both unit tests and feature tests.

Follows are a list of functionalities to be covered:

Test/simulated data creation and handling:

  • netcdf format
  • MUSCAT data handling
  • simulated time-stream data
  • ...

CMake unable to find OpenMP on OS X 10.14

When running cmake, the linker is unable unable to find the OpenMP library:

CMake Error at CMakeLists.txt:73 (message):
  Cannot find OpenMP, abort

Here is the output of the homebrew installation of libomp:

==> Reinstalling libomp
==> Downloading https://homebrew.bintray.com/bottles/libomp-6.0.1.mojave.bottle.tar.gz
Already downloaded: /Users/paulhorton/Library/Caches/Homebrew/downloads/b4a4b5583565a13f5cbf05a8a1ab0d4c6953e1cc0cc6c944c0fc955812de055d--libomp-6.0.1.mojave.bottle.tar.gz
==> Pouring libomp-6.0.1.mojave.bottle.tar.gz
==> Caveats
On Apple Clang, you need to add several options to use OpenMP's front end
instead of the standard driver option. This usually looks like
  -Xpreprocessor -fopenmp -lomp

You might need to make sure the lib and include directories are discoverable
if /usr/local is not searched:

  -L/usr/local/opt/libomp/lib -I/usr/local/opt/libomp/include

For CMake, the following flags will cause the OpenMP::OpenMP_CXX target to
be set up correctly:
  -DOpenMP_CXX_FLAGS="-Xpreprocessor -fopenmp -I/usr/local/opt/libomp/include" -DOpenMP_CXX_LIB_NAMES="omp" -DOpenMP_omp_LIBRARY=/usr/local/opt/libomp/lib/libomp.dylib
==> Summary
๐Ÿบ  /usr/local/Cellar/libomp/6.0.1: 12 files, 1.2MB

I have attempted to reinstall via homebrew but it appears that the issues is certain flags not being set in the cmake file that allow the library to be discoverable.

Any advice would be greatly appreciated!

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.