Skip to content

Compilation error #2

@arturomarin

Description

@arturomarin

I try to compile the program in a CentOS 7 machine and it give me the next error:

Generating dependencies for StableCheck.cpp...
mpic++ -c -w -O3 -c -g -std=c++11 DrawTreeMain.cpp
mpic++ -c -w -O3 -c -g -std=c++11 ConjugateGTRModel.cpp
In file included from BranchSiteSubstitutionProcess.h:5:0,
from RandomBranchSitePath.h:7,
from ConjugatePath.h:5,
from ConjugateGTRModel.h:5,
from ConjugateGTRModel.cpp:3:
SubMatrix.h: En la función miembro ‘virtual void SubMatrix::BackwardPropagate(const double*, double*, double)’:
SubMatrix.h:454:20: error: la llamada del ‘isnan(double&)’ sobrecargado es ambigua
if (isnan(down[i])) {

My mpic++ version is:

[root@DESEBDDOCKER01 sources]# mpic++ --version
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
Esto es software libre; vea el código para las condiciones de copia. NO hay
garantía; ni siquiera para MERCANTIBILIDAD o IDONEIDAD PARA UN PROPÓSITO EN
PARTICULAR

and my mpirun is:

[root@DESEBDDOCKER01 sources]# mpirun --version
mpirun (Open MPI) 1.10.7

Report bugs to http://www.open-mpi.org/community/help/

Any suggestion to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions