-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
The code compiled with intel 2017 (tried icpc (ICC) 17.0.4 20170411), however with 2018 (tried icpc (ICC) 18.0.6 20190525). we see the following issue:
~/opt/ZStruct$ make
/usr/local/apps/intel_2018/bin/icpc -qopenmp -I/usr/local/apps/intel_2018/mkl/include -c -g zstruct.cpp
/usr/local/apps/intel_2018/bin/icpc -qopenmp -I/usr/local/apps/intel_2018/mkl/include -c -g main.cpp
/usr/local/apps/intel_2018/bin/icpc -qopenmp -I/usr/local/apps/intel_2018/mkl/include -c -g icoord.cpp
icoord.cpp(1461): error: no suitable conversion function from "std::basic_istream<char, std::char_traits<char>>" to "bool" exists
success=getline(infile, line);
^
icoord.cpp(1472): error: no suitable conversion function from "std::basic_istream<char, std::char_traits<char>>" to "bool" exists
success=getline(infile, line);
^
icoord.cpp(1481): error: no suitable conversion function from "std::basic_istream<char, std::char_traits<char>>" to "bool" exists
success=getline(infile, line);
^
icoord.cpp(1505): error: no suitable conversion function from "std::basic_istream<char, std::char_traits<char>>" to "bool" exists
success=getline(infile, line);
^
icoord.cpp(1506): error: no suitable conversion function from "std::basic_istream<char, std::char_traits<char>>" to "bool" exists
success=getline(infile, line);
^
icoord.cpp(1508): error: no suitable conversion function from "std::basic_istream<char, std::char_traits<char>>" to "bool" exists
success=getline(infile, line);
^
compilation aborted for icoord.cpp (code 2)
Makefile:33: recipe for target 'icoord.o' failed
make: *** [icoord.o] Error 2
Do you know how to fix this? Is there a python alternative to this package?
Metadata
Metadata
Assignees
Labels
No labels