[Users] Another roadblock: error: 'CCTK_COMPLEX32' undeclared
Islam, Tanzima
islam3 at llnl.gov
Wed Feb 11 11:06:22 CST 2015
Hi All,
I reconfigured my environment with the following:
--------------------------------------------------------
gmake cabopenmp F90=mpif90 F77=mpif77 TAR=/bin/tar PATCH=/usr/bin/patch MPI_DIR=/usr/local/tools/mvapich-gnu MPI_INC_DIRS=/usr/local/tools/mvapich-gnu/include MPI_LIB_DIRS=/usr/local/tools/mvapich-gnu/lib MPI_LIBS="mpich psm_infinipath" DISABLE_REAL16=yes
This step fails with the following error messages:
COMPILING arrangements/CactusTest/TestAllTypes/src/initial.c
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c: In function 'TestAllTypes_C':
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:11: error: 'CCTK_COMPLEX32' undeclared (first use in this function)
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:11: error: (Each undeclared identifier is reported only once
Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:11: error: for each function it appears in.)
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:11: error: expected expression before 'restrict'
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:11: error: 'CCTK_REAL16' undeclared (first use in this function)
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:11: error: expected expression before 'restrict'
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:23: error: 'vreal16' undeclared (first use in this function)
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:28: error: 'vcomplex32' undeclared (first use in this function)
/Apps/Cactus-all/Cactus/configs/cabopenmp/build/TestAllTypes/initial.c:28: warning: implicit declaration of function 'CCTK_Cmplx32'
gmake[3]: *** [initial.c.o] Error 1
gmake[2]: *** [make.checked] Error 2
gmake[1]: *** [/Apps/Cactus-all/Cactus/configs/cabopenmp/lib/libthorn_TestAllTypes.a] Error 2
gmake: *** [cabopenmp] Error 2
--------------------------------------------------------
I googled and found that I am supposed to use the "DISABLE_REAL16=yes" flag, which I did. I am not sure what else to do. Any suggestion??
Thanks!
--Tanzima
More information about the Users
mailing list