-
Notifications
You must be signed in to change notification settings - Fork 729
Build dsstne in debian9 with incompatible error with netcdf #162
Comments
Thank you for finding this. We have switch DSSTNE to use the built in version of netCDF, etc (ie the ones that come with the OS) rather than having to check out and build the source for each of the libraries. I tried this myself and saw that it doesn't build under the latest Debian. At the time, I thought Debian was the one with the over versions vs Ubuntu - is this not the case... What is odd to me, looking at the pages for each of the OSes, it seems that they are both using the same netCDF version, 1:4.6.1-1 (https://packages.debian.org/source/sid/netcdf and https://launchpad.net/ubuntu/+source/netcdf) It could also be that DSSTNE will not build under the latest Ubuntu? (ie because the versions are the same, but we target 16.04, which is definitely an older Ubuntu) Which version of netCDF does your Debian install? I will try to recreate that build myself and see what can be done to fix it. Summary of my ramblings: It looks like the latest Ubuntu and Debian both use the same netCDF version. I know netCDF has changed things and broke DSSTNE in the past (some check-ins a year-ish to replace API calls that were removed from netCDF, but not documented nor deprecated - only found out because builds stopped working). It is possible that this has happened again, which means that DSSTNE needs to be updated because we are living in the future now, so we need to be compatible with all supported OSes, because we no longer force using the version with APIs that existed when DSSTNE was written. |
I have also encountered this problem. My build environment is CentOS 7, and I installed the NetCDF C++ library from its latest source release (4.3.0 at the time of writing this). Site page link Source link. Edit: I did this because the only version of the C++ bindings in the repository is the legacy version, which hit me with the "not found" error. Other than this, all build dependencies were installed from the standard repositories using
Edit: There is only one other release of |
Hi,
|
It is indeed related to your Ubuntu version, and there' are 3 pull requests
from heng1220 that I think will fix this for you, but no one at Amazon is
willing to accept it so you would have to manually merge them.
Going forward, I am porting DSSTNE's sparse data functionality to PyTorch.
WIthout the ability to keep this software up to date, it will inevitably
bitrot. And since I am no longer at Amazon, there isn't much I can do about
that.
…On Thu, Feb 20, 2020 at 2:43 AM Zeinab ***@***.***> wrote:
Hi,
I'm trying to build DSSTNE using "Setup on your own development machine"
guide, the prerequisite libraries are installed successfully. But after
running make command I get the below errors, same as @qf6101
<https://github.com/qf6101>, by the way I've installed netcdf fortran
individually, but still I get the netcdf error. I'm wondering if it's
because of the version of Ubuntu or I'm doing some steps wrongly.
I'm using Ubuntu 18.04 and system's is GPU RTX 2060.
Any comments would be highly appreciated.
`
NNNetwork.cpp: In function ‘NNNetwork* LoadNeuralNetworkNetCDF(const
string&, uint32_t)’:
NNNetwork.cpp:3789:142: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
ion", "NNNetwork::NNetwork: No version supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3796:138: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
ception", "NNetwork::NNetwork: No name supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3803:138: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
ception", "NNetwork::NNetwork: No kind supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3810:148: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
"NNetwork::NNetwork: No error function supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3825:142: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
ion", "NNetwork::NNetwork: No maxout_k supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3832:139: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
eption", "NNetwork::NNetwork: No LRN_k supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3839:139: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
eption", "NNetwork::NNetwork: No LRN_n supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3846:143: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
on", "NNetwork::NNetwork: No LRN_alpha supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3853:142: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
ion", "NNetwork::NNetwork: No LRN_beta supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3860:152: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
twork::NNetwork: No bSparsenessPenalty supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3869:153: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
work::NNetwork: No sparsenessPenalty_p supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3876:156: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
k::NNetwork: No sparsenessPenalty_beta supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3883:144: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
n", "NNetwork::NNetwork: No bDenoising supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3892:145: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
", "NNetwork::NNetwork: No denoising_p supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3901:148: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
"NNetwork::NNetwork: No deltaBoost_one supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3908:149: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
NNetwork::NNetwork: No deltaBoost_zero supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3916:147: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
"NNetwork::NNetwork: No SMCE_oneScale supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3923:148: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
"NNetwork::NNetwork: No SMCE_zeroScale supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3930:148: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
"NNetwork::NNetwork: No SMCE_oneTarget supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3937:149: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
NNetwork::NNetwork: No SMCE_zeroTarget supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3972:148: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
"NNetwork::NNetwork: No shuffleIndices supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3982:140: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
ption", "NNetwork::NNetwork: No layers supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:3992:150: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
, "NNetwork::NNetwork: Error reading layer data in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:4001:141: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
tion", "NNetwork::NNetwork: No weights supplied in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
/usr/include/ncException.h:29:7: note: candidate:
netCDF::exceptions::NcException::NcException(const
netCDF::exceptions::NcException&)
NcException(const NcException& e) throw();
^~~~~~~~~~~
/usr/include/ncException.h:29:7: note: candidate expects 1 argument, 4
provided
/usr/include/ncException.h:28:7: note: candidate:
netCDF::exceptions::NcException::NcException(int, const char*, const char*,
int)
NcException(int errorCode, const char* complaint,const char* fileName,int
lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:28:7: note: no known conversion for argument 2
from ‘std::__cxx11::basic_string’ to ‘const char*’
/usr/include/ncException.h:27:7: note: candidate:
netCDF::exceptions::NcException::NcException(const char*, const char*, int)
NcException(const char* complaint,const char* fileName,int lineNumber);
^~~~~~~~~~~
/usr/include/ncException.h:27:7: note: candidate expects 3 arguments, 4
provided
NNNetwork.cpp:4011:151: error: no matching function for call to
‘netCDF::exceptions::NcException::NcException(const char [12],
std::__cxx11::basic_string, const char [14], int)’
"NNetwork::NNetwork: Error reading weight data in NetCDF input file " +
fname, *FILE*, *LINE*);
^
In file included from /usr/include/ncAtt.h:2:0,
from /usr/include/netcdf:7,
from NNTypes.h:22,
from NNNetwork.cpp:14:
`
Makefile:58: recipe for target
'/opt/amazon-dsstne/build/tmp/engine/cpp/NNNetwork.o' failed make[1]: ***
[/opt/amazon-dsstne/build/tmp/engine/cpp/NNNetwork.o] Error 1 make[1]:
Leaving directory '/opt/amazon-dsstne/src/amazon/dsstne/engine'
Makefile:13: recipe for target 'engine' failed make: *** [engine] Error 2
***@***.***:/opt/a
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#162>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEJUV5S26NBQAYHVP23YL6DRDZNFPANCNFSM4EXBPR6Q>
.
|
When building dsstne in debian9, I got the following error. The building steps follow exactly the same as in README.md. It seems you are using an old version of netcdf. However it's not easy to rebuild the old version cdfnet as described in Singularity file. Because I have to build an old version hdf5 for netcdf and it was unsuccessfully built in debian9 (not cool at all). Can you please kindly upgrade to the new version netcdf?
The text was updated successfully, but these errors were encountered: