You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a problem with compiling Grappa with gcc 4.8.3. Here is the output: [ 96%] Building CXX object applications/nativegraph/bfs/CMakeFiles/bfs_spmd.exe.dir/bfs_spmd.cpp.o cd /mnt/lustre/home/frolo/grappa.master/build/Make+Release/applications/nativegraph/bfs && /usr/bin/gcc-4.8 -DENABLE_RDMA_AGGREGATOR -std=c++11 -Winline -Wno-inline -mno-red-zone -O3 -g -DNDEBUG -I/mnt/lustre/home/frolo/grappa.master/build/Make+Release/third-party/include -I/opt/mpich3/include -I/include -I/home/frolo/local/include -I/mnt/lustre/home/frolo/grappa.master/third-party/graph500-generator -I/home/frolo/local/boost_1_59_0/include -I/mnt/lustre/home/frolo/grappa.master/system -I/mnt/lustre/home/frolo/grappa.master/system/tasks -o CMakeFiles/bfs_spmd.exe.dir/bfs_spmd.cpp.o -c /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp: In lambda function: /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable }); ^ /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable make[3]: *** [applications/nativegraph/bfs/CMakeFiles/bfs_spmd.exe.dir/bfs_spmd.cpp.o] Error 1 make[3]: Leaving directory/mnt/lustre/home/frolo/grappa.master/build/Make+Release'
make[2]: *** [applications/nativegraph/bfs/CMakeFiles/bfs_spmd.exe.dir/all] Error 2
make[2]: Leaving directory /mnt/lustre/home/frolo/grappa.master/build/Make+Release' make[1]: *** [applications/nativegraph/bfs/CMakeFiles/bfs_spmd.exe.dir/rule] Error 2 make[1]: Leaving directory/mnt/lustre/home/frolo/grappa.master/build/Make+Release'
make: *** [bfs_spmd.exe] Error 2
`
Is it a problem of the compiler? Whis version of gcc is best to use?
Best,
Alex
The text was updated successfully, but these errors were encountered:
Yes, we changed "async" from a macro to a variable to avoid name conflicts with some other software we were integrating with, and apparently didn't test extensively enough. You can change the code to use the full name "Grappa::SyncMode::Async", or possibly change the definition in Grappa.hpp to be constexpr instead of const. I'd prefer the latter, if it works. If so, maybe you want to send a pull request? If not, we'll get it cleaned up.
Hi, guys!
I've got a problem with compiling Grappa with gcc 4.8.3. Here is the output:
[ 96%] Building CXX object applications/nativegraph/bfs/CMakeFiles/bfs_spmd.exe.dir/bfs_spmd.cpp.o cd /mnt/lustre/home/frolo/grappa.master/build/Make+Release/applications/nativegraph/bfs && /usr/bin/gcc-4.8 -DENABLE_RDMA_AGGREGATOR -std=c++11 -Winline -Wno-inline -mno-red-zone -O3 -g -DNDEBUG -I/mnt/lustre/home/frolo/grappa.master/build/Make+Release/third-party/include -I/opt/mpich3/include -I/include -I/home/frolo/local/include -I/mnt/lustre/home/frolo/grappa.master/third-party/graph500-generator -I/home/frolo/local/boost_1_59_0/include -I/mnt/lustre/home/frolo/grappa.master/system -I/mnt/lustre/home/frolo/grappa.master/system/tasks -o CMakeFiles/bfs_spmd.exe.dir/bfs_spmd.cpp.o -c /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp: In lambda function: /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable }); ^ /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable /mnt/lustre/home/frolo/grappa.master/applications/nativegraph/bfs/bfs_spmd.cpp:144:12: error: ‘Grappa::async’ is not a valid template argument because ‘Grappa::async’ is a variable, not the address of a variable make[3]: *** [applications/nativegraph/bfs/CMakeFiles/bfs_spmd.exe.dir/bfs_spmd.cpp.o] Error 1 make[3]: Leaving directory
/mnt/lustre/home/frolo/grappa.master/build/Make+Release'make[2]: *** [applications/nativegraph/bfs/CMakeFiles/bfs_spmd.exe.dir/all] Error 2
make[2]: Leaving directory
/mnt/lustre/home/frolo/grappa.master/build/Make+Release' make[1]: *** [applications/nativegraph/bfs/CMakeFiles/bfs_spmd.exe.dir/rule] Error 2 make[1]: Leaving directory
/mnt/lustre/home/frolo/grappa.master/build/Make+Release'make: *** [bfs_spmd.exe] Error 2
`
Is it a problem of the compiler? Whis version of gcc is best to use?
Best,
Alex
The text was updated successfully, but these errors were encountered: