scale build error => error: name followed by "::" must be a class or namespace name

81 views
Skip to first unread message

gokhan

unread,
Mar 1, 2020, 7:00:06 PM3/1/20
to SCALE Users Group
Hello,

I am trying to build SCALE 6.2 and getting the following error during make. I was able to compile it a few weeks ago. MPI version: 4.0.0 and 4.0.2 both result in the same error:


[ 65%] Built target SmcLib_TstUniqSortList_Fission
[ 65%] Built target SmcLib_TstUtilityFunctions
[ 65%] Built target SmcLib_TstgetBoundsOfArray_Section
[ 65%] Built target SmcLib_TstgetSortedArray_IDs
[ 65%] Built target SmcLib_TstwriteDiff
Scanning dependencies of target SmcLib_kinematicsDataTesterCXX
[ 65%] Building CXX object packages/SmcLib/tests/CMakeFiles/SmcLib_kinematicsDataTesterCXX.dir/kinematicsDataTester.cpp.o
/usr/local/src/SCALE-6.2-serial-6.2-Source/packages/SmcLib/tests/kinematicsDataTester.cpp(139): error: name followed by "::" must be a class or namespace name
      node  = MPI::COMM_WORLD.Get_rank();
              ^
/usr/local/src/SCALE-6.2-serial-6.2-Source/packages/SmcLib/tests/kinematicsDataTester.cpp(274): error: name followed by "::" must be a class or namespace name
      int node  = MPI::COMM_WORLD.Get_rank();
                  ^
/usr/local/src/SCALE-6.2-serial-6.2-Source/packages/SmcLib/tests/kinematicsDataTester.cpp(333): error: name followed by "::" must be a class or namespace name
      MPI::Init();
      ^
/usr/local/src/SCALE-6.2-serial-6.2-Source/packages/SmcLib/tests/kinematicsDataTester.cpp(334): error: name followed by "::" must be a class or namespace name
      node  = MPI::COMM_WORLD.Get_rank();
              ^
/usr/local/src/SCALE-6.2-serial-6.2-Source/packages/SmcLib/tests/kinematicsDataTester.cpp(335): error: name followed by "::" must be a class or namespace name
      nodes = MPI::COMM_WORLD.Get_size();
              ^
/usr/local/src/SCALE-6.2-serial-6.2-Source/packages/SmcLib/tests/kinematicsDataTester.cpp(424): error: name followed by "::" must be a class or namespace name
      MPI::Finalize ( );
      ^
compilation aborted for /usr/local/src/SCALE-6.2-serial-6.2-Source/packages/SmcLib/tests/kinematicsDataTester.cpp (code 2)
make[2]: *** [packages/SmcLib/tests/CMakeFiles/SmcLib_kinematicsDataTesterCXX.dir/kinematicsDataTester.cpp.o] Error 2
make[1]: *** [packages/SmcLib/tests/CMakeFiles/SmcLib_kinematicsDataTesterCXX.dir/all] Error 2
make: *** [all] Error 2




Thanks for your help in this,

gokhan

Will Wieselquist

unread,
Mar 1, 2020, 7:23:23 PM3/1/20
to SCALE Users Group
Hello Gokhan,

What's different compared to a few weeks ago when you compiled successfully? Is this your first parallel build? 

Best,

Will Wieselquist
SCALE Team


Reply all
Reply to author
Forward
0 new messages