ucberkeleyseti / gbt_seti Goto Github PK
View Code? Open in Web Editor NEWTools for SETI observations with the GUPPI and Breakthrough Listen instruments.
Home Page: http://seti.berkeley.edu
Tools for SETI observations with the GUPPI and Breakthrough Listen instruments.
Home Page: http://seti.berkeley.edu
Ubuntu 18.04 comes with libs3 2.0-3, but when compiled against this version I run into troubles:
s3util.c: In function ‘responsePropertiesCallback’:
s3util.c:284:19: error: ‘S3ResponseProperties {aka const struct S3ResponseProperties}’ has no member named ‘usesServerSideEncryption’
if (properties->usesServerSideEncryption) {
^~
<builtin>: recipe for target 's3util.o' failed
make: *** [s3util.o] Error 1
Currently, the Dockerfile builds against the latest master. Is this absolutely required? If so, we should probably make a new release for libs3. Problem is that it looks like the author of libs3 doesn't like releases also.
remote: Resolving deltas: 100% (311/311), done.
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File matlab/matlabAstro/ImAstrom/TriComb_0900.mat is 59.80 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File matlab/matlabAstro/ImAstrom/TriComb_1000.mat is 84.77 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
as reported here: https://github.com/UCBerkeleySETI/bl_packaging/issues/1
to quote @david-macmahon:
The thing is that they offer the same functionality: positional astronomy routines. Basically gpuspec (gbt-seti) copied this file from presto so it wouldn't have to depend on presto, but it was never intended to be a fork. It might be better, for now, to remove it from gpuspec and make gbt-seti depend on presto.
Since releases are good.
You don't need this kind of scripts when the software is properly installed.
λ make
cc -Wno-unused-result -O3 -Wall -Werror=return-local-addr -DUSE_LIBS3_20 -DFOLD_USE_INTRINSICS -I/opt/vegas/include -I/usr/include/cfitsio -I/usr/include/mysql -I/usr/local/cuda/include -I/usr/include/libbson-1.0 -I/usr/include/libmongoc-1.0 -I/usr/local/include -I/usr/local/include/libbson-1.0 -I/usr/local/include/libmongoc-1.0 raw_quant.c -o raw_quant guppi_status.o guppi_databuf.o guppi_udp.o guppi_error.o guppi_params.o guppi_time.o median.o setimysql.o imswap.o write_psrfits.o read_psrfits.o misc_utils.o read_filterbank_header.o filterbankutil.o fold.o polyco.o hget.o hput.o sla.o downsample.o barycenter.o chkio.o s3util.o -L/opt/vegas/lib -I/opt/vegas/include -L/usr/local/cuda/lib64 -lfftw3f_threads -lcfitsio -lm -lgsl -lgslcblas -lpthread -I/usr/include/cfitsio -lfftw3f -L/usr/lib64/mysql -lmysqlclient -lcufft -lcudart -Lslalib -ls3 -lmongoc-1.0 -lbson-1.0 -lstdc++ -lsla
raw_quant.c: In function ‘main’:
raw_quant.c:45:8: warning: unused variable ‘b’ [-Wunused-variable]
int a,b,c;
^
raw_quant.c:45:6: warning: unused variable ‘a’ [-Wunused-variable]
int a,b,c;
^
raw_quant.c:44:19: warning: unused variable ‘z’ [-Wunused-variable]
long int x=0,y=0,z=0;
^
/tmp/ccNkCIIn.o: In function `main':
raw_quant.c:(.text.startup+0x4d7): undefined reference to `quantize_2bit'
collect2: error: ld returned 1 exit status
Makefile:151: recipe for target 'raw_quant' failed
make: *** [raw_quant] Error 1
My guess is that gcc 7.3.0 uses C99 standard now, and the semantics for inlines are different.
https://stackoverflow.com/questions/19068705/undefined-reference-when-calling-inline-function
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.