Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › week 46.2016 mpi comlie error: unrecognized command line option “-std=c++11”
- This topic has 6 replies, 2 voices, and was last updated 8 years ago by Anonymous.
-
AuthorPosts
-
-
December 1, 2016 at 10:22 pm #2541Anonymous
Hi,
I am trying to compile weekly build 46.2016 using “./scons.py bin -j3 mode=release extras=mpi” and get this error:
error: unrecognized command line option “-std=c++11”
My gcc and g++ version is 4.8.2 20140120 (Red Hat 4.8.2-15). Any idea why this is happening? Any suggestion is highly appreciated.
Thanks!
-
December 1, 2016 at 10:40 pm #12002Anonymous
While your g++ version may be 4.8.2, the version of your mpi compiler that you’re using probably isn’t. What does `mpicc –version`, `mpiCC –version` and `mpicxx –version` show?
If they give the appropriate version (4., then try copying main/source/tools/build/site.settings.killdevil to main/source/tools/build/site.settings.
If they give you a version number that’s pre-4.8, then you need to talk to your sysadmin to see if you have a version of the mpi compiler which has C++11 support. If one is installed, then you either need to adjust your paths such that’s the one that’s found with the `mpicc –version` (and adjust site.settings as above), or you need to explicitly list which compilers you want to use in main/source/tools/build/user.settings. — See main/source/tools/build/site.settings.csbmpi for an example of how to do it.
-
December 1, 2016 at 10:40 pm #12523Anonymous
While your g++ version may be 4.8.2, the version of your mpi compiler that you’re using probably isn’t. What does `mpicc –version`, `mpiCC –version` and `mpicxx –version` show?
If they give the appropriate version (4., then try copying main/source/tools/build/site.settings.killdevil to main/source/tools/build/site.settings.
If they give you a version number that’s pre-4.8, then you need to talk to your sysadmin to see if you have a version of the mpi compiler which has C++11 support. If one is installed, then you either need to adjust your paths such that’s the one that’s found with the `mpicc –version` (and adjust site.settings as above), or you need to explicitly list which compilers you want to use in main/source/tools/build/user.settings. — See main/source/tools/build/site.settings.csbmpi for an example of how to do it.
-
December 1, 2016 at 10:40 pm #13044Anonymous
While your g++ version may be 4.8.2, the version of your mpi compiler that you’re using probably isn’t. What does `mpicc –version`, `mpiCC –version` and `mpicxx –version` show?
If they give the appropriate version (4., then try copying main/source/tools/build/site.settings.killdevil to main/source/tools/build/site.settings.
If they give you a version number that’s pre-4.8, then you need to talk to your sysadmin to see if you have a version of the mpi compiler which has C++11 support. If one is installed, then you either need to adjust your paths such that’s the one that’s found with the `mpicc –version` (and adjust site.settings as above), or you need to explicitly list which compilers you want to use in main/source/tools/build/user.settings. — See main/source/tools/build/site.settings.csbmpi for an example of how to do it.
-
December 2, 2016 at 12:17 am #12003Anonymous
Thanks very much! Replacing the site.settings with the killdevil did the trick.
-
December 2, 2016 at 12:17 am #12524Anonymous
Thanks very much! Replacing the site.settings with the killdevil did the trick.
-
December 2, 2016 at 12:17 am #13045Anonymous
Thanks very much! Replacing the site.settings with the killdevil did the trick.
-
-
AuthorPosts
- You must be logged in to reply to this topic.