- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I've just installed the latest Intel distribution for Fortran, C++, and MPI (2018/2 version). However i typed "mpicxx" in terminal to check and it gave the following message:
This script invokes an appropriate specialized C++ MPI compiler driver.
The following ways (priority order) can be used for changing default
compiler name (g++):
1. Command line option: -cxx=<compiler_name>
2. Environment variable: I_MPI_CXX (current value '')
3. Environment variable: MPICH_CXX (current value '')
It shouldn't use the intel compiler by default? How do I do that?
Thank you.
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You'll probably need to read the docs anyway; isn't it still called "getting started...."? You're getting more instruction than it used to give. Apparently, you could use mpicxx -cxx=icpc (if on linux) as well as mpiicpc if you want icpc as the compiler. The developers always thought it was important to preserve g++ functioning. What some people have done to lock out g++ is to rename the python scripts (contrary to instructions). As for trying to do without the docs, you'll find that many essential command line options differ among the main MPI implementations; although Intel MPI started out based on mpich1, you'll find differences even there.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You'll probably need to read the docs anyway; isn't it still called "getting started...."? You're getting more instruction than it used to give. Apparently, you could use mpicxx -cxx=icpc (if on linux) as well as mpiicpc if you want icpc as the compiler. The developers always thought it was important to preserve g++ functioning. What some people have done to lock out g++ is to rename the python scripts (contrary to instructions). As for trying to do without the docs, you'll find that many essential command line options differ among the main MPI implementations; although Intel MPI started out based on mpich1, you'll find differences even there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Tim. Yes I guess it is the right thing to do (preserve g++ functioning). Now i saw that there the other options using the Intel compilers by default, as mpiicpc for example. Sorry for the basic question, just getting started with it and nobody close uses these compilers =D
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page