[petsc-users] bluegene make error
Barry Smith
bsmith at mcs.anl.gov
Sun May 16 11:50:08 CDT 2010
Your calling sequence to DAGetArray() isn't correct. Likely you mean to call DAVecGetArray() not DAGetArray().
Barry
On May 16, 2010, at 8:53 AM, (Rebecca) Xuefei YUAN wrote:
> Dear all,
>
> I got a bluegene make error on DAGetArray() and DARestoreArray() as
>
> rebeccaxyf at fen1:~/scratch/linux/May16/twmgoreggt$ make twmgoreggt
> mpixlcxx_r -o twmgoreggt.o -c -qmaxmem=-1 -g -g -+ -I/home/rebeccaxyf/scratch/petsc-dev/arch-bgp-ibm-dbg/include -I/home/rebeccaxyf/scratch/petsc-dev/include -D__INSDIR__= twmgoreggt.c
> "twmgoreggt.c", line 2996.48: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 2996.48: 1540-1205 (I) The error occurred while converting to parameter 2 of "DAGetArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 2997.47: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 2997.47: 1540-1205 (I) The error occurred while converting to parameter 2 of "DAGetArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3042.41: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3042.41: 1540-1205 (I) The error occurred while converting to parameter 2 of "DAGetArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3048.52: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3048.52: 1540-1205 (I) The error occurred while converting to parameter 2 of "DARestoreArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3049.51: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3049.51: 1540-1205 (I) The error occurred while converting to parameter 2 of "DARestoreArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3058.39: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3058.39: 1540-1205 (I) The error occurred while converting to parameter 2 of "DAGetArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3065.57: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3065.57: 1540-1205 (I) The error occurred while converting to parameter 2 of "DAGetArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3066.58: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3066.58: 1540-1205 (I) The error occurred while converting to parameter 2 of "DAGetArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3067.60: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3067.60: 1540-1205 (I) The error occurred while converting to parameter 2 of "DAGetArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3221.61: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3221.61: 1540-1205 (I) The error occurred while converting to parameter 2 of "DARestoreArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3222.62: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3222.62: 1540-1205 (I) The error occurred while converting to parameter 2 of "DARestoreArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3223.64: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3223.64: 1540-1205 (I) The error occurred while converting to parameter 2 of "DARestoreArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3226.39: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3226.39: 1540-1205 (I) The error occurred while converting to parameter 2 of "DAGetArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3387.45: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3387.45: 1540-1205 (I) The error occurred while converting to parameter 2 of "DARestoreArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3388.43: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3388.43: 1540-1205 (I) The error occurred while converting to parameter 2 of "DARestoreArray(DA, PetscTruth, void **)".
> "twmgoreggt.c", line 3389.43: 1540-0256 (S) A parameter of type "PetscTruth" cannot be initialized with an expression of type "PetscDataType".
> "twmgoreggt.c", line 3389.43: 1540-1205 (I) The error occurred while converting to parameter 2 of "DARestoreArray(DA, PetscTruth, void **)".
> make: [twmgoreggt.o] Error 1 (ignored)
> mpixlcxx_r -qmaxmem=-1 -g -g -+ -o twmgoreggt.exe twmgoreggt.o -Wl,-rpath,/home/rebeccaxyf/scratch/petsc-dev/arch-bgp-ibm-dbg/lib -L/home/rebeccaxyf/scratch/petsc-dev/arch-bgp-ibm-dbg/lib -lpetsc -L/opt/share/math_libraries/lapack/ppc64/IBM/ -llapack -lblas -lnsl -lrt -L/bgsys/drivers/V1R4M0_320_2009-090815P/ppc/comm/default/lib -L/bgsys/drivers/V1R4M0_320_2009-090815P/ppc/comm/sys/lib -L/bgsys/drivers/V1R4M0_320_2009-090815P/ppc/runtime/SPI -L/opt/ibmcmp/xlsmp/bg/1.7/bglib -L/opt/ibmcmp/xlmass/bg/4.4/bglib -L/opt/ibmcmp/vac/bg/9.0/bglib -L/opt/ibmcmp/vacpp/bg/9.0/bglib -L/bgsys/drivers/V1R4M0_320_2009-090815P/ppc/gnu-linux/lib/gcc/powerpc-bgp-linux/4.1.2 -L/bgsys/drivers/V1R4M0_320_2009-090815P/ppc/gnu-linux/powerpc-bgp-linux/lib -L/opt/ibmcmp/xlf/bg/11.1/bglib -Wl,-rpath,/opt/ibmcmp/lib/bg/bglib -ldl -Wl,-rpath,/bgsys/drivers/V1R4M0_320_2009-090815P/ppc/comm/default/lib -lmpich.cnk -lopa -Wl,-rpath,/bgsys/drivers/V1R4M0_320_2009-090815P/ppc/comm/sys/lib -ldcmf.cnk -ldcmfcoll.cnk -lpthread -Wl,-rpath,/bgsys/drivers/V1R4M0_320_2009-090815P/ppc/runtime/SPI -lSPI.cna -lrt -lxlopt -lxl -lgcc_eh -lxlf90_r -lxlomp_ser -lxlfmath -lm -lcxxmpich.cnk -libmc++ -lstdc++ -lcxxmpich.cnk -libmc++ -lstdc++ -ldl -lmpich.cnk -lopa -ldcmf.cnk -ldcmfcoll.cnk -lpthread -lSPI.cna -lrt -lxlopt -lxl -lgcc_eh -ldl
> /opt/ibmcmp/vacpp/bg/9.0/bin/bgxlC_r: 1501-228 (W) input file twmgoreggt.o not found
> make: [twmgoreggt] Error 252 (ignored)
> /bin/rm -f twmgoreggt.o
>
> How could I solve this problem?
>
> Thanks a lot!
>
> Rebecca
>
>
>
> --
> (Rebecca) Xuefei YUAN
> Department of Applied Physics and Applied Mathematics
> Columbia University
> Tel:917-399-8032
> www.columbia.edu/~xy2102
>
More information about the petsc-users
mailing list