Code Monkey home page Code Monkey logo

ggm's People

Contributors

gogrean avatar jeremysanders avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

ggm's Issues

Problem vith CFITSIO

Goodmorning,

I'm trying to use adaptive_ggm.py, but I obtain a problem with CFITSIO:

ERROR: Mismatch in the CFITSIO_SONAME value in the fitsio.h include file
that was used to build the CFITSIO library, and the value in the include file
that was used when compiling the application program:
Version used to build the CFITSIO library = 2
Version included by the application program = 9

Fix this by recompiling and then relinking this application program
with the CFITSIO library.
FITSIO operation failed when:
Opening file (RO)
Filename:
2205_dmfilth_broad_thresh.fits

FITSIO status = 104: could not open the named file
Traceback (most recent call last):
File "./adaptive_ggm.py", line 116, in
main()
File "./adaptive_ggm.py", line 83, in main
call(program, *cargs)
File "./adaptive_ggm.py", line 29, in call
subprocess.check_call(args)
File "/home/nadia/.local/anaconda3/envs/ciao-4.13/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('accumulate_counts', '2205_dmfilth_broad_thresh.fits', '--scale=scale.fits', '--sn=25', '--threads=4')' returned non-zero exit status 1.

I tried both using the original Makefile of contbin or with a modified version indicating the location of fitsio.h as follow, but I always obtain the same error.

add -Ldirname to add directory to link path to look for cfitsio

linkflags=-L/home/nadia/Software/cfitsio-4.1.0 -lcfitsio -Lparammm -lparammm -lpthread

where to install (not very well tested)

bindir=/usr/bin

sensible compiler flags

export CXXFLAGS=-I/usr/include -O2 -g -Wall -std=c++11
export CXX=g++

Do you have some suggestions?

Thanks,
Nadia

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.