- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I compile a program mpich2 and icc with the following command:
mpicc -cc=icc -openmp testmpi.c
testmpi.c includes the hybrid code (both mpi and openmp)
then i get the following error.
icc: command line error: invalid argument for option '-march'
Where I am running the sample program in Gentoo machine (lenovo N100).
mpicc -cc=icc -openmp testmpi.c
testmpi.c includes the hybrid code (both mpi and openmp)
then i get the following error.
icc: command line error: invalid argument for option '-march'
Where I am running the sample program in Gentoo machine (lenovo N100).
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am moving your question to the Intel C++ forum where you should be able to get help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you'd first need to look at the script that defines the mpicc command to see what options it is providing. icc 10.1 does support the following values for -march=
I note that you are building this code on a laptop - I hope you aren't intending to run MPI code there! My recommendation would be to replace the use of -march= with the appropriate -x switch for the system(s) you'll be running this application on.
- pentium3
- pentium4
- core2
I note that you are building this code on a laptop - I hope you aren't intending to run MPI code there! My recommendation would be to replace the use of -march= with the appropriate -x switch for the system(s) you'll be running this application on.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page