I am following the recipe to compile cosmomc with wmap and planck.
everything compiled correctly and test were successful, up until trying to compile cosmomc.
This is the error I get:
Code: Select all
ld: /home/spawn/CosmoMC/wmap_likelihood_v5/libwmap9.a(read_archive_map.o): undefined reference to symbol 'ftgnrw_' /home/spawn/CosmoMC/planck/plc-2.0/lib/libclik.so: error adding symbols: DSO missing from command line Makefile:291: recipe for target 'cosmomc' failed make: *** [cosmomc] Error 1 make: Leaving directory '/home/spawn/CosmoMC/CosmoMC-June2016/source' Makefile:17: recipe for target 'cosmomc' failed make: *** [cosmomc] Error 2
-- ubuntu 16.04 LTS os
-- Intel compilers 2015 package #6
openmpi 1.8.8 compiled with ifort
latest cfitsio compiled with ifort
latest Healpix (3.30) compiled with ifort
wmap 9 year data compiled with ifort
Code: Select all
OUTPUT_DIR ?= Release BUILD ?= MPI #set BUILD to MPI to force MPI, should be set in ../Makefile MPIF90C ?= mpif90 ifortErr = $(shell which ifort >/dev/null; echo $$?) #these settings for ifort 14 and higher. Earlier versions will not work. ifeq "$(ifortErr)" "0" #ifort; Can remove -xHost if your cluster is not uniform, or specify specific processor optimizations -x... F90C = ifort #use this if mpif90 is trying to use gfortran: MPIF90C = mpif90 -f90=ifort FFLAGS = -mkl -O3 -no-prec-div -fpp DEBUGFLAGS = -mkl -g -check all -check noarg_temp_created -traceback -fpp -fpe0 #add -fpe0 to check for floating point errors (think lowLike also throws these harmlessly) MODOUT = -module $(OUTPUT_DIR) LAPACKL = . . . #set WMAP empty not to compile with WMAP, e.g. WMAP = /scratch/../WMAP9/likelihood_v5 WMAP ?=/home/spawn/CosmoMC/wmap_likelihood_v5 #e.g. PICO=/path/to/pypico PICO ?= $(shell python -c "import pypico; print pypico.get_folder()" 2> /dev/null) #Needed for WMAP; set from ~/.bashrc definition or edit here cfitsio ?=/home/spawn/CosmoMC/cfitsio
What am I missing?!?