numcosmo-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Numcosmo-help] Error: operator '>' has no left operand


From: Sandro Dias Pinto Vitenti
Subject: Re: [Numcosmo-help] Error: operator '>' has no left operand
Date: Sun, 23 Oct 2016 16:39:15 -0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Hello,

This bug is caused by the failure of configure to detect correctly the
number of cores/cpus available. It will be fixed in the next release,
meanwhile, a simple fix is to pass the option --with-thread-pool-max=4
to the configure script, which is also a good idea for a generic release
since in this case there is no control on the number of cores that will
be available.

I also noticed that NLOpt are not included in the list of dependencies.
Even though it is a optional dependency, NumCosmo benefits greatly from
the advanced minimization algorithm present in this library, it may be a
good idea to include it.

Best,
Sandro Vitenti


On 10/23/2016 01:58 PM, Antonio Trande wrote:
> Hi all.
> 
> I'm working to package "numcosmo" for Fedora/EPEL7 that considers
> additional architectures for builds like PowerPC and ARM-64bit.
> 
> I noted an error when i build "numcosmo" on PPC and ARM64:
> 
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -std=gnu99
> -DHAVE_CONFIG_H -I. -I..    -Wall -fopenmp -DG_LOG_DOMAIN=\"NUMCOSMO\"
> -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -D_REENTRANT -I/usr/include/cfitsio    -I../numcosmo/libcuba
> -I../numcosmo/plc -I../numcosmo/plc/cldf -I../numcosmo/plc/minipmc
> -I../numcosmo/plc/plik -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
> -grecord-gcc-switches   -m64 -mcpu=power7 -mtune=power8 -c -o
> math/ncm_mpsf_sbessel.lo math/ncm_mpsf_sbessel.c
> math/ncm_func_eval.c: In function 'ncm_func_eval_get_pool':
> math/ncm_func_eval.c:98:79: error: expected expression before ',' token
>      _function_thread_pool = g_thread_pool_new (func, NULL,
> NCM_THREAD_POOL_MAX, FALSE, &err);
> 
>       ^
> math/ncm_func_eval.c: At top level:
> math/ncm_func_eval.c:219:25: error: operator '>' has no left operand
>  #if NCM_THREAD_POOL_MAX > 1
> 
> Can you take a look to this error please?
> 
> Full build log:
> https://kojipkgs.fedoraproject.org//work/tasks/491/16180491/build.log
> 
> List of the dependencies:
> https://kojipkgs.fedoraproject.org//work/tasks/491/16180491/root.log
> 
> Thanks.
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]