Problem compiling Planck liklihood

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
srijita sinha
Posts: 32
Joined: April 12 2019
Affiliation: Indian Institute of Science Education and Research Kolkata

Problem compiling Planck liklihood

Post by srijita sinha » June 21 2019

Sir,

I am trying to compile the plc-2.0 in a cluster. I did all the modifications mentioned in Added the lines

Code: Select all

export I_MPI_CC=icc
export I_MPI_CXX=icpc
export I_MPI_F77=ifort
export I_MPI_F90=ifort
in my .bashrc file. mpif90 shows

Code: Select all

[narayan@dirac plc-2.0]$ mpif90 --version
ifort (IFORT) 19.0.1.144 20181018
Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.
ifort shows

Code: Select all

[narayan@dirac plc-2.0]$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.0.1.144 Build 20181018
Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.
.

While configuring it shows ok.

Code: Select all

[narayan@dirac plc-2.0]$ ./waf configure --lapack_mkl=${MKLROOT} --install_all_deps --icc --ifort
Setting top to                           : /home/narayan/Cosmo_Programs/plc-2.0 
Setting out to                           : /home/narayan/Cosmo_Programs/plc-2.0/build 
Checking for program 'icc, ICL'          : /home/softwares/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icc 
Checking for program 'ar'                : /usr/bin/ar 
Compile a test code with icc             : yes 
retrieve icc link line                   : ok 
icc link line                            :   
Setting architecture flag to             : -m64 
Checking for $CC option to support OpenMP : -qopenmp 
Checking for program 'ifort'              : /home/softwares/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/ifort 
Checking for program 'xiar'               : /usr/bin/ar 
Check ifort version                       : 19.0.1.144 
Compile a test code with ifort            : yes 
retrieve ifort link line                  : ok 
fortran link line                         : -L/lib -L/lib64 -lirc -lpthread 
Setting install root to                   : /home/narayan/Cosmo_Programs/plc-2.0 
Setting install bin directory to          : /home/narayan/Cosmo_Programs/plc-2.0/bin 
Setting install lib directory to          : /home/narayan/Cosmo_Programs/plc-2.0/lib 
Setting install include directory to      : /home/narayan/Cosmo_Programs/plc-2.0/include 
Checking for program 'python'             : /usr/bin/python 
Checking for python version               : 2.7.5 
python-config                             : /usr/bin/python-config 
Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes 
Getting pyembed flags from python-config                           : yes 
Checking for library dl                                            : yes 
checking for RTLD_DEFAULT in dl                                    : no 
Checking for program 'pmc-config'                                  : not found 
Checking for library pmc                                           : not found 
Check mkl version                                                  : 10.3 
create specific mkl lib                                            : /home/narayan/Cosmo_Programs/plc-2.0/lib/libclik_mkl.so 
Checking for library ['clik_mkl', 'iomp5', 'pthread', 'm']         : yes 
Checking for function dposv                                        : yes 
Checking for function dtrsv                                        : yes 
Checking for function dpotrf                                       : yes 
Checking for function dpotrs                                       : yes 
Checking for function dpotri                                       : yes 
Checking for function dtrtri                                       : yes 
Checking for function dtrmm                                        : yes 
Checking for function dtrmv                                        : yes 
Checking for function dgeqrf                                       : yes 
Checking for function dormqr                                       : yes 
Checking for function dsyev                                        : yes 
Checking for function dgesvd                                       : yes 
Checking for function dsymv                                        : yes 
Checking for function dgemv                                        : yes 
Checking for function dgemm                                        : yes 
Checking for function dsyrk                                        : yes 
Checking for function dsyr2k                                       : yes 
Checking for function daxpy                                        : yes 
Checking for function dtrsm                                        : yes 
Checking for function dsymm                                        : yes 
Checking for function dsyr                                         : yes 
Checking for function ddot                                         : yes 
Checking for function dsyevd                                       : yes 
Checking for function dlamch                                       : yes 
Checking for function dsyevr                                       : yes 
Checking for library ['cfitsio']                                   : yes 
Checking for function fits_init_cfitsio                            : yes 
Checking python module 'numpy'                                     : ok 
Checking python module 'pyfits'                                    : ok 
Checking python module 'cython'                                    : ok 
Checking python module 'cython'                                    : ok 
Checking cython version (>0.12)                                    : 0.29.10 
Checking for program 'cython'                                      : /home/narayan/.local/bin/cython 
Add plugin : 'rel2015'                                             : ok 

*----------------------------------------------------*
|                                                    |
|   Configure step ok.                               |
|                                                    |
|   run './waf install' now !                        |
|                                                    |
*----------------------------------------------------*

'configure' finished successfully (8.186s)
But while doing ./waf install it is showing errors:

Code: Select all

[narayan@dirac plc-2.0]$ ./waf install
Waf: Entering directory `/home/narayan/Cosmo_Programs/plc-2.0/build'
add plik/component_plugin/rel2015/fg2015.c
add plik/component_plugin/rel2015/corrnoise.c
add plik/component_plugin/rel2015/leakage.c
[  3/125] Processing src/lowlike/Planck_options.F90
[  2/125] Processing src/gibbs/comm_br_mod.f90
[  5/125] Processing src/gibbs/comm_lowl_mod_dist.f90
[  6/125] Processing src/cmbonly/plik_cmbonly.f90
[  6/125] Processing src/camspec/CAMspec.f90
[  6/125] Processing src/gibbs/comm_gauss_br_mod.f90
[ 10/125] Processing src/clik.F90
- install /home/narayan/Cosmo_Programs/plc-2.0/include/clik_lensing.h (from src/clik_lensing.h)
[ 10/125] Processing src/bflike/healpix_types.f90
[ 12/125] Compiling src/lowlike/read_archive_map.f90
[ 12/125] Compiling src/lowlike/read_fits.f90
[ 12/125] Processing src/lowlike/br_mod_dist.f90
- install /home/narayan/Cosmo_Programs/plc-2.0/include/clik.h (from src/clik.h)
[ 13/125] Compiling src/python/clik/lkl.pyx
- install /home/narayan/Cosmo_Programs/plc-2.0/include/errorlist.h (from src/minipmc/errorlist.h)
[ 14/125] Compiling src/python/clik/lkl_lensing.pyx
[ 15/125] Compiling src/python/clik/parametric.pyx
[ 19/125] Compiling src/plik/component_plugin/rel2015/rel2015.pyx
[ 19/125] Compiling src/python/clik/parobject.py
[ 20/125] Compiling src/python/clik/parobject.py
[ 20/125] Compiling src/python/clik/__init__.py
[ 22/125] Compiling src/python/clik/__init__.py
[ 22/125] Compiling src/python/clik/miniparse.py
[ 24/125] Compiling src/python/clik/miniparse.py
[ 25/125] Compiling src/python/clik/smicahlp.py
[ 26/125] Compiling src/python/clik/smicahlp.py
[ 27/125] Compiling src/python/clik/hpy.py
[ 26/125] Compiling src/python/clik/hpy.py
[ 29/125] Compiling src/python/clik/cldf.py
[ 29/125] Compiling src/python/clik/cldf.py
[ 29/125] Compiling src/python/tools/clik_change_lrange.py
[ 30/125] Compiling src/python/tools/clik_example_py.py
[ 32/125] Compiling src/python/tools/clik_get_selfcheck.py
[ 31/125] Compiling src/python/tools/clik_explore_1d.py
[ 34/125] Compiling src/python/tools/clik_print.py
[ 34/125] Compiling src/python/tools/prepare_wmap.py
- install /home/narayan/Cosmo_Programs/plc-2.0/share/clik/rel2015/tsz_143_eps0.50.dat (from src/plik/component_plugin/rel2015/tsz_143_eps0.50.dat)
- install /home/narayan/Cosmo_Programs/plc-2.0/share/clik/rel2015/sz_x_cib_template.dat (from src/plik/component_plugin/rel2015/sz_x_cib_template.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/src/python/clik/__init__.py (from src/python/clik/__init__.py)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/src/python/clik/parobject.py (from src/python/clik/parobject.py)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/parobject.pyo (from build/src/python/clik/parobject.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/miniparse.pyc (from build/src/python/clik/miniparse.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/__init__.pyo (from build/src/python/clik/__init__.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/miniparse.pyo (from build/src/python/clik/miniparse.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/src/python/clik/miniparse.py (from src/python/clik/miniparse.py)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/src/python/clik/smicahlp.py (from src/python/clik/smicahlp.py)
- install /home/narayan/Cosmo_Programs/plc-2.0/share/clik/rel2015/ksz_fromcamspec.dat (from src/plik/component_plugin/rel2015/ksz_fromcamspec.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/smicahlp.pyc (from build/src/python/clik/smicahlp.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/__init__.pyc (from build/src/python/clik/__init__.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/smicahlp.pyo (from build/src/python/clik/smicahlp.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/hpy.pyc (from build/src/python/clik/hpy.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/src/python/clik/hpy.py (from src/python/clik/hpy.py)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/hpy.pyo (from build/src/python/clik/hpy.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/cldf.pyc (from build/src/python/clik/cldf.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/src/python/clik/cldf.py (from src/python/clik/cldf.py)
+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/cldf.pyo (from build/src/python/clik/cldf.pyo)
- install /home/narayan/Cosmo_Programs/plc-2.0/share/clik/rel2015/cib_1h_2h_100_353_Jsr-1_PS_2014_09.dat (from src/plik/component_plugin/rel2015/cib_1h_2h_100_353_Jsr-1_PS_2014_09.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.0/bin/clik_example_py (from build/src/python/clik_example_py)
+ install /home/narayan/Cosmo_Programs/plc-2.0/bin/clik_change_lrange (from build/src/python/clik_change_lrange)
+ install /home/narayan/Cosmo_Programs/plc-2.0/bin/clik_explore_1d (from build/src/python/clik_explore_1d)
+ install /home/narayan/Cosmo_Programs/plc-2.0/bin/clik_get_selfcheck (from build/src/python/clik_get_selfcheck)
+ install /home/narayan/Cosmo_Programs/plc-2.0/bin/clik_print (from build/src/python/clik_print)
+ install /home/narayan/Cosmo_Programs/plc-2.0/bin/prepare_wmap (from build/src/python/prepare_wmap)
- install /home/narayan/Cosmo_Programs/plc-2.0/share/clik/rel2015/sky_template_v15_F100_143_217_353.dat (from src/plik/component_plugin/rel2015/sky_template_v15_F100_143_217_353.dat)
[ 59/125] Processing src/lowlike/Planck_teeebb_pixlike.F90
- install /home/narayan/Cosmo_Programs/plc-2.0/share/clik/rel2015/cnoise_F100_143_217_353_v17.dat (from src/plik/component_plugin/rel2015/cnoise_F100_143_217_353_v17.dat)
[ 60/125] Processing src/bflike/long_intrinsic_smw.f90
[ 61/125] Processing src/plik/clik_plik.f90
[ 62/125] Compiling src/clik_example_f90.f90
[ 63/125] Processing src/bflike/fitstools_smw.f90
[ 64/125] Processing src/cmbonly/clik_cmbonly.f90
/home/narayan/.local/lib/python2.7/site-packages/Cython-0.29.10-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/narayan/Cosmo_Programs/plc-2.0/src/plik/component_plugin/rel2015/rel2015.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)

+ install /home/narayan/Cosmo_Programs/plc-2.0/lib/python2.7/site-packages/clik/parobject.pyc (from build/src/python/clik/parobject.pyc)
/home/narayan/.local/lib/python2.7/site-packages/Cython-0.29.10-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl.pyx:4:8: 'stdlib' is deprecated, use 'libc.stdlib'
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl.pyx:5:8: 'stdio' is deprecated, use 'libc.stdio'
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl.pyx:49:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl.pyx:49:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl.pyx:207:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl.pyx:207:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.

/home/narayan/.local/lib/python2.7/site-packages/Cython-0.29.10-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl_lensing.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl_lensing.pyx:4:8: 'stdlib' is deprecated, use 'libc.stdlib'
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl_lensing.pyx:5:8: 'stdio' is deprecated, use 'libc.stdio'
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl_lensing.pyx:51:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl_lensing.pyx:51:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl_lensing.pyx:150:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/lkl_lensing.pyx:150:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.

[ 66/125] Processing src/camspec/clik_CAMspec.F90
[ 67/125] Processing src/bflike/bflike_QUonly.f90
[ 68/125] Processing src/bflike/bflike.f90
[ 69/125] Processing src/bflike/bflike_smw.f90
[ 70/125] Processing src/lowlike/Planck_likelihood.F90
[ 71/125] Processing src/lowlike/clik_lowlike.f90
/home/narayan/.local/lib/python2.7/site-packages/Cython-0.29.10-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/clik.parametric.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/parametric.pyx:4:8: 'stdlib' is deprecated, use 'libc.stdlib'
warning: /home/narayan/Cosmo_Programs/plc-2.0/src/python/clik/parametric.pyx:5:8: 'stdio' is deprecated, use 'libc.stdio'

[ 72/125] Compiling src/plik/component_plugin/rel2015/fg2015.c
[ 73/125] Compiling src/plik/clik_hfipack.c
[ 74/125] Compiling build/src/python/clik/lkl.pyx.c
[ 75/125] Compiling src/plik/component_plugin/rel2015/leakage.c
[ 76/125] Compiling build/src/python/clik/parametric.pyx.c
[ 77/125] Compiling src/bflike/clik_bflike.c
[ 78/125] Compiling src/plik/component_plugin/rel2015/corrnoise.c
[ 79/125] Compiling src/cldf/cfrd.c
[ 80/125] Compiling src/minipmc/io.c
[ 81/125] Compiling src/plik/clik_plik.c
[ 82/125] Compiling src/lklbs.c
[ 83/125] Compiling src/minipmc/distribution.c
[ 84/125] Compiling src/clik_lensing.c
[ 85/125] Compiling src/lenslike/plenslike/plenslike_dat_qecl.c
[ 86/125] Compiling src/clik_fortran.c
[ 87/125] Compiling src/clik_dic.c
[ 88/125] Compiling src/gibbs/clik_gibbs.c
[ 89/125] Compiling src/clik.c
[ 90/125] Compiling src/lowly_common.c
[ 91/125] Compiling src/camspec/clik_CAMspec.c
[ 92/125] Compiling src/plik/clik_parametric_addon.c
src/python/clik/lkl.pyx.c(4618): error: identifier "NPY_ARRAY_C_CONTIGUOUS" is undefined
    __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_C_CONTIGUOUS) != 0)) != 0);
                    ^

src/python/clik/lkl.pyx.c(4674): error: identifier "NPY_ARRAY_F_CONTIGUOUS" is undefined
    __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_F_CONTIGUOUS) != 0)) != 0);
                    ^

compilation aborted for src/python/clik/lkl.pyx.c (code 2)

src/python/clik/parametric.pyx.c(18703): error: identifier "NPY_ARRAY_C_CONTIGUOUS" is undefined
    __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_C_CONTIGUOUS) != 0)) != 0);
                    ^

src/python/clik/parametric.pyx.c(18759): error: identifier "NPY_ARRAY_F_CONTIGUOUS" is undefined
    __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_F_CONTIGUOUS) != 0)) != 0);
                    ^

compilation aborted for src/python/clik/parametric.pyx.c (code 2)

Waf: Leaving directory `/home/narayan/Cosmo_Programs/plc-2.0/build'
Build failed
 -> task in 'lkl' failed (exit status 2): 
	{task 139625554634896: c lkl.pyx.c -> lkl.pyx.c.1.o}
['/home/softwares/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icc', '-fopenmp', '-fPIC', '-shared', '-I/home/narayan/Cosmo_Programs/plc-2.0/build/src', '-I/home/narayan/Cosmo_Programs/plc-2.0/src', '-I/home/narayan/Cosmo_Programs/plc-2.0/build/src/minipmc', '-I/home/narayan/Cosmo_Programs/plc-2.0/src/minipmc', '-I/home/softwares/intel/compilers_and_libraries_2019.1.144/linux/mkl/include', '-I/home/narayan/Cosmo_Programs/plc-2.0/include', '-I/usr/include/python2.7', '-I/home/narayan/.local/lib/python2.7/site-packages/numpy/core/include', '-DPYTHONDIR="/usr/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/lib64/python2.7/site-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYTHON_H=1', '-DHAS_LAPACK', '-DHAS_MKL', 'src/python/clik/lkl.pyx.c', '-c', '-o', '/home/narayan/Cosmo_Programs/plc-2.0/build/src/python/clik/lkl.pyx.c.1.o']
 -> task in 'parametric' failed (exit status 2): 
	{task 139625554636112: c parametric.pyx.c -> parametric.pyx.c.3.o}
['/home/softwares/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icc', '-fopenmp', '-fPIC', '-shared', '-I/home/narayan/Cosmo_Programs/plc-2.0/build/src', '-I/home/narayan/Cosmo_Programs/plc-2.0/src', '-I/home/narayan/Cosmo_Programs/plc-2.0/build/src/plik', '-I/home/narayan/Cosmo_Programs/plc-2.0/src/plik', '-I/home/narayan/Cosmo_Programs/plc-2.0/build/src/minipmc', '-I/home/narayan/Cosmo_Programs/plc-2.0/src/minipmc', '-I/home/softwares/intel/compilers_and_libraries_2019.1.144/linux/mkl/include', '-I/home/narayan/Cosmo_Programs/plc-2.0/include', '-I/usr/include/python2.7', '-I/home/narayan/.local/lib/python2.7/site-packages/numpy/core/include', '-DPYTHONDIR="/usr/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/lib64/python2.7/site-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYTHON_H=1', '-DHAS_LAPACK', '-DHAS_MKL', 'src/python/clik/parametric.pyx.c', '-c', '-o', '/home/narayan/Cosmo_Programs/plc-2.0/build/src/python/clik/parametric.pyx.c.3.o']
.


CosmoMC itself is running fine without plc-2.0.
Maybe I missed something. Please help. Thank you in advance.

Regards
Srijita

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Problem compiling Planck liklihood

Post by Antony Lewis » June 22 2019

Have you tried the new build at viewtopic.php?f=11&t=3143?

srijita sinha
Posts: 32
Joined: April 12 2019
Affiliation: Indian Institute of Science Education and Research Kolkata

Re: Problem compiling Planck liklihood

Post by srijita sinha » June 25 2019

Hi,

I tried with plc-2.1 also. It is having the same problem while

Code: Select all

./waf install
The error looks like

Code: Select all

[narayan@dirac plc-2.1]$ ./waf install
Waf: Entering directory `/home/narayan/Cosmo_Programs/plc-2.1/build'
add plik/component_plugin/rel2015/fg2015.c
add plik/component_plugin/rel2015/corrnoise.c
add plik/component_plugin/rel2015/leakage.c
[  1/138] Compiling src/python/clik/lkl.pyx
[  2/138] Compiling src/python/clik/lkl_lensing.pyx
[  3/138] Compiling src/python/clik/parametric.pyx
[  4/138] Compiling src/plik/component_plugin/rel2015/rel2015.pyx
[  5/138] Processing src/lowlike/Planck_options.F90
[  6/138] Processing src/actspt/Highell_subroutines.F90
[  7/138] Processing src/actspt/Highell_options.F90
[  8/138] Processing src/gibbs/comm_br_mod.f90
[  9/138] Processing src/gibbs/comm_gauss_br_mod.f90
[ 10/138] Processing src/gibbs/comm_gauss_br_mod_v3.f90
[ 11/138] Processing src/gibbs/comm_lowl_mod_dist.f90
[ 12/138] Processing src/cmbonly/plik_cmbonly.f90
[ 13/138] Processing src/camspec/CAMspec.f90
[ 14/138] Processing src/camspec/temp_like.f90
[ 15/138] Processing src/camspec/temp_like_v3.f90
[ 16/138] Processing src/bflike/healpix_types.f90
[ 17/138] Compiling src/lowlike/read_archive_map.f90
[ 18/138] Compiling src/lowlike/read_fits.f90
[ 19/138] Processing src/lowlike/br_mod_dist.f90
[ 20/138] Processing src/clik.F90
[ 21/138] Compiling build/src/python/clik/cldf.pyo
[ 22/138] Compiling build/src/python/clik/smicahlp.pyc
[ 23/138] Compiling build/src/python/clik/miniparse.pyc
[ 24/138] Compiling build/src/python/clik/miniparse.pyo
[ 25/138] Compiling build/src/python/clik/smicahlp.pyo
[ 26/138] Compiling build/src/python/clik/hpy.pyo
[ 27/138] Compiling build/src/python/clik/hpy.pyc
[ 28/138] Compiling build/src/python/clik/cldf.pyc
[ 29/138] Compiling build/src/python/clik/parobject.pyo
[ 30/138] Compiling build/src/python/clik/__init__.pyo
[ 31/138] Compiling build/src/python/clik/__init__.pyc
[ 32/138] Compiling build/src/python/clik/parobject.pyc
[ 33/138] Compiling src/python/tools/clik_change_lrange.py
[ 34/138] Compiling src/python/tools/clik_example_py.py
[ 35/138] Compiling src/python/tools/clik_explore_1d.py
[ 36/138] Compiling src/python/tools/clik_get_selfcheck.py
[ 37/138] Compiling src/python/tools/clik_print.py
[ 38/138] Compiling src/python/tools/prepare_wmap.py
+ install /home/narayan/Cosmo_Programs/plc-2.1/include/clik_lensing.h (from src/clik_lensing.h)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/parobject.py (from src/python/clik/parobject.py)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/hpy.py (from src/python/clik/hpy.py)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/miniparse.py (from src/python/clik/miniparse.py)
+ install /home/narayan/Cosmo_Programs/plc-2.1/include/clik.h (from src/clik.h)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/__init__.py (from src/python/clik/__init__.py)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/cldf.py (from src/python/clik/cldf.py)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/smicahlp.py (from src/python/clik/smicahlp.py)
+ install /home/narayan/Cosmo_Programs/plc-2.1/include/errorlist.h (from src/minipmc/errorlist.h)
+ install /home/narayan/Cosmo_Programs/plc-2.1/bin/clik_change_lrange (from build/src/python/clik_change_lrange)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/tsz_143_eps0.50.dat (from src/plik/component_plugin/rel2015/tsz_143_eps0.50.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/bin/clik_example_py (from build/src/python/clik_example_py)
+ install /home/narayan/Cosmo_Programs/plc-2.1/bin/clik_explore_1d (from build/src/python/clik_explore_1d)
+ install /home/narayan/Cosmo_Programs/plc-2.1/bin/clik_get_selfcheck (from build/src/python/clik_get_selfcheck)
+ install /home/narayan/Cosmo_Programs/plc-2.1/bin/clik_print (from build/src/python/clik_print)
+ install /home/narayan/Cosmo_Programs/plc-2.1/bin/prepare_wmap (from build/src/python/prepare_wmap)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/miniparse.pyc (from build/src/python/clik/miniparse.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/hpy.pyc (from build/src/python/clik/hpy.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/sz_x_cib_template.dat (from src/plik/component_plugin/rel2015/sz_x_cib_template.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/__init__.pyc (from build/src/python/clik/__init__.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/cldf.pyc (from build/src/python/clik/cldf.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/parobject.pyc (from build/src/python/clik/parobject.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/smicahlp.pyc (from build/src/python/clik/smicahlp.pyc)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/ksz_fromcamspec.dat (from src/plik/component_plugin/rel2015/ksz_fromcamspec.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/cib_1h_2h_100_353_Jsr-1_PS_2014_09.dat (from src/plik/component_plugin/rel2015/cib_1h_2h_100_353_Jsr-1_PS_2014_09.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/sky_template_v15_F100_143_217_353.dat (from src/plik/component_plugin/rel2015/sky_template_v15_F100_143_217_353.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/cnoise_F100_143_217_353_v17.dat (from src/plik/component_plugin/rel2015/cnoise_F100_143_217_353_v17.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/cleak_eh_rd12rc3_v1.dat (from src/plik/component_plugin/rel2015/cleak_eh_rd12rc3_v1.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/cnoise_e2e_v2.dat (from src/plik/component_plugin/rel2015/cnoise_e2e_v2.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/share/clik/rel2015/sbpx_tmpl_v4_hm.dat (from src/plik/component_plugin/rel2015/sbpx_tmpl_v4_hm.dat)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/hpy.pyo (from build/src/python/clik/hpy.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/__init__.pyo (from build/src/python/clik/__init__.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/miniparse.pyo (from build/src/python/clik/miniparse.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/cldf.pyo (from build/src/python/clik/cldf.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/parobject.pyo (from build/src/python/clik/parobject.pyo)
+ install /home/narayan/Cosmo_Programs/plc-2.1/lib/python/site-packages/clik/smicahlp.pyo (from build/src/python/clik/smicahlp.pyo)
[ 65/138] Processing src/bflike/long_intrinsic_smw.f90
[ 66/138] Processing src/lowlike/Planck_teeebb_pixlike.F90
[ 67/138] Processing src/actspt/Foregrounds_loading.F90
[ 68/138] Processing src/bflike/fitstools_smw.f90
[ 69/138] Processing src/actspt/ACT_south_likelihood.F90
[ 70/138] Processing src/actspt/SPT_keisler_likelihood.F90
[ 71/138] Processing src/actspt/ACT_equa_likelihood.F90
[ 72/138] Processing src/actspt/SPT_reichardt_likelihood.F90
[ 73/138] Processing src/plik/clik_plik.f90
[ 74/138] Compiling src/clik_example_f90.f90
[ 75/138] Processing src/cmbonly/clik_cmbonly.f90
[ 76/138] Processing src/bflike/bflike.f90
[ 77/138] Processing src/bflike/bflike_QUonly.f90
[ 78/138] Processing src/bflike/bflike_smw.f90
[ 79/138] Processing src/actspt/Highell_likelihood.F90
[ 80/138] Processing src/lowlike/Planck_likelihood.F90
[ 81/138] Processing src/actspt/clik_actspt.f90
[ 82/138] Processing src/lowlike/clik_lowlike.f90
[ 83/138] Processing src/gibbs/clik_gibbs.f90
/home/narayan/.local/lib/python2.7/site-packages/Cython-0.29.10-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/narayan/Cosmo_Programs/plc-2.1/src/plik/component_plugin/rel2015/rel2015.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)

/home/narayan/.local/lib/python2.7/site-packages/Cython-0.29.10-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl_lensing.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl_lensing.pyx:4:8: 'stdlib' is deprecated, use 'libc.stdlib'
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl_lensing.pyx:5:8: 'stdio' is deprecated, use 'libc.stdio'
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl_lensing.pyx:51:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl_lensing.pyx:51:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl_lensing.pyx:151:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl_lensing.pyx:151:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.

/home/narayan/.local/lib/python2.7/site-packages/Cython-0.29.10-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl.pyx:4:8: 'stdlib' is deprecated, use 'libc.stdlib'
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl.pyx:5:8: 'stdio' is deprecated, use 'libc.stdio'
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl.pyx:49:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl.pyx:49:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl.pyx:207:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/lkl.pyx:207:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.

[ 84/138] Processing src/camspec/clik_CAMspec.F90
/home/narayan/.local/lib/python2.7/site-packages/Cython-0.29.10-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/clik.parametric.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/parametric.pyx:4:8: 'stdlib' is deprecated, use 'libc.stdlib'
warning: /home/narayan/Cosmo_Programs/plc-2.1/src/python/clik/parametric.pyx:5:8: 'stdio' is deprecated, use 'libc.stdio'

[ 85/138] Compiling src/minipmc/distribution.c
[ 86/138] Compiling src/plik/clik_hfipack.c
[ 87/138] Compiling src/lenslike/plenslike/plenslike_dat_full.c
[ 88/138] Compiling src/bflike/clik_bflike.c
[ 89/138] Compiling src/cldf/cldf.c
[ 90/138] Compiling src/minipmc/io.c
[ 91/138] Compiling src/minipmc/errorlist.c
[ 92/138] Compiling src/plik/component_plugin/rel2015/fg2015.c
[ 93/138] Compiling src/clik_lensing.c
[ 94/138] Compiling src/cldf/cfrd.c
[ 95/138] Compiling src/cmbonly/clik_cmbonly.c
[ 96/138] Compiling src/plik/clik_plik.c
[ 97/138] Compiling src/plik/component_plugin/rel2015/leakage.c
[ 98/138] Compiling src/gibbs/clik_gibbs.c
[ 99/138] Compiling src/camspec/clik_CAMspec.c
[100/138] Compiling src/actspt/clik_actspt.c
[101/138] Compiling src/lenslike/plenslike/wignerd.c
[102/138] Compiling src/clik_helper.c
[103/138] Compiling src/lowlike/clik_lowlike.c
[104/138] Compiling src/lenslike/plenslike/plenslike_dat_qecl.c
[105/138] Compiling src/lowly_common.c
[106/138] Compiling src/lklbs.c
[107/138] Compiling src/plik/component_plugin/rel2015/corrnoise.c
[108/138] Compiling src/lenslike/plenslike/plenslike_dat_mono.c
[109/138] Compiling src/lenslike/plenslike/plenslike_dat_quad.c
[110/138] Compiling src/plik/smica.c
[111/138] Compiling src/lenslike/plenslike/qest.c
[112/138] Compiling src/plik/clik_parametric_addon.c
[113/138] Compiling src/clik_dic.c
[114/138] Compiling src/plik/clik_parametric.c
[115/138] Compiling src/clik.c
[116/138] Compiling src/clik_fortran.c
[117/138] Compiling src/clik_example_c.c
[118/138] Compiling build/src/python/clik/lkl.pyx.c
[119/138] Compiling build/src/python/clik/lkl_lensing.pyx.c
[120/138] Compiling build/src/python/clik/parametric.pyx.c
[121/138] Compiling build/src/plik/component_plugin/rel2015/rel2015.pyx.c
In file included from ../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:0,
                 from ../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:14,
                 from src/python/clik/lkl.pyx.c:598:
src/python/clik/lkl.pyx.c: In function ‘__pyx_pf_5numpy_7ndarray___getbuffer__’:
src/python/clik/lkl.pyx.c:4658:50: error: ‘NPY_ARRAY_C_CONTIGUOUS’ undeclared (first use in this function)
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_C_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^
src/python/clik/lkl.pyx.c:4658:50: note: each undeclared identifier is reported only once for each function it appears in
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_C_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^
src/python/clik/lkl.pyx.c:4714:50: error: ‘NPY_ARRAY_F_CONTIGUOUS’ undeclared (first use in this function)
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_F_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^

In file included from ../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:0,
                 from ../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:14,
                 from src/python/clik/lkl_lensing.pyx.c:598:
src/python/clik/lkl_lensing.pyx.c: In function ‘__pyx_pf_5numpy_7ndarray___getbuffer__’:
src/python/clik/lkl_lensing.pyx.c:4598:50: error: ‘NPY_ARRAY_C_CONTIGUOUS’ undeclared (first use in this function)
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_C_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^
src/python/clik/lkl_lensing.pyx.c:4598:50: note: each undeclared identifier is reported only once for each function it appears in
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_C_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^
src/python/clik/lkl_lensing.pyx.c:4654:50: error: ‘NPY_ARRAY_F_CONTIGUOUS’ undeclared (first use in this function)
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_F_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^

In file included from ../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:0,
                 from ../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:14,
                 from src/python/clik/parametric.pyx.c:600:
src/python/clik/parametric.pyx.c: In function ‘__pyx_pf_5numpy_7ndarray___getbuffer__’:
src/python/clik/parametric.pyx.c:20675:50: error: ‘NPY_ARRAY_C_CONTIGUOUS’ undeclared (first use in this function)
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_C_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^
src/python/clik/parametric.pyx.c:20675:50: note: each undeclared identifier is reported only once for each function it appears in
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_C_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^
src/python/clik/parametric.pyx.c:20731:50: error: ‘NPY_ARRAY_F_CONTIGUOUS’ undeclared (first use in this function)
   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_ARRAY_F_CONTIGUOUS) != 0)) != 0);
                                                  ^
../../../.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:833:44: note: in definition of macro ‘PyArray_CHKFLAGS’
         ((((PyArrayObject *)(m))->flags & (FLAGS)) == (FLAGS))
                                            ^

Waf: Leaving directory `/home/narayan/Cosmo_Programs/plc-2.1/build'
Build failed
 -> task in 'lkl' failed with exit status 1 (run with -v to display more information)
 -> task in 'lkl_lensing' failed with exit status 1 (run with -v to display more information)
 -> task in 'parametric' failed with exit status 1 (run with -v to display more information)
CosmoMC is running fine but has the lines

Code: Select all

MPI startup(): I_MPI_F77 environment variable is not supported.
MPI startup(): To check the list of supported variables, use the impi_info utility or refer to https://software.intel.com/en-us/mpi-library/documentation/get-started.
at the beginning. Does it have anything to do with plc-2.0 or plc-2.1?

I am using python 2.7, Cython-0.14.1, pyfits-3.2.2, numpy-1.6.0, cfitsio3280, ifort version 19.0.1.144, mkl lib 10.3.

I tried with latest version of Cython and cfitsio, but the problem persists.

For configuring I am using the command

Code: Select all

./waf configure --lapack_mkl=${MKLROOT} --forceinstall_all_deps --ifort --icc
After this, it is showing ok, but the log file has some errors (I think because there are some ^ ). A part of it looks like

Code: Select all

------------------------------------------------------------------
Checking for function dgeqrf
==>
#include <mkl_lapack.h>
#include <mkl_blas.h>

int main(int argc, char **argv) {
        void *p;
        (void)argc; (void)argv;
        p=(void*)(dgeqrf);
        return (int)p;
}

<==
[1/2] Compiling ^[[32mbuild/.conf_check_1f0710e8f50c9c576321bd7274b8d35e/test.c^[[0m

['/home/softwares/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icc', '-I/home/softwares/intel/compilers_and_libraries_2019.1.144/linux/mkl/include', '-DPYTHONDIR="/usr/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/lib64/python2.7/site-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYTHON_H=1', '-DHAS_LAPACK', '-DHAS_MKL', '../test.c', '-c', '-o', '/home/narayan/Cosmo_Programs/plc-2.0/build/.conf_check_1f0710e8f50c9c576321bd7274b8d35e/testbuild/test.c.1.o']
err: ../test.c(8): warning #810: conversion from "void *" to "int" may lose significant bits
        return (int)p;
               ^


[2/2] Linking ^[[33mbuild/.conf_check_1f0710e8f50c9c576321bd7274b8d35e/testbuild/testprog^[[0m

['/home/softwares/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icc', '-m64', 'test.c.1.o', '-o', '/home/narayan/Cosmo_Programs/plc-2.0/build/.conf_check_1f0710e8f50c9c576321bd7274b8d35e/testbuild/testprog', '-Wl,-rpath,/lib', '-Wl,-rpath,/lib64', '-Wl,-rpath,/home/narayan/Cosmo_Programs/plc-2.0/lib', '-Wl,-rpath,/home/narayan/Cosmo_Programs/plc-2.0/lib', '-Wl,-rpath,/lib', '-Wl,-rpath,/lib64', '-L/lib', '-L/lib64', '-L/home/narayan/Cosmo_Programs/plc-2.0/lib', '-L/lib', '-L/lib64', '-lpthread', '-lclik_mkl', '-liomp5', '-lpthread', '-lm']
err: ld: skipping incompatible /lib/libpthread.so when searching for -lpthread
ld: skipping incompatible /lib/libpthread.so when searching for -lpthread
ld: skipping incompatible /lib/libm.so when searching for -lm
ld: skipping incompatible /lib/libm.so when searching for -lm
ld: skipping incompatible /lib/libc.so when searching for -lc
ld: skipping incompatible /lib/libdl.so when searching for -ldl
ld: skipping incompatible /lib/libc.so when searching for -lc

yes
Please help. Thanks a lot in advance.

Regards,
Srijita

srijita sinha
Posts: 32
Joined: April 12 2019
Affiliation: Indian Institute of Science Education and Research Kolkata

Re: Problem compiling Planck liklihood

Post by srijita sinha » June 28 2019

Hi,

I used the Makefile instead of

Code: Select all

./waf configure
and

Code: Select all

./waf install
It is working now. Will this hamper anything?

But still having the lines

Code: Select all

MPI startup(): I_MPI_F77 environment variable is not supported.
MPI startup(): To check the list of supported variables, use the impi_info utility or refer to https://software.intel.com/en-us/mpi-library/documentation/get-started.

srijita sinha
Posts: 32
Joined: April 12 2019
Affiliation: Indian Institute of Science Education and Research Kolkata

Re: Problem compiling Planck liklihood

Post by srijita sinha » July 02 2019

This problem still remains when I try to build plc on my desktop. Can anyone please tell me what is going wrong?

Post Reply