Here is my makefile:
Code: Select all
CFITSIOPATH := /home/hujianwei/plancklikelihood/plc-1.0
#CFITSIOPATH := /softs/cfitsio/3.24
# you have a CFITSIO lib in a weird location, also set those
CFITSIO_INCPATH := [tex](CFITSIOPATH)/include
CFITSIO_LIBPATH := [/tex](CFITSIOPATH)/lib
#define your compilers and stuff
CC = gcc
FC = ifort
IFORTLIBPATH = /public/software/compiler/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64
IFORTRUNTIME = -L[tex](IFORTLIBPATH) -lintlc -limf -lsvml -liomp5 -lifport -lifcoremt -lirc -lpthread
MKLROOT = /public/software/compiler/intel/composer_xe_2013_sp1.0.080/mkl
LAPACKLIBPATHMKL = -L[/tex](MKLROOT)/lib/intel64
and i get a errer as:
I do ask for help from google, but I do not think it give me the useful help.build \x1b[36;11m/home/hujianwei/plancklikelihood/plc-2.0/buildir/clik_example_C \x1b[0m
/home/hujianwei/plancklikelihood/plc-2.0/buildir/tmp/clik_example_c.o: In function `main_lensing':
clik_example_c.c:(.text+0x23a): undefined reference to `clik_lensing_get_lmaxs'
collect2: ld returned 1 exit status
make: *** [/home/hujianwei/plancklikelihood/plc-2.0/buildir/clik_example_C] Error 1
I will appreciate any help!
Thank you very much!
JW