Re: [OMPI users] compilation with intel fortran compiller problem

2008-01-26 Thread Mostyn Lewis
Yes, Intel 10.0 (and some say 10.1) have this problem with gcc 4.2.X (which it is using) - it works with 4.1.2 as in SuSE SLES 10. A workaround is to include in your flags (CXXFLAGS, presumably), the following: -D "__sync_fetch_and_add(ptr,addend)=_InterlockedExchangeAdd(const_cast(reinterpret_

[OMPI users] compilation with intel fortran compiller problem

2008-01-26 Thread Andrei Neamtu
Hello, I will be quick: I want to compile open-mpi using Intel C, C++, Fortran compillers suite. With Fortran and C compiler it works fine but when I enable C++ Intel compiler got errors. Here is what I done: #define the environmet variables shell> export FC=/opt/intel/fce/10.1.008/bin/ifort s