make V=1
make all-recursive
make: Entering directory `/home/a_h_ck/issm_project/issm_p'
Making all in src
make: Entering directory `/home/a_h_ck/issm_project/issm_p/src'
Making all in c
make: Entering directory `/home/a_h_ck/issm_project/issm_p/src/c'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../. -I/home/a_h_ck/issm_project/issm_p/externalpackages/petsc/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/adjoinablempi/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/mpich/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/petsc/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/triangle/install/ -I/home/a_h_ck/issm_project/issm_p/externalpackages/adolc/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/boost/install/include -g -O2 -std=c++11 -g -O2 -fPIC -g -O2 -std=c++11 -MT ./datastructures/libISSMCore_la-DataSet.lo -MD -MP -MF ./datastructures/.deps/libISSMCore_la-DataSet.Tpo -c -o ./datastructures/libISSMCore_la-DataSet.lo `test -f './datastructures/DataSet.cpp' || echo './'`./datastructures/DataSet.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../. -I/home/a_h_ck/issm_project/issm_p/externalpackages/petsc/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/adjoinablempi/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/mpich/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/petsc/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/triangle/install/ -I/home/a_h_ck/issm_project/issm_p/externalpackages/adolc/install/include -I/home/a_h_ck/issm_project/issm_p/externalpackages/boost/install/include -g -O2 -std=c++11 -g -O2 -fPIC -g -O2 -std=c++11 -MT ./datastructures/libISSMCore_la-DataSet.lo -MD -MP -MF ./datastructures/.deps/libISSMCore_la-DataSet.Tpo -c ./datastructures/DataSet.cpp -fPIC -DPIC -o ./datastructures/.libs/libISSMCore_la-DataSet.o
In file included from ./datastructures/../classes/./../toolkits/./objects/toolkitobjects.h,
from ./datastructures/../classes/./../toolkits/toolkits.h,
from ./datastructures/../classes/./Vertex.h,
from ./datastructures/../classes/classes.h,
from ./datastructures/DataSet.cpp:
./datastructures/../classes/./../toolkits/./objects/./Matrix.h: In constructor 'Matrix<doubletype>:(IssmPDouble*, int, int, IssmPDouble)':
./datastructures/../classes/./../toolkits/./objects/./Matrix.h: error: no matching function for call to 'PetscMat:(IssmPDouble*&, int&, int&, IssmPDouble&)'
this->pmatrix=new PetscMat(serial_mat,M,N,sparsity);
^
./datastructures/../classes/./../toolkits/./objects/./Matrix.h: note: candidates are:
In file included from ./datastructures/../classes/./../toolkits/./petsc/objects/petscobjects.h,
from ./datastructures/../classes/./../toolkits/./petsc/petscincludes.h,
from ./datastructures/../classes/./../toolkits/toolkits.h,
from ./datastructures/../classes/./Vertex.h,
from ./datastructures/../classes/classes.h,
from ./datastructures/DataSet.cpp:
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: PetscMat:(int, int, int, int) <near match>
PetscMat(int M,int N,int connectivity,int numberofdofspernode);
^
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: no known conversion for argument 1 from 'IssmPDouble* {aka double*}' to 'int'
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: PetscMat:(IssmDouble*, int, int, IssmDouble)
PetscMat(IssmDouble* serial_mat,int M,int N,IssmDouble sparsity);
^
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: no known conversion for argument 1 from 'IssmPDouble* {aka double*}' to 'IssmDouble* {aka adouble*}'
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: PetscMat:(int, int, int, int, int*, int*)
PetscMat(int m,int n,int M,int N,int* d_nnz,int* o_nnz);
^
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: candidate expects 6 arguments, 4 provided
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: PetscMat:(int, int, IssmDouble)
PetscMat(int M,int N,IssmDouble sparsity);
^
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: candidate expects 3 arguments, 4 provided
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: PetscMat:(int, int)
PetscMat(int M,int N);
^
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: candidate expects 2 arguments, 4 provided
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: PetscMat:()
PetscMat();
^
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: candidate expects 0 arguments, 4 provided
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: constexpr PetscMat:(const PetscMat&)
class PetscMat{
^
./datastructures/../classes/./../toolkits/./petsc/objects/./PetscMat.h: note: candidate expects 1 argument, 4 provided
In file included from ./datastructures/../classes/./../toolkits/./objects/toolkitobjects.h,
from ./datastructures/../classes/./../toolkits/toolkits.h,
from ./datastructures/../classes/./Vertex.h,
from ./datastructures/../classes/classes.h,
from ./datastructures/DataSet.cpp:
./datastructures/../classes/./../toolkits/./objects/./Vector.h: In instantiation of 'doubletype* Vector<doubletype>:() ':
./datastructures/../classes/./ExternalResults/GenericExternalResult.h: required from here
./datastructures/../classes/./../toolkits/./objects/./Vector.h: error: cannot convert 'IssmDouble* {aka adouble*}' to 'double*' in assignment
vec_serial=this->pvector->ToMPISerial();
^
make: *** Error 1
make: Leaving directory `/home/a_h_ck/issm_project/issm_p/src/c'
make: *** Error 1
make: Leaving directory `/home/a_h_ck/issm_project/issm_p/src'
make: *** Error 1
make: Leaving directory `/home/a_h_ck/issm_project/issm_p'
make: *** Error 2