Comments (3)
The compile error with the missing header file should be fixed now.
As for the linking error (with gbpMCMC) ... are you sure that you have gsl in your LD_LIBRARY_PATH or have set the environment variable GBP_GSL_DIR in your .bashrc.myCode appropriately (and have made sure to source it)?
from gbpcode.
The linking error is a result of missing -libgsl passed as compile options.
Standard make outputs the following
Compile and linking parameters:
CC =g++ -std=c++98
CPPFLAGS= -DUSE_GETLINE=0 -I/gbpCode/myInclude/ -DUSE_CFITSIO=0 -DUSE_HDF5=0 -DUSE_GDLIB=0 -DUSE_CUDA=0 -DUSE_DEBUGGER=0 -DUSE_VALGRIND=0 -DUSE_GSL=0 -DUSE_FFTW=0 -DUSE_SPRNG=0 -DUSE_MPI=0 -DUSE_MPI_IO=0 -O2 -DGBP_DATA_DIR=/gbpCode/myData/"
LDFLAGS= -L/gbpCode/myLib/
Shouldn't the default LDFLAGS have -lgsl and -lgslcblas? Adjusting the Makefile.mylocal did not alleviate the problem however, removing the USE_GSL check in Makefile.libs so that the code always adds a -lgsl -lgslcblas -lm by default worked.
from gbpcode.
That's because you're setting USE_GSL=0 somehow. It should be USE_GSL=1
from gbpcode.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbpcode.