[Users] OpenMP collapse directive disabled for C, but enabled for Fortran -- likely an error in the option list

Roland Haas roland.haas at physics.gatech.edu
Sat Jun 15 13:19:06 CDT 2013


Hello Jakob,

> ~/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(455): error:
> expected an expression
>     for (int d=0; d<2*dim; ++d) {
>          ^
These sound as if you are not using C99 but C89. For the intel compiler
you will have to add

-std=c99 -ansi_alias -U__STRICT_ANSI__

to CFLAGS. You can use the file
simfactory/mdb/optionslists/queenbee-mvapich2.cfg as a template for your
own option list. It also uses the intel 11 compiler.

Yours,
Roland

-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20130615/a8b5be3a/attachment.bin 


More information about the Users mailing list