amazon-archives / amazon-dsstne

Deep Scalable Sparse Tensor Network Engine (DSSTNE) is an Amazon developed library for building Deep Learning (DL) machine learning (ML) models
Apache License 2.0
4.41k stars 731 forks source link

Build dsstne in debian9 with incompatible error with netcdf #162

Open qf6101 opened 6 years ago

qf6101 commented 6 years ago

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?

                 from NNTypes.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<char>’ 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
NNTypes.cpp:1635:31: error: no matching function for call to ‘netCDF::exceptions::NcException::NcException(const char [12], std::__cxx11::basic_string<char>, const char [12], int)’
                         throw NcException("NcException", "NNDataSet::WriteNetCDF: Failed to create dataset sparse data variable NetCDF file " + fname, __FILE__, __LINE__);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/ncAtt.h:2:0,
                 from /usr/include/netcdf:7,
                 from NNTypes.h:22,
                 from NNTypes.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<char>’ 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
Makefile:37: recipe for target 'NNTypes.o' failed
make[1]: *** [NNTypes.o] Error 1
make[1]: Leaving directory '/home/recsys/platform/amazon-dsstne/src/amazon/dsstne/engine'
Makefile:13: recipe for target 'lib/libdsstne.a' failed
make: *** [lib/libdsstne.a] Error 2
ekandrotA9 commented 6 years ago

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.

hxtk commented 5 years ago

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 yum, i.e.,

# yum install g++ gcc-c++ atlas-devel openmpi-devel hdf5-devel netcdf-devel jsoncpp-devel cppunit-devel cuda-9-0

If you specify what version of NetCDF is expected, I can install it and see if the problem persists.

Edit: There is only one other release of netcdf-cxx4 (4.2.1). After building that release from source and installing it, all of the build problems related to NetCDF disappeared, although I have yet to successfully complete a build and am continuing to tinker with my environment.

spacelover1 commented 4 years ago

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, 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

scottlegrand commented 4 years ago

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 notifications@github.com 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 segmentino@segmentino:/opt/a

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/amzn/amazon-dsstne/issues/162?email_source=notifications&email_token=AEJUV5V3ZLZKWE2BMF7HLFTRDZNFPA5CNFSM4EXBPR62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMNH5DA#issuecomment-588938892, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJUV5S26NBQAYHVP23YL6DRDZNFPANCNFSM4EXBPR6Q .