1. 27 Apr, 2015 1 commit
  2. 30 Jan, 2015 1 commit
    • Lorenz Huedepohl's avatar
      Improve OpenMP detection in configure.ac · 254bd8ef
      Lorenz Huedepohl authored
      Some users where "clever" enough to supply a library in LDFLAGS/LIBS
      thath contained omp_get_num_threads, therefore tricking configure into
      thinking that we do not need any flags to enable OpenMP.
      
      Now the Fortran test only works if "use omp_lib" and "!$" OpenMP
      conditional compilation work.
      
      Also, if no valid OpenMP flag could be detected configure silently
      continued. I changed this to an explicit error.
      254bd8ef
  3. 27 Jan, 2015 1 commit
  4. 13 Jun, 2014 1 commit
  5. 26 May, 2014 1 commit
  6. 26 Feb, 2014 1 commit
    • Andreas Marek's avatar
      ELPA_2013.11.005 Changes in OpenMP detection · c4e3b88c
      Andreas Marek authored
      The Intel Fortran compiler accepts the flag "-fopenmp" for compilation
      with OpenMP. However, the Intel MPI compiler wrapper does not.
      With the Intel compiler, this leads to the fact, that if ELPA is compiled
      with the "-fopenmp" flag a not thread-save version of the Intel MPI
      library is used and the test (with make check) fails.
      
      Intel promised to solve this in the future.
      
      However, for now the problem is solved in the user friendly way that no
      manipulation of the MPI compiler wrappers have to be done:
      
      For detecting the OpenMP compiler flags, instead of the predefined
      macro "AC_OPENMP" of autoconf a modified macro "AX_ELPA_OPENMP"
      is used, which first checks "-openmp" and only then "-fopenmp".
      Thus it is ensured that the Intel compiler (and mpi compiler wrapper)
      does not get confused.
      
      This is invisible for users calling "configure" during the installation
      process.
      c4e3b88c