CCL: The central installation of CCL on NERSC doesn't work
After running
source /global/common/cori/contrib/lsst/ccl/setupPyCCL.sh
I try to compile ./tests/ccl_sample_run.c by doing
(CCL) user@cori07:~/CCL> gcc -Wall -Wpedantic -g -I$CCL_NERSC_DIR/$CCL_NERSC_VER/include $CPPFLAGS -std=gnu99 -fPIC tests/ccl_sample_run.c -o tests/ccl_sample_run -L$CCL_NERSC_DIR/$CCL_NERSC_VER/lib $LDFLAGS -lgsl -lgslcblas -lm -lccl
In file included from /global/common/cori/contrib/lsst/ccl/0.2/include/ccl.h:22:0,
from tests/ccl_sample_run.c:4:
/global/common/cori/contrib/lsst/ccl/0.2/include/ccl_core.h:4:28: fatal error: gsl/gsl_spline.h: No such file or directory
#include "gsl/gsl_spline.h"
^
compilation terminated.
but it has some problems with gsl.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 21 (1 by maintainers)
@cosmicshear @elisachisari @heather999 I think Cori and Edison at NERSC are under maintenance today (Jan 9th, 06:00-22:00), which is probably why I had problems of logging in. I will look into this later.
@cosmicshear It it probably a problem of version. The central installed CCL at NERSC is of version 0.2. If you are using the latest CCL from the repository, you will get the above warning because the parameter and model initiations have been changed. You may copy CCL_0.2 from
/global/common/cori/contrib/lsst/ccl/downloads/0.2.tar.gz
, and compile tests/ccl_sample_run.c. Alternatively, you can install the latest CCL on NERSC in your own path. Instructions are provided on the wiki page.@tmcclintock @elisachisari @heather999 Do you know if there is any plan for the update of CCL at NERSC? At the moment, I will put a note on the wiki page saying that users can download version 0.2 from the above path.
NERSC is down until 10 PM PST link. @cosmicshear try this again tomorrow and close this if there is no more issue at that time. Thanks!