Thanks Frank,

Yes, adding "-DCCTK_DISABLE_OMP_COLLAPSE" did the trick (unfortunately, as far as I can see, I don't have access to newer compiler other than intel 11.1 on our system).

Unfortunately, that did not bring me very far, next I'm getting a new series of compilation errors, along the lines of this :

~/Cactus/configs/parboil/config-data/cctk_Config.h(220): warning #2011: predefined meaning of "_Pragma" discarded
  #  define _Pragma(x)
            ^

~/Cactus/arrangements/CactusBase/CoordBase/src/Domain.c(410): error: expected an expression
      for (int d=0; d<2*dim; ++d) {
           ^
~/Cactus/arrangements/CactusBase/CoordBase/src/Domain.c(410): error: identifier "d" is undefined
      for (int d=0; d<2*dim; ++d) {
                    ^
~/Cactus/arrangements/CactusBase/CoordBase/src/Domain.c(455): error: expected an expression
    for (int d=0; d<2*dim; ++d) {
         ^

Etc. etc. ..... Any suggestions?

Thanks,
Jakob



2013/6/15 Frank Loeffler <knarf@cct.lsu.edu>
On Sat, Jun 15, 2013 at 02:05:12PM +0900, Jakob Hansen wrote:
> Checking status of thorn MPI
> ~/Cactus/configs/test/config-data/cctk_Config.h(397): catastrophic error:
> #error directive: "OpenMP collapse directive disabled for C, but enabled
> for Fortran -- likely an error in the option list"
>   #    error "OpenMP collapse directive disabled for C, but enabled for
> Fortran -- likely an error in the option list"

Hi Jakob

This message is a bit misleading, and we think about changing it. For
now, adding "-DCCTK_DISABLE_OMP_COLLAPSE" to both CCPFLAGS and FPPFLAGS
should do the trick (or to use newer Intel compilers if you can).

Frank

_______________________________________________
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users